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);
1252
return (long)((ulong)hash % (ulong)
_rgit
.Length);
1260
Contracts.Assert(0 <= iit && iit <
_rgit
.Length);
1261
long it =
_rgit
[iit];
1282
Contracts.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;
1294
if (++_count >=
_rgit
.Length)
1308
Contracts.Assert(size >=
_rgit
.Length);
1309
if (size <=
_rgit
.Length)
1323
_rgit
.ApplyRange(0,
_rgit
.Length, (long index, ref long value) => { value = -1; });
1329
entry = new Entry(
_rgit
[iit], value);
1330
_rgit
[iit] = it;
1337
Contracts.AssertValue(
_rgit
);
1338
Contracts.Assert(
_rgit
.Length > 0);
1343
Contracts.Assert(
_rgit
.Length >= _count ||
_rgit
.Length == HashHelpers.MaxPrime);
1350
_rgit
.ApplyRange(0,
_rgit
.Length, (long i, ref long value) => { if (value >= 0) c++; });
1351
Console.WriteLine("Table: {0} out of {1}", c,
_rgit
.Length);