6 writes to _state
System.IO.Hashing (6)
System\IO\Hashing\XxHash128.cs (6)
38Initialize(ref _state, (ulong)seed); 44_state = state; 156XxHashShared.Reset(ref _state); 163XxHashShared.Append(ref _state, source); 182CopyAccumulators(ref _state, accumulators); 186DigestLong(ref _state, accumulators, secret);
8 references to _state
System.IO.Hashing (8)
System\IO\Hashing\XxHash128.cs (8)
49public XxHash128 Clone() => new(_state); 178if (_state.TotalLength > MidSizeMaxBytes) 184fixed (byte* secret = _state.Secret) 188low64: MergeAccumulators(accumulators, secret + SecretMergeAccsStartBytes, _state.TotalLength * Prime64_1), 189high64: MergeAccumulators(accumulators, secret + SecretLengthBytes - AccumulatorCount * sizeof(ulong) - SecretMergeAccsStartBytes, ~(_state.TotalLength * Prime64_2))); 194fixed (byte* buffer = _state.Buffer) 196current = HashToHash128(new ReadOnlySpan<byte>(buffer, (int)_state.TotalLength), (long)_state.Seed);