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

Method Int

include/sonic/dom/schema_handler.h:146–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144 }
145
146 sonic_force_inline bool Int(int64_t val) noexcept {
147 if (cur_node_) {
148 cur_node_->SetInt64(val);
149 return true;
150 }
151 SONIC_ADD_NODE();
152 new (&st_[np_ - 1]) NodeType(val);
153 return true;
154 }
155
156 sonic_force_inline bool Double(double val) noexcept {
157 if (cur_node_) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected