7 instantiations of Hash128
Microsoft.AspNetCore.Razor.Utilities.Shared (7)
16 references to Hash128
Microsoft.AspNetCore.Razor.Utilities.Shared (16)
Utilities\Hashing\XxHash128.cs (16)
108Hash128 hash = HashToHash128(source, seed);
126Hash128 hash = HashToHash128(source, seed);
131private static Hash128 HashToHash128(ReadOnlySpan<byte> source, long seed = 0)
172Hash128 current = GetCurrentHashAsHash128();
176private Hash128 GetCurrentHashAsHash128()
178Hash128 current;
211Hash128 current = GetCurrentHashAsHash128();
217private static void WriteBigEndian128(in Hash128 hash, Span<byte> destination)
232private static Hash128 HashLength0To16(byte* source, uint length, ulong seed)
255private static Hash128 HashLength1To3(byte* source, uint length, ulong seed)
280private static Hash128 HashLength4To8(byte* source, uint length, ulong seed)
306private static Hash128 HashLength9To16(byte* source, uint length, ulong seed)
332private static Hash128 HashLength17To128(byte* source, uint length, ulong seed)
358private static Hash128 HashLength129To240(byte* source, uint length, ulong seed)
391private static Hash128 HashLengthOver240(byte* source, uint length, ulong seed)
417private static Hash128 AvalancheHash(ulong accLow, ulong accHigh, uint length, ulong seed)