Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
test
Method · 0.45
test
Method · 0.45
test
Method · 0.45
test
Method · 0.45
test
Method · 0.45
test
Method · 0.45
test
Method · 0.45
test_heavy
Method · 0.45
test
Method · 0.45
Calls
3
front
Class · 0.85
empty
Class · 0.70
pop
Function · 0.50
Tested by
no test coverage detected