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

Method getObjChildrenFirstUnsafe

include/sonic/dom/dynamicnode.h:577–581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

575 }
576
577 sonic_force_inline DNode* getObjChildrenFirstUnsafe() const {
578 sonic_assert(this->IsObject());
579 return (DNode*)((char*)this->a.next.children +
580 sizeof(MetaNode) / sizeof(char));
581 }
582
583 sonic_force_inline void setChildren(void* new_child) {
584 sonic_assert(this->IsContainer());

Callers 4

SonicError SerializeImplFunction · 0.80
EndObjectMethod · 0.80
EndObjectMethod · 0.80
EndObjectMethod · 0.80

Calls 1

IsObjectMethod · 0.80

Tested by

no test coverage detected