This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.IO; | |
using Avalonia; | |
using Avalonia.Automation; | |
using Avalonia.Automation.Peers; | |
using Avalonia.Controls; | |
using Avalonia.Controls.Automation.Peers; | |
using Avalonia.Media; | |
using Avalonia.Media.Imaging; | |
using Avalonia.Metadata; | |
using Avalonia.Platform; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Text.RegularExpressions; | |
SchemaObject nitroxSavesSchema = | |
[ | |
new("saves", [ | |
new(".*", [ | |
"EntityData.json", | |
"GlobalRootData.json", | |
"PlayerData.json", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Concurrent; | |
using BenchmarkDotNet.Attributes; | |
using BenchmarkDotNet.Running; | |
public class Program | |
{ | |
private static readonly ConcurrentBag<int> bag = new(); | |
public static void Main(string[] args) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using BenchmarkDotNet.Attributes; | |
using BenchmarkDotNet.Running; | |
BenchmarkRunner.Run<EnumBenchmark>(); | |
public enum FreezeTimeEnum | |
{ | |
None, | |
Quit, | |
WaitScreen, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using BenchmarkDotNet.Attributes; | |
using BenchmarkDotNet.Running; | |
BenchmarkRunner.Run<SuppressBench>(); | |
public abstract class Packet | |
{ | |
} | |
public readonly struct StructSuppressor<T> : IDisposable |