Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dmlc/parameter_server
/ capacity
Method
capacity
src/util/shared_array.h:72–72 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
70
// Capacity
71
size_t size() const { return size_; }
72
size_t capacity() const { return capacity_; }
73
size_t memSize() const { return capacity_*sizeof(V); }
74
75
// static int64 gMemSize() { return g_mem_usage_sarray.load(); }
Callers
1
operator=
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected