Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ Back
Method
Back
libs/base/threaded_list.hpp:75–88 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
73
}
74
75
T Back(bool doPop)
76
{
77
std::unique_lock lock(m_condLock);
78
79
if (WaitNonEmpty(lock))
80
return T();
81
82
T res = m_list.back();
83
84
if (doPop)
85
m_list.pop_back();
86
87
return res;
88
}
89
90
size_t Size() const
91
{
Callers
5
AddGateSubwayForSubroute
Method · 0.45
AddGatePTForSubroute
Method · 0.45
TestRouter
Function · 0.45
End
Method · 0.45
UNIT_TEST
Function · 0.45
Calls
2
back
Method · 0.80
pop_back
Method · 0.45
Tested by
2
TestRouter
Function · 0.36
UNIT_TEST
Function · 0.36