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
390
Contracts.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)
1085
public override long Length => _duals.
Length
;
1220
_rgit.FillRange(0, _rgit.
Length
, -1);
1252
return (long)((ulong)hash % (ulong)_rgit.
Length
);
1260
Contracts.Assert(0 <= iit && iit < _rgit.
Length
);
1282
Contracts.Assert(0 <= iit && iit < _rgit.
Length
);
1284
if (_count >= _entries.
Length
)
1286
Contracts.Assert(_count == _entries.
Length
);
1290
Contracts.Assert(_count < _entries.
Length
);
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; });
1338
Contracts.Assert(_rgit.
Length
> 0);
1339
Contracts.Assert(0 <= _count && _count <= _entries.
Length
);
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
);