MCPcopy Create free account
hub / github.com/ceph/ceph / empty

Method empty

src/common/PrioritizedQueue.h:272–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270 }
271
272 bool empty() const final {
273 ceph_assert(total_priority >= 0);
274 ceph_assert((total_priority == 0) || !(queue.empty()));
275 return queue.empty() && high_queue.empty();
276 }
277
278 T dequeue() final {
279 ceph_assert(!empty());

Callers 5

SubQueueClass · 0.45
pop_frontMethod · 0.45
emptyMethod · 0.45
remove_by_classMethod · 0.45
dequeueMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected