MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / dequeue

Method dequeue

extern/libcds/test/stress/queue/std_queue.h:36–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 }
35
36 bool dequeue( T& data )
37 {
38 std::unique_lock<Lock> a(m_Locker);
39 if ( base_class::empty())
40 return false;
41
42 data = base_class::front();
43 base_class::pop();
44 return true;
45 }
46
47 bool pop( T& data )
48 {

Callers 9

testMethod · 0.45
testMethod · 0.45
testMethod · 0.45
testMethod · 0.45
testMethod · 0.45
testMethod · 0.45
testMethod · 0.45
test_heavyMethod · 0.45
testMethod · 0.45

Calls 3

frontClass · 0.85
emptyClass · 0.70
popFunction · 0.50

Tested by

no test coverage detected