1 write to Capacity
Aspire.Dashboard (1)
src\Shared\CircularBuffer.cs (1)
37
Capacity
= capacity;
8 references to Capacity
Aspire.Dashboard (8)
Otlp\Model\MetricValues\DimensionScope.cs (1)
22
public int Capacity => _values.
Capacity
;
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
);