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);
131
Contracts.Assert(_buckets.Length ==
_mask
+ 1);
132
Contracts.Assert(Utils.IsPowerOfTwo(
_mask
+ 1));
143
return _buckets[(int)hash &
_mask
];
148
return (int)hash &
_mask
;