MCPcopy Create free account
hub / github.com/bytedance/sonic-cpp / capacityImpl

Method capacityImpl

include/sonic/dom/dynamicnode.h:476–478  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474 }
475
476 size_t capacityImpl() const noexcept {
477 return children() != nullptr ? meta()->cap : 0;
478 }
479
480 DNode& memberReserveImpl(size_t new_cap, Allocator& alloc) {
481 if (new_cap > this->Capacity()) {

Callers 1

CapacityFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected