7 instantiations of Hash128
Microsoft.CodeAnalysis.CodeStyle (7)
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)