Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ Size
Method
Size
include/singa/utils/safe_queue.h:99–102 ·
view source on GitHub ↗
* @return Number of elements in the queue. */
Source
from the content-addressed store, hash-verified
97
* @return Number of elements in the queue.
98
*/
99
unsigned int Size() const {
100
std::lock_guard<std::mutex> lock(mutex_);
101
return queue_.size();
102
}
103
104
private:
105
Container queue_;
Callers
1
Size
Method · 0.45
Calls
1
size
Method · 0.45
Tested by
no test coverage detected