3 writes to _startIndex
Microsoft.ML.Core (3)
Utilities\FixedSizeQueue.cs (3)
82_startIndex = (_startIndex + 1) % _array.Length; 113_startIndex = (_startIndex + 1) % _array.Length; 136_startIndex = 0;
13 references to _startIndex
Microsoft.ML.Core (13)
Utilities\FixedSizeQueue.cs (13)
34Contracts.Assert(0 <= _startIndex && _startIndex < _array.Length); 71return _array[(_startIndex + index) % _array.Length]; 81_array[_startIndex] = item; 82_startIndex = (_startIndex + 1) % _array.Length; 86_array[(_startIndex + _count) % _array.Length] = item; 97return _array[_startIndex]; 104return _array[(_startIndex + _count - 1) % _array.Length]; 111T item = _array[_startIndex]; 112_array[_startIndex] = default(T); 113_startIndex = (_startIndex + 1) % _array.Length; 123int lastIndex = (_startIndex + _count - 1) % _array.Length; 135_array[(_startIndex + i) % _array.Length] = default(T);