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

Method enqueue_bulk

deps/concurrentqueue/concurrentqueue.h:1016–1020  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1014 // Thread-safe.
1015 template<typename It>
1016 bool enqueue_bulk(It itemFirst, size_t count)
1017 {
1018 MOODYCAMEL_CONSTEXPR_IF (INITIAL_IMPLICIT_PRODUCER_HASH_SIZE == 0) return false;
1019 else return inner_enqueue_bulk<CanAlloc>(itemFirst, count);
1020 }
1021
1022 // Enqueues several items using an explicit producer token.
1023 // Allocates memory if required. Only fails if memory allocation fails

Callers 2

enqueueMethod · 0.45
endWorkMethod · 0.45

Calls 1

MOODYCAMEL_CONSTEXPR_IFFunction · 0.85

Tested by

no test coverage detected