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

Function acl_cppjson_test

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

Source from the content-addressed store, hash-verified

128#endif
129
130static int acl_cppjson_test(const acl::string& data, int count) {
131 int i;
132
133 for (i = 0; i < count; i++) {
134 acl::json json(data);
135 //json.update(data);
136 if (!json.finish()) {
137 printf("acl cppjson: invalid json\r\n");
138 break;
139 }
140 //json.reset();
141 }
142
143 return i;
144}
145
146static int acl_cjson_test(const acl::string& data, int count) {
147 int i;

Callers 1

mainFunction · 0.85

Calls 1

finishMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…