2 writes to TotalLength
System.IO.Hashing (2)
System\IO\Hashing\XxHashShared.cs (2)
183
state.
TotalLength
= 0;
244
state.
TotalLength
+= (uint)source.Length;
7 references to TotalLength
System.IO.Hashing (7)
System\IO\Hashing\XxHash128.cs (4)
175
if (_state.
TotalLength
> MidSizeMaxBytes)
185
low64: MergeAccumulators(accumulators, secret + SecretMergeAccsStartBytes, _state.
TotalLength
* Prime64_1),
186
high64: MergeAccumulators(accumulators, secret + SecretLengthBytes - AccumulatorCount * sizeof(ulong) - SecretMergeAccsStartBytes, ~(_state.
TotalLength
* Prime64_2)));
193
current = HashToHash128(new ReadOnlySpan<byte>(buffer, (int)_state.
TotalLength
), (long)_state.Seed);
System\IO\Hashing\XxHash3.cs (3)
176
if (_state.
TotalLength
> MidSizeMaxBytes)
185
current = MergeAccumulators(accumulators, secret + SecretMergeAccsStartBytes, _state.
TotalLength
* Prime64_1);
192
current = HashToUInt64(new ReadOnlySpan<byte>(buffer, (int)_state.
TotalLength
), (long)_state.Seed);