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

Method EnqueueAll

util/thread/lfstack_ut.cpp:329–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327 }
328
329 static void EnqueueAll(TLockFreeStack<ValueType>& stack) {
330 // there is no enqueAll with moving signature in LockFreeStack
331 Enqueue(stack, 0);
332 }
333
334 static void DequeueAll(TLockFreeStack<ValueType>& stack) {
335 TVector<ValueType> values;

Callers 2

Y_UNIT_TESTFunction · 0.45
EnqueueAllMethod · 0.45

Calls 1

EnqueueFunction · 0.50

Tested by

no test coverage detected