5 writes to _state
Microsoft.CodeAnalysis (5)
Hashing\XxHash128.cs (5)
45Initialize(ref _state, (ulong)seed); 160XxHashShared.Reset(ref _state); 167XxHashShared.Append(ref _state, source); 186CopyAccumulators(ref _state, accumulators); 190DigestLong(ref _state, accumulators, secret);
7 references to _state
Microsoft.CodeAnalysis (7)
Hashing\XxHash128.cs (7)
182if (_state.TotalLength > MidSizeMaxBytes) 188fixed (byte* secret = _state.Secret) 192low64: MergeAccumulators(accumulators, secret + SecretMergeAccsStartBytes, _state.TotalLength * Prime64_1), 193high64: MergeAccumulators(accumulators, secret + SecretLengthBytes - AccumulatorCount * sizeof(ulong) - SecretMergeAccsStartBytes, ~(_state.TotalLength * Prime64_2))); 198fixed (byte* buffer = _state.Buffer) 200current = HashToHash128(new ReadOnlySpan<byte>(buffer, (int)_state.TotalLength), (long)_state.Seed);