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