2 writes to _buffLim
Microsoft.ML.Core (2)
Utilities\TextReaderStream.cs (2)
132
_buffLim
= _encoding.GetBytes("\n", 0, 1, _buff, 0);
142
_buffLim
= _encoding.GetBytes(_line, _lineCur, charCount, _buff, 0);
10 references to _buffLim
Microsoft.ML.Core (10)
Utilities\TextReaderStream.cs (10)
102
/// than <see cref="
_buffLim
"/> (so there are at least some characters), or that
109
if (_eof || _buffCur <
_buffLim
)
111
Contracts.Assert(_buffCur ==
_buffLim
);
134
Contracts.Assert(0 <
_buffLim
&&
_buffLim
<= _buff.Length);
143
Contracts.Assert(0 <
_buffLim
&&
_buffLim
<= _buff.Length);
159
Contracts.Assert(_buffCur <
_buffLim
);
160
int toCopy = Math.Min(count - readCount,
_buffLim
- _buffCur);
174
Contracts.Assert(_eof || _buffCur <
_buffLim
);