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

Method Dequeue

library/cpp/neh/lfqueue.h:29–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 }
28
29 inline bool Dequeue(TRef* t) {
30 T* res = nullptr;
31
32 if (Q_.Dequeue(&res)) {
33 t->Reset(res);
34
35 return true;
36 }
37
38 return false;
39 }
40
41 inline void Enqueue(TRef& t) {
42 Q_.Enqueue(t.Get());

Callers

nothing calls this directly

Calls 1

ResetMethod · 0.45

Tested by

no test coverage detected