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