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

Method run

lib_acl_cpp/samples/dbuf/alloc/main.cpp:13–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11 myobj(acl::dbuf_guard* dbuf, int i) : dbuf_(dbuf), i_(i) {}
12
13 void run(void) {
14 for (int i = 0; i < 100; i++) {
15 char* s = dbuf_->dbuf_strdup("hello");
16 bufs_.push_back(s);
17 }
18 printf("hello world(%d)\r\n", i_);
19 }
20
21 int get(void) const {
22 return i_;

Callers 2

test1Function · 0.45
test2Function · 0.45

Calls 2

dbuf_strdupMethod · 0.80
push_backMethod · 0.45

Tested by

no test coverage detected