Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
189
int redis_string::setnx(const char* key, const char* value)
190
{
191
return setnx(key, strlen(key), value, strlen(value));
192
}
193
194
int redis_string::setnx(const char* key, size_t key_len,
195
const char* value, size_t value_len)
Callers
1
test_setnx
Function · 0.80
Calls
2
hash_slot
Function · 0.85
build_request
Function · 0.50
Tested by
1
test_setnx
Function · 0.64