2 writes to _rgit
Microsoft.ML.Core (2)
Utilities\HashArray.cs (2)
52_rgit = new int[HashHelpers.Primes[0]]; 184_rgit = new int[size];
22 references to _rgit
Microsoft.ML.Core (22)
Utilities\HashArray.cs (22)
53for (int i = 0; i < _rgit.Length; i++) 54_rgit[i] = -1; 62Contracts.AssertValue(_rgit); 63Contracts.AssertNonEmpty(_rgit); 69Contracts.Assert(Utils.Size(_rgit) >= _ct || Utils.Size(_rgit) == HashHelpers.MaxPrimeArrayLength); 74return (int)((uint)hash % _rgit.Length); 100Contracts.Assert(0 <= iit && iit < _rgit.Length); 101int it = _rgit[iit]; 151Contracts.Assert(0 <= iit && iit < _rgit.Length); 161_entries[_ct].ItNext = _rgit[iit]; 162_rgit[iit] = _ct; 164if (++_ct >= _rgit.Length) 178Contracts.Assert(size >= _rgit.Length); 179if (size <= _rgit.Length) 208for (int i = 0; i < _rgit.Length; i++) 209_rgit[i] = -1; 214_entries[it].ItNext = _rgit[iit]; 215_rgit[iit] = it; 223for (int i = 0; i < _rgit.Length; i++) 225if (_rgit[i] >= 0) 228Console.WriteLine("Table: {0} out of {1}", c, _rgit.Length);