Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ getQueueSize
Method
getQueueSize
snap_drawing/src/snap_drawing/cpp/Utils/ImageQueue.cpp:132–135 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
130
}
131
132
size_t ImageQueue::getQueueSize() const {
133
std::lock_guard<Valdi::Mutex> lock(_mutex);
134
return _queue.size();
135
}
136
137
size_t ImageQueue::getPoolSize() const {
138
std::lock_guard<Valdi::Mutex> lock(_mutex);
Callers
2
TEST_F
Function · 0.80
TEST_F
Function · 0.80
Calls
1
size
Method · 0.45
Tested by
2
TEST_F
Function · 0.64
TEST_F
Function · 0.64