2 writes to TotalLength
Microsoft.AspNetCore.Razor.Utilities.Shared (2)
Utilities\Hashing\XxHashShared.cs (2)
187
state.
TotalLength
= 0;
252
state.
TotalLength
+= (uint)source.Length;
4 references to TotalLength
Microsoft.AspNetCore.Razor.Utilities.Shared (4)
Utilities\Hashing\XxHash128.cs (4)
180
if (_state.
TotalLength
> MidSizeMaxBytes)
190
low64: MergeAccumulators(accumulators, secret + SecretMergeAccsStartBytes, _state.
TotalLength
* Prime64_1),
191
high64: MergeAccumulators(accumulators, secret + SecretLengthBytes - AccumulatorCount * sizeof(ulong) - SecretMergeAccsStartBytes, ~(_state.
TotalLength
* Prime64_2)));
198
current = HashToHash128(new ReadOnlySpan<byte>(buffer, (int)_state.
TotalLength
), (long)_state.Seed);