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

Function test1

lib_acl_cpp/samples/mem_cache/main.cpp:138–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138static void test1(void)
139{
140 acl::mem_cache client("127.0.0.1:16815", 180, 300);
141 acl::string buf, key("F6B7AB8F24790F6224DEC0D674FFAC4D");
142
143 client.set_prefix("WEBMAIL").auto_retry(false).encode_key(false);
144
145 if (client.get(key.c_str(), buf) == false)
146 printf("error\r\n");
147 else
148 printf("ok\r\n");
149 exit(0);
150}
151
152int main(int argc, char* argv[])
153{

Callers 1

mainFunction · 0.70

Calls 2

getMethod · 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…