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

Function test2

lib_acl_cpp/samples/benchmark/split/main.cpp:25–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25static void test2() {
26 for (int i = 0; i < max; i++) {
27 std::list<std::string> tokens;
28 acl::split(str, sep, tokens);
29 if (i > 0) {
30 continue;
31 }
32
33 printf("Use acl::split(list):\r\n");
34 for (std::list<std::string>::const_iterator cit = tokens.begin();
35 cit != tokens.end(); ++cit) {
36 printf("%s ", (*cit).c_str());
37 }
38 printf("\r\n");
39 }
40}
41
42static void test3() {
43 for (int i = 0; i < max; i++) {

Callers 1

mainFunction · 0.70

Calls 4

splitFunction · 0.85
beginMethod · 0.80
endMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…