2 writes to _rgv
Microsoft.ML.Core (2)
Utilities\Heap.cs (2)
231_rgv = new List<T>(); 249_rgv = new List<T>(capacity);
22 references to _rgv
Microsoft.ML.Core (22)
Utilities\Heap.cs (22)
232_rgv.Add(default(T)); 250_rgv.Add(default(T)); 260Contracts.AssertValue(_rgv); 261Contracts.Assert(_rgv.Count > 0); 283return _rgv.Count - 1; 305_rgv[iv] = v; 311Contracts.Assert(0 < index && index < _rgv.Count); 312var result = _rgv[index]; 323int cv = _rgv.Count; 329_rgv.RemoveRange(1, cv - 1); 341if (_rgv.Count <= 1) 354int iv = _rgv.Count - 1; 361_rgv.RemoveAt(iv); 365_rgv.RemoveAt(1); 383int iv = _rgv.Count; 384_rgv.Add(item); 403int ivSrc = _rgv.Count - 1; 409_rgv.RemoveAt(ivSrc); 413_rgv.RemoveAt(ivDst); 421Contracts.Assert(0 < iv && iv < _rgv.Count); 432Contracts.Assert(0 < iv && iv < _rgv.Count); 434int cv = _rgv.Count;