2 writes to _buffer
Microsoft.ML.Transforms (2)
Expression\TokenCursor.cs (2)
42
_buffer
= new Token[0x0400];
125
Array.Resize(ref
_buffer
, 2 * _buffer.Length);
13 references to _buffer
Microsoft.ML.Transforms (13)
Expression\TokenCursor.cs (13)
48
_tokCur =
_buffer
[_itokCur];
57
Contracts.AssertValue(
_buffer
);
60
Contracts.Assert(0 <= _itokCur && _itokCur < _itokLim && _itokLim <=
_buffer
.Length);
63
Contracts.Assert((_tokens != null) == (
_buffer
[_itokLim - 1].Kind != TokKind.Eof));
66
Contracts.Assert(_tokCur ==
_buffer
[_itokCur]);
104
if (_itokLim >=
_buffer
.Length)
115
_buffer
[itokDst++] =
_buffer
[itokSrc++];
125
Array.Resize(ref _buffer, 2 *
_buffer
.Length);
135
Contracts.Assert(_itokLim <
_buffer
.Length);
144
Token tok =
_buffer
[_itokLim++] = _tokens.Current;
167
_tokCur =
_buffer
[_itokCur];
193
return
_buffer
[_itokCur + ditok];