9 references to ArrayMaxSize
Microsoft.ML.Core (9)
Utilities\BigArray.cs (4)
14
/// <see cref="Utils.
ArrayMaxSize
"/> many entries, up to 0x7FEFFFFF00000L.
35
private const long MaxSize = (long)Utils.
ArrayMaxSize
<< BlockSizeBits;
104
Contracts.Assert(longBlockCount <= Utils.
ArrayMaxSize
);
226
Contracts.Assert(0 < longBlockCount && longBlockCount <= Utils.
ArrayMaxSize
);
Utilities\HybridMemoryStream.cs (4)
52
if (!(0 <= maxLen && maxLen <= Utils.
ArrayMaxSize
))
53
throw Contracts.ExceptParam(nameof(maxLen), "must be in range [0,{0}]", Utils.
ArrayMaxSize
);
72
if (!(0 <= maxLen && maxLen <= Utils.
ArrayMaxSize
))
73
throw Contracts.ExceptParam(nameof(maxLen), "must be in range [0,{0}]", Utils.
ArrayMaxSize
);
Utilities\Utils.cs (1)
925
return EnsureSize(ref array, min, Utils.
ArrayMaxSize
, keepOld);