6 writes to _state
System.IO.Hashing (6)
System\IO\Hashing\XxHash3.cs (6)
37Initialize(ref _state, (ulong)seed); 43_state = state; 154XxHashShared.Reset(ref _state); 161XxHashShared.Append(ref _state, source); 183CopyAccumulators(ref _state, accumulators); 187DigestLong(ref _state, accumulators, secret);
7 references to _state
System.IO.Hashing (7)
System\IO\Hashing\XxHash3.cs (7)
48public XxHash3 Clone() => new(_state); 179if (_state.TotalLength > MidSizeMaxBytes) 185fixed (byte* secret = _state.Secret) 188current = MergeAccumulators(accumulators, secret + SecretMergeAccsStartBytes, _state.TotalLength * Prime64_1); 193fixed (byte* buffer = _state.Buffer) 195current = HashToUInt64(new ReadOnlySpan<byte>(buffer, (int)_state.TotalLength), (long)_state.Seed);