3 writes to _next
Microsoft.ML.Data (3)
Utils\SequencePool.cs (3)
55
_next
= new int[10];
91
_next
= new int[Math.Max(_idLim, 10)];
252
Array.Resize(ref
_next
, size);
12 references to _next
Microsoft.ML.Data (12)
Utils\SequencePool.cs (12)
101
_next
[id] = _buckets[i];
136
Contracts.Assert(Math.Max(10, _idLim) <= Utils.Size(
_next
));
159
for (int idCur = GetFirstIdInBucket(hash); idCur >= 0; idCur =
_next
[idCur])
244
Contracts.Assert(_hash.Length >=
_next
.Length);
245
if (_idLim >=
_next
.Length)
247
Contracts.Check(
_next
.Length != Utils.ArrayMaxSize, "Cannot allocate memory for the sequence pool");
248
Contracts.Assert(_idLim ==
_next
.Length);
249
long newSize = (long)
_next
.Length +
_next
.Length / 2;
264
Contracts.Assert(_idLim <
_next
.Length);
268
_next
[_idLim] = _buckets[i];
292
_next
[id] = _buckets[i];