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

Method str2int

include/sonic/dom/parser.h:159–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157 }
158
159 sonic_force_inline uint64_t str2int(const char *s, size_t &i) const {
160 uint64_t sum = 0;
161 while (carry_one(s[i], sum)) {
162 i++;
163 }
164 return sum;
165 }
166
167 sonic_force_inline bool parseFloatingFast(double &d, int exp10,
168 uint64_t man) const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected