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