7 instantiations of Hash128
Microsoft.CodeAnalysis.CodeStyle (7)
src\Compilers\Core\Portable\Hashing\XxHash128.cs (7)
191current = new Hash128( 253return new Hash128(XxHash64.Avalanche(seed ^ BitFlipL), XxHash64.Avalanche(seed ^ BitFlipH)); 278return new Hash128(XxHash64.Avalanche(keyedLo), XxHash64.Avalanche(keyedHi)); 304return new Hash128(m128Low, m128High); 331return new Hash128(h128Low, h128High); 412return new Hash128( 427return new Hash128(h128Low, h128High);
14 references to Hash128
Microsoft.CodeAnalysis.CodeStyle (14)
src\Compilers\Core\Portable\Hashing\XxHash128.cs (14)
110Hash128 hash = HashToHash128(source, seed); 133private static Hash128 HashToHash128(ReadOnlySpan<byte> source, long seed = 0) 174Hash128 current = GetCurrentHashAsHash128(); 178private Hash128 GetCurrentHashAsHash128() 180Hash128 current; 219private static void WriteBigEndian128(in Hash128 hash, Span<byte> destination) 234private static Hash128 HashLength0To16(byte* source, uint length, ulong seed) 257private static Hash128 HashLength1To3(byte* source, uint length, ulong seed) 282private static Hash128 HashLength4To8(byte* source, uint length, ulong seed) 308private static Hash128 HashLength9To16(byte* source, uint length, ulong seed) 334private static Hash128 HashLength17To128(byte* source, uint length, ulong seed) 360private static Hash128 HashLength129To240(byte* source, uint length, ulong seed) 393private static Hash128 HashLengthOver240(byte* source, uint length, ulong seed) 419private static Hash128 AvalancheHash(ulong accLow, ulong accHigh, uint length, ulong seed)