Skip to content

Instantly share code, notes, and snippets.

View Mrnikbobjeff's full-sized avatar

Niklas Schilli Mrnikbobjeff

View GitHub Profile
create table Users(
user_id INT NOT NULL AUTO_INCREMENT,
user_name VARCHAR(40) NOT NULL,
PRIMARY KEY ( user_id )
);
create table Documents(
doc_id INT NOT NULL AUTO_INCREMENT,
originalname VARCHAR(400) NOT NULL,
[MethodImpl(MethodImplOptions.AggressiveOptimization)]
public unsafe static int GreaterThanSimd_Avx2_u(int boundary,ref ReadOnlySpan<int> array)
{
Vector128<int> xmm1 = Vector128.Create(boundary);
Vector128<int> xmm2 = Vector128<int>.Zero;
Vector128<int> xmm3;
Vector128<int> xmm4;
ref int start = ref MemoryMarshal.GetReference(array);
for (nuint i = 0; i < (nuint)array.Length; i += 4)
using Microsoft.Graph.Models;
using System.Globalization;
namespace MsGraph.Reproduction;
public class MsGraphReproduction
{
[Fact]
public void ZonedDateTime_Maps_Time_UTC()
{