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