5 writes to _state
Microsoft.AspNetCore.Razor.Utilities.Shared (5)
Utilities\Hashing\XxHash128.cs (5)
43Initialize(ref _state, (ulong)seed); 158XxHashShared.Reset(ref _state); 165XxHashShared.Append(ref _state, source); 184CopyAccumulators(ref _state, accumulators); 188DigestLong(ref _state, accumulators, secret);
7 references to _state
Microsoft.AspNetCore.Razor.Utilities.Shared (7)
Utilities\Hashing\XxHash128.cs (7)
180if (_state.TotalLength > MidSizeMaxBytes) 186fixed (byte* secret = _state.Secret) 190low64: MergeAccumulators(accumulators, secret + SecretMergeAccsStartBytes, _state.TotalLength * Prime64_1), 191high64: MergeAccumulators(accumulators, secret + SecretLengthBytes - AccumulatorCount * sizeof(ulong) - SecretMergeAccsStartBytes, ~(_state.TotalLength * Prime64_2))); 196fixed (byte* buffer = _state.Buffer) 198current = HashToHash128(new ReadOnlySpan<byte>(buffer, (int)_state.TotalLength), (long)_state.Seed);