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; | |
using System.Diagnostics; | |
using System.Reflection.Emit; | |
using System.Runtime.InteropServices; | |
using System.Security; | |
namespace TestPerf | |
{ | |
public class Benchmark | |
{ |
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; | |
namespace SelfDescribeMe | |
{ | |
class Program | |
{ | |
static void Main() | |
{ | |
var random = new Random(); // Random number generator |
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
Acrocephalus paludicola Insufficient 64.1 Insufficient Insufficient Insufficient 11.53 Insufficient Insufficient | |
Stercorarius parasiticus 328.9 Insufficient Insufficient Insufficient 416.4 Insufficient Insufficient Insufficient | |
Sterna paradisaea 272.7 245.9 Insufficient Insufficient 103.8 106.0 Insufficient Insufficient | |
Recurvirostra avosetta Insufficient Insufficient Insufficient Insufficient Insufficient Insufficient Insufficient Insufficient | |
Tyto alba 292.2 289.0 292.3 292.2 337.3 313.3 311.5 354.3 | |
Branta leucopsis 411.2 396.8 421.1 399.9 1.83 1.70 1.93 1.72 | |
Sylvia nisoria Insufficient 88.2 Insufficient Insufficient Insufficient 24.67 Insufficient Insufficient | |
Limosa lapponica <font 212.5 225.7 277.9 331.0 | |
Anser fabalis Insufficient Insufficient Insufficient Insufficient Insufficient Insufficient Insufficient Insufficient | |
Panurus biarmicus 59.8 55.7 60.7 58.8 15.13 13.90 15.31 14.93 |
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; | |
using System.IO; | |
using System.Net; | |
using Theraot.Core; | |
namespace AWDC | |
{ | |
internal class Program | |
{ | |
private static void Main() |
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
// Note: Code For LinqPad | |
void Main() | |
{ | |
bool TryGetCoordinates(string cell, out int indexRow, out int indexCol) | |
{ | |
indexRow = -1; | |
indexCol = -1; | |
if (cell == null) | |
{ |
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
<?php | |
/** | |
* CC-BY 3.0 Alfonso J. Ramos (theraot) | |
* Parser | |
*/ | |
final class Parser | |
{ | |
//------------------------------------------------------------ | |
// Private (Class) | |
//------------------------------------------------------------ |
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
<?php | |
/** | |
* CC-BY 3.0 Alfonso J. Ramos (theraot) | |
* UTF8 | |
*/ | |
final class UTF8 | |
{ | |
//------------------------------------------------------------ | |
// Private (Class) | |
//------------------------------------------------------------ |
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; | |
using System.Collections.Generic; | |
public class Program | |
{ | |
public static void Main() | |
{ | |
// This is based on an old test from Mono | |
Console.WriteLine("Hello World"); | |
var trio = new SortedSet<int> { 0, 1, 2 }; |
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
#r "nuget:Theraot.Core/3.0.3" | |
// This file is for RoslynPad | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using Theraot.Core; |
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; | |
using System.Collections.Generic; | |
using System.Linq; | |
class Program | |
{ | |
public static void Main() | |
{ | |
var encoded = LEB128.EncodeSignedLeb128FromInt32(624485); | |
var str = string.Concat(encoded.Select(entry => entry.ToString("X"))); |
OlderNewer