MCPcopy Create free account
hub / github.com/MaskRay/ccls / size

Method size

src/threaded_queue.hh:82–82  ·  view source on GitHub ↗

Returns the number of elements in the queue. This is lock-free.

Source from the content-addressed store, hash-verified

80
81 // Returns the number of elements in the queue. This is lock-free.
82 size_t size() const { return total_count_; }
83
84 // Add an element to the queue.
85 template <void (std::deque<T>::*Push)(T &&)> void push(T &&t, bool priority) {

Callers 3

dequeueAllMethod · 0.45
dequeueMethod · 0.45
tryPopFrontMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected