Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitcoin/bitcoin
/ allocated_memory
Method
allocated_memory
src/prevector.h:456–462 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
454
}
455
456
size_t allocated_memory() const {
457
if (is_direct()) {
458
return 0;
459
} else {
460
return ((size_t)(sizeof(T))) * _union.indirect_contents.capacity;
461
}
462
}
463
464
value_type* data() {
465
return item_ptr(0);
Callers
1
DynamicUsage
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected