Skip to content

Instantly share code, notes, and snippets.

Working remotely

Egor Bogatov EgorBo

Working remotely
Block or report user

Report or block EgorBo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
EgorBo / invalid-il-repro.cs
Created Jul 18, 2019
View invalid-il-repro.cs
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Threading;
class Program
static void Main(string[] args)
for (int i = 0; i < 1000; i++)
View so-linux.cs
using System;
using System.Threading;
using System.Threading.Tasks;
namespace ConsoleApp166
class Program
static unsafe void Main(string[] args)
View asserts.cpp
// THIS CODE IS AUTOGENERATED BY SharpieBinder/StructsValidator
#if defined(_MSC_VER) && (defined(_WIN64) || defined(__x86_64__) || defined(__ppc64__)) // generated for x64 only
using namespace Urho3D;
void check_bindings_offsets()
// IntVector2:
EgorBo / sb-marshalling-repro.cs
Created Jun 23, 2019
View sb-marshalling-repro.cs
using System;
using System.Runtime.InteropServices;
using System.Text;
namespace ConsoleApp162
class Program
[DllImport("user32.dll", CharSet = CharSet.Unicode)]
static extern uint CharLowerBuffW([In, Out] StringBuilder lpsz, uint cchLength);
View FindDivisions.cs
using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;
public static class Program
View gssapi_oid.h
/* Generated file */
/* contact Love Hörnquist Åstrand <> for new oid arcs */
* 1.2.752.43.13 Heimdal GSS-API Extentions
extern GSSAPI_LIB_VARIABLE gss_OID_desc __gss_krb5_copy_ccache_x_oid_desc;
#define GSS_KRB5_COPY_CCACHE_X (&__gss_krb5_copy_ccache_x_oid_desc)
View macos.10.15.log
egor-macbook:ttt egorb$ MONO_LOG_LEVEL=debug MONO_LOG_MASK=all csc Program.cs
Mono: Config attempting to parse: '/Library/Frameworks/Mono.framework/Versions/6.5.0/lib/../etc/mono/config'.
Mono: Config attempting to parse: '/Users/egorb/.mono/config'.
Mono: process_set_name: using [/Library/Frameworks/Mono.framework/Versions/6.5.0/lib/mono/4.5/csc.exe] as prog name
Mono: mono_w32handle_new: create Process handle 0x7fc536804608
Mono: Assembly Loader probing location: '/Library/Frameworks/Mono.framework/Versions/6.5.0/lib/mono/4.5/mscorlib.dll'.
Mono: Image addref mscorlib[0x7fc536410e60] (asmctx DEFAULT) -> /Library/Frameworks/Mono.framework/Versions/6.5.0/lib/mono/4.5/mscorlib.dll[0x7fc536815600]: 2
Mono: Prepared to set up assembly 'mscorlib' (/Library/Frameworks/Mono.framework/Versions/6.5.0/lib/mono/4.5/mscorlib.dll)
Mono: AOT: module /Library/Frameworks/Mono.framework/Versions/6.5.0/lib/mono/4.5/mscorlib.dll.dylib wants to load image 0: mscorlib
Mono: Found assembly remapping for mscorlib and was for the s
View vmovups.cs
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;
public class C
static void Main()
Ok(new[] { Vector128.Create(1.0f) });
NotOk(new[] { Vector128.Create(1.0f) });
View FastMathBenchmarks.cs
using System;
using BenchmarkDotNet.Running;
using BenchmarkDotNet.Attributes;
class Program
static void Main(string[] args) => BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args);
public class Case2_DivToMul
View tttt.cs
===============(0) 0.822972=============
Asin: 0.966623
Asinh: 0.75050604
Sin: 0.73317015
Sinh: 0.9190666
Acos: 0.6041733
Acosh: NaN
Cos: 0.68004525
Cosh: 1.3581913
Cbrt: 0.9371196
You can’t perform that action at this time.