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

Method run

lib_acl_cpp/samples/benchmark/rosksdb/main.cpp:19–31  ·  view source on GitHub ↗

@override

Source from the content-addressed store, hash-verified

17private:
18 // @override
19 void* run(void) {
20 if (action_ == "add") {
21 add(max_);
22 } else if (action_ == "get") {
23 get(max_);
24 } else if (action_ == "del") {
25 del(max_);
26 } else {
27 printf("invalid action=%s\r\n", action_.c_str());
28 }
29
30 return NULL;
31 }
32
33 void add(int max) {
34 Status s;

Callers

nothing calls this directly

Calls 3

delFunction · 0.85
getFunction · 0.50
c_strMethod · 0.45

Tested by

no test coverage detected