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

Function jtjson_test

lib_acl_cpp/samples/benchmark/json/main.cpp:118–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116using jt::Json;
117
118static int jtjson_test(const acl::string& data, int count) {
119 int i;
120 for (i = 0; i < count; i++) {
121 std::pair<Json::Status, Json> res = Json::parse(data.c_str());
122 if (res.first != Json::success) {
123 break;
124 }
125 }
126 return i;
127}
128#endif
129
130static int acl_cppjson_test(const acl::string& data, int count) {

Callers 1

mainFunction · 0.85

Calls 2

parseFunction · 0.50
c_strMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…