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

Method setChildren

include/sonic/dom/dynamicnode.h:583–587  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

581 }
582
583 sonic_force_inline void setChildren(void* new_child) {
584 sonic_assert(this->IsContainer());
585 this->o.next.children = new_child;
586 return;
587 }
588
589 sonic_force_inline void setCapacity(size_t new_cap) {
590 sonic_assert(this->IsContainer());

Callers 6

EndObjectMethod · 0.80
EndArrayMethod · 0.80
EndObjectMethod · 0.80
EndArrayMethod · 0.80
EndArrayMethod · 0.80
EndObjectMethod · 0.80

Calls 1

IsContainerMethod · 0.80

Tested by

no test coverage detected