MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / capacity

Method capacity

src/prevector.h:260–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258 const_iterator end() const { return const_iterator(item_ptr(size())); }
259
260 size_t capacity() const {
261 if (is_direct()) {
262 return N;
263 } else {
264 return _union.indirect_contents.capacity;
265 }
266 }
267
268 T& operator[](size_type pos) {
269 return *item_ptr(pos);

Callers 4

DynamicUsageFunction · 0.45
removeUncheckedMethod · 0.45
MaybeSendAddrMethod · 0.45
ReceivedBytesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected