2 writes to _rowsPerBlock
Microsoft.ML.Data (2)
DataLoadSave\Binary\BinaryLoader.cs (2)
1271
_rowsPerBlock
= _parent._rowsPerBlock;
1276
_rowsPerBlock
= int.MaxValue;
13 references to _rowsPerBlock
Microsoft.ML.Data (13)
DataLoadSave\Binary\BinaryLoader.cs (13)
1272
if (
_rowsPerBlock
== 0)
1278
_rowsInLastBlock = _parent.RowCount == 0 ? 0 : (int)(_parent.RowCount %
_rowsPerBlock
);
1280
_rowsInLastBlock =
_rowsPerBlock
;
1282
_numBlocks = checked((int)((_parent.RowCount - 1) /
_rowsPerBlock
+ 1));
1418
int blockSteps = checked((int)((_parent.RowCount - 1) /
_rowsPerBlock
+ 1));
1425
int rows = bi == blockSteps - 1 ? _rowsInLastBlock :
_rowsPerBlock
;
1585
long rowLim = blockIndex * Parent.
_rowsPerBlock
;
2080
int correction =
_rowsPerBlock
- _rowsInLastBlock;
2081
long firstPositionToCorrect = ((long)lastBlockIdx *
_rowsPerBlock
) + _rowsInLastBlock;
2090
Ch.Assert(pos /
_rowsPerBlock
< _blockShuffleOrder.Length);
2091
long blockPos = (long)
_rowsPerBlock
* _blockShuffleOrder[(int)(pos /
_rowsPerBlock
)];
2092
blockPos += (pos %
_rowsPerBlock
);