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

Function test3

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

Source from the content-addressed store, hash-verified

40}
41
42static void test3() {
43 for (int i = 0; i < max; i++) {
44 std::vector<std::string> tokens;
45 acl::split(str, sep, tokens);
46 if (i > 0) {
47 continue;
48 }
49
50 printf("Use acl::split(vector):\r\n");
51 for (std::vector<std::string>::const_iterator cit = tokens.begin();
52 cit != tokens.end(); ++cit) {
53 printf("%s ", (*cit).c_str());
54 }
55 printf("\r\n");
56 }
57}
58
59static void test4() {
60 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…