Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ capacity
Method
capacity
src/test/prevector_tests.cpp:159–161 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
157
}
158
159
Size capacity() const {
160
return pre_vector.capacity();
161
}
162
163
void shrink_to_fit() {
164
pre_vector.shrink_to_fit();
Callers
2
reserve
Method · 0.45
resize_uninitialized
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected