4 writes to _buffer
Microsoft.ML.Tokenizers (4)
Utils\Vec.cs (4)
32_buffer = null; 38_buffer = new T[capacity]; 48_buffer = new T[DefaultCapacity]; 56Array.Resize(ref _buffer, _buffer.Length << 1);
11 references to _buffer
Microsoft.ML.Tokenizers (11)
Utils\Vec.cs (11)
25return ref _buffer![index]; 41public int Capacity => _buffer is null ? 0 : _buffer.Length; 46if (_buffer is null) 49_buffer[0] = t; 54if (_buffer.Length <= _count) 56Array.Resize(ref _buffer, _buffer.Length << 1); 59_buffer[_count++] = t; 64if (index >= _count || _buffer is null) 71_buffer[i] = _buffer[i + 1];