5 writes to _state
System.IO.Hashing (5)
System\IO\Hashing\XxHash128.cs (5)
38Initialize(ref _state, (ulong)seed); 153XxHashShared.Reset(ref _state); 160XxHashShared.Append(ref _state, source); 179CopyAccumulators(ref _state, accumulators); 183DigestLong(ref _state, accumulators, secret);
7 references to _state
System.IO.Hashing (7)
System\IO\Hashing\XxHash128.cs (7)
175if (_state.TotalLength > MidSizeMaxBytes) 181fixed (byte* secret = _state.Secret) 185low64: MergeAccumulators(accumulators, secret + SecretMergeAccsStartBytes, _state.TotalLength * Prime64_1), 186high64: MergeAccumulators(accumulators, secret + SecretLengthBytes - AccumulatorCount * sizeof(ulong) - SecretMergeAccsStartBytes, ~(_state.TotalLength * Prime64_2))); 191fixed (byte* buffer = _state.Buffer) 193current = HashToHash128(new ReadOnlySpan<byte>(buffer, (int)_state.TotalLength), (long)_state.Seed);