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)
1272if (_rowsPerBlock == 0) 1278_rowsInLastBlock = _parent.RowCount == 0 ? 0 : (int)(_parent.RowCount % _rowsPerBlock); 1280_rowsInLastBlock = _rowsPerBlock; 1282_numBlocks = checked((int)((_parent.RowCount - 1) / _rowsPerBlock + 1)); 1418int blockSteps = checked((int)((_parent.RowCount - 1) / _rowsPerBlock + 1)); 1425int rows = bi == blockSteps - 1 ? _rowsInLastBlock : _rowsPerBlock; 1585long rowLim = blockIndex * Parent._rowsPerBlock; 2080int correction = _rowsPerBlock - _rowsInLastBlock; 2081long firstPositionToCorrect = ((long)lastBlockIdx * _rowsPerBlock) + _rowsInLastBlock; 2090Ch.Assert(pos / _rowsPerBlock < _blockShuffleOrder.Length); 2091long blockPos = (long)_rowsPerBlock * _blockShuffleOrder[(int)(pos / _rowsPerBlock)]; 2092blockPos += (pos % _rowsPerBlock);