11 references to Size
Microsoft.ML.DataView (11)
src\Microsoft.ML.Core\Utilities\ArrayUtils.cs (1)
82
int size = ArrayUtils.
Size
(array);
VBuffer.cs (9)
118
Contracts.CheckParam(ArrayUtils.
Size
(values) >= length, nameof(values));
146
Contracts.CheckParam(ArrayUtils.
Size
(values) >= count, nameof(values));
147
Contracts.CheckParam(count == length || ArrayUtils.
Size
(indices) >= count, nameof(indices));
323
Contracts.CheckParam(0 <= length && length <= ArrayUtils.
Size
(source), nameof(length));
324
Contracts.CheckParam(0 <= sourceIndex && sourceIndex <= ArrayUtils.
Size
(source) - length, nameof(sourceIndex));
473
Debug.Assert(0 <= count && count <= ArrayUtils.
Size
(values));
475
Debug.Assert(count == length || count <= ArrayUtils.
Size
(indices));
507
Debug.Assert(0 <= count && count <= ArrayUtils.
Size
(values));
509
Debug.Assert(count == length || count <= ArrayUtils.
Size
(indices));
VectorType.cs (1)
62
Contracts.CheckParam(ArrayUtils.
Size
(dimensions) > 0, nameof(dimensions));