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

Method parseFalse

include/sonic/dom/parser.h:110–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108
109 template <typename SAX>
110 sonic_force_inline bool parseFalse(SAX &sax) {
111 const static uint32_t kFalseBin =
112 0x65736c61; // the binary of 'alse' in false
113 if (internal::EqBytes4(json_buf_ + pos_, kFalseBin)) {
114 pos_ += 4;
115 return sax.Bool(false);
116 }
117 setParseError(kParseErrorInvalidChar);
118 return false;
119 }
120
121 template <typename SAX>
122 sonic_force_inline bool parseTrue(SAX &sax) {

Callers

nothing calls this directly

Calls 2

EqBytes4Function · 0.85
BoolMethod · 0.45

Tested by

no test coverage detected