Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/Paddle
/ Cap
Method
Cap
paddle/phi/core/operators/reader/blocking_queue.h:154–157 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
152
}
153
154
size_t Cap() const {
155
std::lock_guard<std::mutex> lock(mutex_);
156
return capacity_;
157
}
158
159
size_t Size() const {
160
std::lock_guard<std::mutex> lock(mutex_);
Callers
1
TEST
Function · 0.45
Calls
no outgoing calls
Tested by
1
TEST
Function · 0.36