Home
last modified time | relevance | path

Searched refs:key1 (Results 1 – 13 of 13) sorted by relevance

/redis-3.2.3/deps/hiredis/
H A Ddict.h55 int (*keyCompare)(void *privdata, const void *key1, const void *key2);
101 #define dictCompareHashKeys(ht, key1, key2) \ argument
103 (ht)->type->keyCompare((ht)->privdata, key1, key2) : \
104 (key1) == (key2))
H A Dasync.c76 static int callbackKeyCompare(void *privdata, const void *key1, const void *key2) { in callbackKeyCompare() argument
80 l1 = sdslen((const sds)key1); in callbackKeyCompare()
83 return memcmp(key1,key2,l1) == 0; in callbackKeyCompare()
/redis-3.2.3/tests/unit/
H A Ddump.tcl223 r set key1 "v1"
231 assert {[$first exists key1] == 1}
232 assert {[$second exists key1] == 0}
233 set ret [r -1 migrate $second_host $second_port "" 9 5000 keys key1 key2 key3]
235 assert {[$first exists key1] == 0}
238 assert {[$second get key1] eq {v1}}
251 r set key1 "v1"
262 assert {[$first exists key1] == 1}
263 assert {[$second exists key1] == 0}
266 assert {[$first exists key1] == 0}
[all …]
H A Dintrospection-2.tcl19 r set key1 1
21 r touch key0 key1 key2 key3
H A Dexpire.tcl151 r psetex key1 500 a
166 r psetex key1 500 a
175 r mget key1 key2 key3
/redis-3.2.3/src/
H A Ddict.h62 int (*keyCompare)(void *privdata, const void *key1, const void *key2);
134 #define dictCompareKeys(d, key1, key2) \ argument
136 (d)->type->keyCompare((d)->privdata, key1, key2) : \
137 (key1) == (key2))
H A Dlatency.c39 int dictStringKeyCompare(void *privdata, const void *key1, const void *key2) { in dictStringKeyCompare() argument
41 return strcmp(key1,key2) == 0; in dictStringKeyCompare()
H A Dserver.c437 int dictSdsKeyCompare(void *privdata, const void *key1, in dictSdsKeyCompare() argument
443 l1 = sdslen((sds)key1); in dictSdsKeyCompare()
446 return memcmp(key1, key2, l1) == 0; in dictSdsKeyCompare()
451 int dictSdsKeyCaseCompare(void *privdata, const void *key1, in dictSdsKeyCaseCompare() argument
456 return strcasecmp(key1, key2) == 0; in dictSdsKeyCaseCompare()
474 int dictObjKeyCompare(void *privdata, const void *key1, in dictObjKeyCompare() argument
477 const robj *o1 = key1, *o2 = key2; in dictObjKeyCompare()
494 int dictEncObjKeyCompare(void *privdata, const void *key1, in dictEncObjKeyCompare() argument
497 robj *o1 = (robj*) key1, *o2 = (robj*) key2; in dictEncObjKeyCompare()
H A Dconfig.c1256 int dictSdsKeyCaseCompare(void *privdata, const void *key1, const void *key2);
H A Dsentinel.c383 int dictSdsKeyCompare(void *privdata, const void *key1, const void *key2);
/redis-3.2.3/utils/hashtable/
H A Drehashing.c21 int dictKeyCompare(void *privdata, const void *key1, const void *key2) { in dictKeyCompare() argument
22 unsigned long k1 = (unsigned long)key1; in dictKeyCompare()
/redis-3.2.3/tests/unit/type/
H A Dset.tcl250 r set key1 x
251 assert_error "WRONGTYPE*" {r sinter key1 noset}
255 r set key1 x
256 assert_error "WRONGTYPE*" {r sunion key1 noset}
H A Dhash.tcl111 catch {r hmset smallhash key1 val1 key2} err