3 writes to _buckets
Microsoft.ML.Data (3)
Utils\SequencePool.cs (3)
53
_buckets
= Utils.CreateArray<int>(_mask + 1, -1);
88
_buckets
= Utils.CreateArray<int>(_mask + 1, -1);
286
_buckets
= Utils.CreateArray<int>(size, -1);
11 references to _buckets
Microsoft.ML.Data (11)
Utils\SequencePool.cs (11)
101
_next[id] =
_buckets
[i];
102
_buckets
[i] = id;
130
Contracts.AssertValue(
_buckets
);
131
Contracts.Assert(
_buckets
.Length == _mask + 1);
143
return
_buckets
[(int)hash & _mask];
268
_next[_idLim] =
_buckets
[i];
270
_buckets
[i] = _idLim;
275
if (_idLim >=
_buckets
.Length)
285
int size = checked(2 *
_buckets
.Length);
292
_next[id] =
_buckets
[i];
293
_buckets
[i] = id;