MCPcopy Create free account
hub / github.com/activeloopai/deeplake / empty

Method empty

cpp/async/queue.hpp:176–179  ·  view source on GitHub ↗

Checks if the queue is empty.

Source from the content-addressed store, hash-verified

174
175 /// Checks if the queue is empty.
176 inline bool empty() const noexcept
177 {
178 return size() == 0;
179 }
180
181 /// Returns number of threads of this queue.
182 int num_threads() const noexcept;

Callers 4

set_resultMethod · 0.45
cancelMethod · 0.45
revoke_handleMethod · 0.45
combineFunction · 0.45

Calls 1

sizeFunction · 0.85

Tested by

no test coverage detected