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

Method getMapUnsfe

include/sonic/dom/dynamicnode.h:608–611  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

606 }
607
608 sonic_force_inline map_type* getMapUnsfe() const {
609 sonic_assert(this->IsObject());
610 return ((MetaNode*)(this->o.next.children))->map;
611 }
612
613 sonic_force_inline MemberIterator findFromMap(StringView key) const {
614 auto it = getMap()->find(MSType(key.data(), key.size()));

Callers

nothing calls this directly

Calls 1

IsObjectMethod · 0.80

Tested by

no test coverage detected