MCPcopy Create free account
hub / github.com/acl-dev/acl / StringToDouble

Function StringToDouble

lib_acl_cpp/samples/benchmark/json/jtjson/json.cpp:196–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194#endif
195
196static double
197StringToDouble(const char* s, size_t n, int* out_processed)
198{
199 if (n == -1ull)
200 n = strlen(s);
201 int processed;
202 double res = kJsonToDouble.StringToDouble(s, n, &processed);
203 if (out_processed)
204 *out_processed = processed;
205 return res;
206}
207
208static char*
209UlongToString(char* p, unsigned long long x)

Callers 1

parseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…