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