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