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