11 references to AccumulatorCount
Microsoft.CodeAnalysis.Workspaces (11)
src\Compilers\Core\Portable\Hashing\XxHash128.cs (4)
185ulong* accumulators = stackalloc ulong[AccumulatorCount]; 193high64: MergeAccumulators(accumulators, secret + SecretLengthBytes - AccumulatorCount * sizeof(ulong) - SecretMergeAccsStartBytes, ~(_state.TotalLength * Prime64_2))); 407ulong* accumulators = stackalloc ulong[AccumulatorCount]; 414high64: MergeAccumulators(accumulators, secret + SecretLengthBytes - AccumulatorCount * sizeof(ulong) - SecretMergeAccsStartBytes, ~(length * Prime64_2)));
src\Compilers\Core\Portable\Hashing\XxHashShared.cs (7)
635for (int i = 0; i < AccumulatorCount / Vector256<ulong>.Count; i++) 647for (int i = 0; i < AccumulatorCount / Vector128<ulong>.Count; i++) 660for (int i = 0; i < AccumulatorCount; i++) 729for (int i = 0; i < AccumulatorCount / Vector256<ulong>.Count; i++) 740for (int i = 0; i < AccumulatorCount / Vector128<ulong>.Count; i++) 752for (int i = 0; i < AccumulatorCount; i++) 816/// <summary>The accumulators. Length is <see cref="AccumulatorCount"/>.</summary>