MCPcopy Create free account
hub / github.com/catboost/catboost / Dequeue

Method Dequeue

library/cpp/threading/chunk_queue/queue.h:157–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155 }
156
157 bool Dequeue(T& value) {
158 if (T* ptr = PrepareRead()) {
159 value = TTypeHelper::Read(ptr);
160 CompleteRead();
161 return true;
162 }
163 return false;
164 }
165
166 bool IsEmpty() {
167 return !PrepareRead();

Callers 7

with_lockMethod · 0.45
DequeueMethod · 0.45
DequeueMethod · 0.45
DequeueMethod · 0.45
Y_UNIT_TESTFunction · 0.45
GetJobMethod · 0.45
ClearLPQueueMethod · 0.45

Calls 1

ReadFunction · 0.50

Tested by

no test coverage detected