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

Method pop

extern/libcds/test/stress/pqueue/pqueue_type.h:66–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 }
65
66 bool pop( value_type& dest )
67 {
68 scoped_lock l( m_Lock );
69 if ( !m_PQueue.empty()) {
70 dest = m_PQueue.top();
71 m_PQueue.pop();
72 return true;
73 }
74 return false;
75 }
76
77 template <typename Q, typename MoveFunc>
78 bool pop_with( Q& dest, MoveFunc f )

Callers 6

testMethod · 0.45
pop_withMethod · 0.45
clearMethod · 0.45
clear_withMethod · 0.45
testMethod · 0.45
analyzeMethod · 0.45

Calls 2

topMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected