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

Method setnx

lib_acl_cpp/src/redis/redis_string.cpp:189–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189int redis_string::setnx(const char* key, const char* value)
190{
191 return setnx(key, strlen(key), value, strlen(value));
192}
193
194int redis_string::setnx(const char* key, size_t key_len,
195 const char* value, size_t value_len)

Callers 1

test_setnxFunction · 0.80

Calls 2

hash_slotFunction · 0.85
build_requestFunction · 0.50

Tested by 1

test_setnxFunction · 0.64