26 references to Length
Microsoft.ML.Core (6)
Utilities\BigArray.cs (6)
19/// can be retrieved from the <see cref="Length"/> property, which can possibly be strictly less 200/// If <paramref name="newLength"/> equals <see cref="Length"/>, then no operation is done. 201/// If <paramref name="newLength"/> is less than <see cref="Length"/>, the array shrinks in size 203/// If <paramref name="newLength"/> is larger than <see cref="Length"/>, the array capacity grows 390Contracts.Assert(idx <= Length && length <= Length - idx);
Microsoft.ML.Data (2)
DataView\CacheDataView.cs (2)
1374_indexBoundaries[rowCount] = _indices.Length; 1375_valueBoundaries[rowCount] = _values.Length;
Microsoft.ML.StandardTrainers (18)
Standard\SdcaBinary.cs (18)
1085public override long Length => _duals.Length; 1220_rgit.FillRange(0, _rgit.Length, -1); 1252return (long)((ulong)hash % (ulong)_rgit.Length); 1260Contracts.Assert(0 <= iit && iit < _rgit.Length); 1282Contracts.Assert(0 <= iit && iit < _rgit.Length); 1284if (_count >= _entries.Length) 1286Contracts.Assert(_count == _entries.Length); 1290Contracts.Assert(_count < _entries.Length); 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; }); 1338Contracts.Assert(_rgit.Length > 0); 1339Contracts.Assert(0 <= _count && _count <= _entries.Length); 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);