./run.sh [sr|pp|all] [--local-only] [osu|taiko|catch|mania] [osu|taiko|catch|mania]
^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
arg:mode opt:local-only arg:ruleset (one-or-more)
This file contains 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
{ | |
"microsoft.net.sdk.ios": "17.2.8053/8.0.100" | |
} |
This file contains 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
diff --git a/ui/input-linux.c b/ui/input-linux.c | |
index 9720333..abb4e04 100644 | |
--- a/ui/input-linux.c | |
+++ b/ui/input-linux.c | |
@@ -335,12 +335,6 @@ static void input_linux_complete(UserCreatable *uc, Error **errp) | |
} | |
qemu_set_fd_handler(il->fd, input_linux_event, NULL, il); | |
- if (il->keycount) { | |
- /* delay grab until all keys are released */ |
This file contains 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.Diagnostics.CodeAnalysis; | |
using System.Runtime.InteropServices; | |
// Works if you uncomment this line. | |
Console.WriteLine(Marshal.OffsetOf(typeof(Struct), nameof(Struct.A))); | |
// Fails if the above line is commented. | |
method(typeof(Struct)); | |
return; |
This file contains 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
// Copyright (c) ppy Pty Ltd <[email protected]>. Licensed under the MIT Licence. | |
// See the LICENCE file in the repository root for full licence text. | |
using System.Threading.Tasks; | |
using BenchmarkDotNet.Attributes; | |
namespace BenchmarksProject | |
{ | |
public class BenchmarkFalseSharing | |
{ |
This file contains 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
DrawFrame(); | |
void DrawFrame() | |
{ | |
DrawNode root = new CompositeDrawNode(0) | |
{ | |
Children = | |
{ | |
new DrawNode(1), | |
new BufferedDrawNode(2, new CompositeDrawNode(3) |
This file contains 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; | |
public class C { | |
public void M(object obj) { | |
if (obj == null) | |
throw new ArgumentNullException("obj"); | |
} | |
public void N(object obj) { | |
if (obj == null) | |
throw new ArgumentNullException(nameof(obj)); |
This file contains 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
/* | |
* Copyright (C) 1999-2001 Brian Paul All Rights Reserved. | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a | |
* copy of this software and associated documentation files (the "Software"), | |
* to deal in the Software without restriction, including without limitation | |
* the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
* and/or sell copies of the Software, and to permit persons to whom the | |
* Software is furnished to do so, subject to the following conditions: | |
* |
This file contains 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
// Copyright (c) ppy Pty Ltd <[email protected]>. Licensed under the MIT Licence. | |
// See the LICENCE file in the repository root for full licence text. | |
using System; | |
using System.Runtime.CompilerServices; | |
using BenchmarkDotNet.Attributes; | |
namespace BenchmarksProject | |
{ | |
[MemoryDiagnoser] |
This file contains 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
#!/bin/bash | |
git clone -b gc-testing https://github.com/smoogipoo/osu | |
cd osu | |
git checkout d714f8297d2d05d256d099092c71f69400c7f1e9 | |
cd osu.Game.Rulesets.Osu.Tests | |
dotnet publish -c:Release -r:linux-x64 |
NewerOlder