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

Function test4

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

Source from the content-addressed store, hash-verified

57}
58
59static void test4() {
60 for (int i = 0; i < max; i++) {
61 ACL_ARGV *argv = acl_argv_split(str, sep);
62 if (i > 0) {
63 acl_argv_free(argv);
64 continue;
65 }
66
67 printf("Use acl_argv_split:\r\n");
68 ACL_ITER iter;
69 acl_foreach(iter, argv) {
70 printf("%s ", (char*) iter.data);
71 }
72 printf("\r\n");
73
74 acl_argv_free(argv);
75
76 }
77}
78
79static void test5() {
80 for (int i = 0; i < max; i++) {

Callers 1

mainFunction · 0.70

Calls 2

acl_argv_splitFunction · 0.85
acl_argv_freeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…