4 writes to _count
Microsoft.ML.Core (4)
Utilities\FixedSizeQueue.cs (4)
87_count++; 114_count--; 126_count--; 137_count = 0;
14 references to _count
Microsoft.ML.Core (14)
Utilities\FixedSizeQueue.cs (14)
35Contracts.Assert(0 <= _count && _count <= _array.Length); 43return _count; 61return _count == _array.Length; 70Contracts.Assert(index >= 0 && index < _count); 78if (_count == _array.Length) 86_array[(_startIndex + _count) % _array.Length] = item; 96Contracts.Assert(_count != 0, "Array is empty"); 103Contracts.Assert(_count != 0, "Array is empty"); 104return _array[(_startIndex + _count - 1) % _array.Length]; 110Contracts.Assert(_count != 0, "Array is empty"); 122Contracts.Assert(_count != 0, "Array is empty"); 123int lastIndex = (_startIndex + _count - 1) % _array.Length; 134for (int i = 0; i < _count; i++)