1 write to Capacity
aspire (1)
src\Shared\CircularBuffer.cs (1)
37
Capacity
= capacity;
7 references to Capacity
aspire (7)
src\Shared\CircularBuffer.cs (6)
44
public bool IsFull => Count ==
Capacity
;
290
private bool ShouldValidateRemoval =>
Capacity
<= MaxValidatedCapacity;
309
if (++index <
Capacity
)
319
index = (index <= 0) ?
Capacity
- 1 : index - 1;
324
var buffer = new CircularBuffer<T>(_buffer.ToList(),
Capacity
, _start, _end);
337
public int Capacity => _collection.
Capacity
;
src\Shared\ConsoleLogs\LogEntries.cs (1)
121
var skipped = Math.Max(0, merged.Count - _logEntries.
Capacity
);