7 instantiations of Hash128
System.IO.Hashing (7)
System\IO\Hashing\XxHash128.cs (7)
184current = new Hash128( 246return new Hash128(XxHash64.Avalanche(seed ^ BitFlipL), XxHash64.Avalanche(seed ^ BitFlipH)); 271return new Hash128(XxHash64.Avalanche(keyedLo), XxHash64.Avalanche(keyedHi)); 297return new Hash128(m128Low, m128High); 324return new Hash128(h128Low, h128High); 405return new Hash128( 420return new Hash128(h128Low, h128High);
16 references to Hash128
System.IO.Hashing (16)
System\IO\Hashing\XxHash128.cs (16)
103Hash128 hash = HashToHash128(source, seed); 121Hash128 hash = HashToHash128(source, seed); 126private static Hash128 HashToHash128(ReadOnlySpan<byte> source, long seed = 0) 167Hash128 current = GetCurrentHashAsHash128(); 171private Hash128 GetCurrentHashAsHash128() 173Hash128 current; 206Hash128 current = GetCurrentHashAsHash128(); 212private static void WriteBigEndian128(in Hash128 hash, Span<byte> destination) 227private static Hash128 HashLength0To16(byte* source, uint length, ulong seed) 250private static Hash128 HashLength1To3(byte* source, uint length, ulong seed) 275private static Hash128 HashLength4To8(byte* source, uint length, ulong seed) 301private static Hash128 HashLength9To16(byte* source, uint length, ulong seed) 327private static Hash128 HashLength17To128(byte* source, uint length, ulong seed) 353private static Hash128 HashLength129To240(byte* source, uint length, ulong seed) 386private static Hash128 HashLengthOver240(byte* source, uint length, ulong seed) 412private static Hash128 AvalancheHash(ulong accLow, ulong accHigh, uint length, ulong seed)