Searched refs:CircularQueue (Results 1 – 4 of 4) sorted by relevance
49 class CircularQueue {59 Iterator(CircularQueue* queue, uint64_t pos, uint32_t generation) in Iterator()165 CircularQueue* queue_;173 CircularQueue(size_t initial_capacity = 1024) { Grow(initial_capacity); }175 CircularQueue(CircularQueue&& other) noexcept { in CircularQueue() function179 new (&other) CircularQueue(); // Reset the old queue so it's still usable. in CircularQueue()182 CircularQueue& operator=(CircularQueue&& other) {183 this->~CircularQueue(); // Destroy the current state.184 new (this) CircularQueue(std::move(other)); // Use the move ctor above.188 ~CircularQueue() { in ~CircularQueue()[all …]
28 CircularQueue<int> queue(/*initial_capacity=*/1); in TEST()92 CircularQueue<uint64_t> queue; in TEST()105 CircularQueue<int> queue; in TEST()110 CircularQueue<int> moved(std::move(queue)); in TEST()126 CircularQueue<int> moved; in TEST()140 CircularQueue<size_t> queue(capacity); in TEST()222 CircularQueue<Checker> queue(/*initial_capacity=*/2); in TEST()241 CircularQueue<Checker> queue(/*initial_capacity=*/1); in TEST()261 CircularQueue<Checker> q1(1); in TEST()262 CircularQueue<Checker> q2(64); in TEST()
543 base::CircularQueue<int64_t> timestamps;559 base::CircularQueue<ClockSnapshotData> clock_snapshot_ring_buffer;684 base::CircularQueue<TriggerHistory> trigger_history_;
215 base::CircularQueue<TimestampedTracePiece> events_;