2 writes to _rgit
Microsoft.ML.StandardTrainers (2)
Standard\SdcaBinary.cs (2)
1219_rgit = new BigArray<long>(prime); 1314_rgit = new BigArray<long>(size);
22 references to _rgit
Microsoft.ML.StandardTrainers (22)
Standard\SdcaBinary.cs (22)
1220_rgit.FillRange(0, _rgit.Length, -1); 1252return (long)((ulong)hash % (ulong)_rgit.Length); 1260Contracts.Assert(0 <= iit && iit < _rgit.Length); 1261long it = _rgit[iit]; 1282Contracts.Assert(0 <= iit && iit < _rgit.Length); 1291_entries.ApplyAt(_count, (long index, ref Entry entry) => { entry = new Entry(_rgit[iit], val); }); 1292_rgit[iit] = _count; 1294if (++_count >= _rgit.Length) 1308Contracts.Assert(size >= _rgit.Length); 1309if (size <= _rgit.Length) 1323_rgit.ApplyRange(0, _rgit.Length, (long index, ref long value) => { value = -1; }); 1329entry = new Entry(_rgit[iit], value); 1330_rgit[iit] = it; 1337Contracts.AssertValue(_rgit); 1338Contracts.Assert(_rgit.Length > 0); 1343Contracts.Assert(_rgit.Length >= _count || _rgit.Length == HashHelpers.MaxPrime); 1350_rgit.ApplyRange(0, _rgit.Length, (long i, ref long value) => { if (value >= 0) c++; }); 1351Console.WriteLine("Table: {0} out of {1}", c, _rgit.Length);