3 writes to _mask
Microsoft.ML.Data (3)
Utils\SequencePool.cs (3)
52_mask = 31; 86_mask = (1 << ibit) - 1; 287_mask = size - 1;
6 references to _mask
Microsoft.ML.Data (6)
Utils\SequencePool.cs (6)
53_buckets = Utils.CreateArray<int>(_mask + 1, -1); 88_buckets = Utils.CreateArray<int>(_mask + 1, -1); 131Contracts.Assert(_buckets.Length == _mask + 1); 132Contracts.Assert(Utils.IsPowerOfTwo(_mask + 1)); 143return _buckets[(int)hash & _mask]; 148return (int)hash & _mask;