9 references to MaxCapacity
Microsoft.Data.Analysis (8)
DataFrameColumns\VBufferDataFrameColumn.cs (8)
31
int numberOfBuffersRequired = (int)(length /
MaxCapacity
+ 1);
34
int bufferLen = (int)Math.Min(
MaxCapacity
, length - _vBuffers.Count *
MaxCapacity
);
73
if (lastBuffer.Count ==
MaxCapacity
)
89
return (int)(rowIndex /
MaxCapacity
);
100
return _vBuffers[bufferIndex][(int)(rowIndex %
MaxCapacity
)];
107
int bufferOffset = (int)(startIndex %
MaxCapacity
);
139
_vBuffers[bufferIndex][(int)(rowIndex %
MaxCapacity
)] = value;
Microsoft.Data.Analysis.Tests (1)
VBufferColumnTests.cs (1)
54
var length = VBufferDataFrameColumn<int>.
MaxCapacity
+ 3;