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

Method Dequeue

util/thread/lfqueue.h:375–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373 }
374
375 inline bool Dequeue(TRef* t) {
376 T* res = nullptr;
377
378 if (Queue.Dequeue(&res)) {
379 t->Reset(res);
380
381 return true;
382 }
383
384 return false;
385 }
386
387 inline void Enqueue(TRef& t) {
388 Queue.Enqueue(t.Get());

Callers

nothing calls this directly

Calls 2

DequeueMethod · 0.45
ResetMethod · 0.45

Tested by

no test coverage detected