MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / dequeue_bulk

Method dequeue_bulk

deps/concurrentqueue/concurrentqueue.h:1705–1713  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1703
1704 template<typename It>
1705 inline size_t dequeue_bulk(It& itemFirst, size_t max)
1706 {
1707 if (isExplicit) {
1708 return static_cast<ExplicitProducer*>(this)->dequeue_bulk(itemFirst, max);
1709 }
1710 else {
1711 return static_cast<ImplicitProducer*>(this)->dequeue_bulk(itemFirst, max);
1712 }
1713 }
1714
1715 inline ProducerBase* next_prod() const { return static_cast<ProducerBase*>(next); }
1716

Callers 2

try_dequeue_bulkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected