Lines Matching refs:Capacity
38 Capacity = BufferCapacity; in initialize()
40 Data = (T *)MmapOrDie(Capacity * sizeof(T), "CircularBuffer"); in initialize()
46 UnmapOrDie(Data, Capacity * sizeof(T)); in free()
50 uptr ArrayIdx = (StartIdx + Idx) % Capacity;
55 uptr ArrayIdx = (StartIdx + Idx) % Capacity;
59 CHECK_GT(Capacity, 0); in push_back()
60 uptr ArrayIdx = (StartIdx + Count) % Capacity; in push_back()
62 if (Count < Capacity) in push_back()
65 StartIdx = (StartIdx + 1) % Capacity; in push_back()
69 uptr ArrayIdx = (StartIdx + Count - 1) % Capacity; in back()
91 uptr Capacity; variable