10 references to NumStripesPerBlock
Microsoft.CodeAnalysis.CodeStyle (10)
src\Compilers\Core\Portable\Hashing\XxHashShared.cs (10)
278ConsumeStripes(accumulators, ref state.StripesProcessedInCurrentBlock, NumStripesPerBlock, buffer, InternalBufferStripes, secret);
284if (source.Length - sourceIndex > NumStripesPerBlock * StripeLengthBytes)
287Debug.Assert(NumStripesPerBlock >= state.StripesProcessedInCurrentBlock);
290ulong stripesToEnd = NumStripesPerBlock - state.StripesProcessedInCurrentBlock;
299while (stripes >= NumStripesPerBlock)
301Accumulate(accumulators, sourcePtr + sourceIndex, secret, NumStripesPerBlock);
303sourceIndex += NumStripesPerBlock * StripeLengthBytes;
304stripes -= NumStripesPerBlock;
321ConsumeStripes(accumulators, ref state.StripesProcessedInCurrentBlock, NumStripesPerBlock, sourcePtr + sourceIndex, InternalBufferStripes, secret);
381ConsumeStripes(accumulators, ref stripesSoFar, NumStripesPerBlock, buffer, stripes, secret);