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

Function memcache_get

lib_acl_cpp/samples/memcache_pool/main.cpp:35–47  ·  view source on GitHub ↗

MEMCACHE ������̣�����������������ӷ�������ȡ��Ӧ����

Source from the content-addressed store, hash-verified

33
34// MEMCACHE ������̣�����������������ӷ�������ȡ��Ӧ����
35static bool memcache_get(memcache* conn, const char* key)
36{
37 string buf;
38
39 conn->set_prefix(__keypre);
40 if (conn->get(key, buf) == false)
41 {
42 printf("get key: %s error\r\n", key);
43 return false;
44 }
45 else
46 return true;
47}
48
49// �� MEMCACHE ��������������
50static bool memcache_set(memcache* conn, const char* key)

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…