Home
last modified time | relevance | path

Searched refs:target (Results 1 – 25 of 30) sorted by relevance

12

/redis-3.2.3/src/
H A Dredis-check-aof.c56 int readLong(FILE *fp, char prefix, long *target) { in readLong() argument
66 *target = strtol(buf+1,&eptr,10); in readLong()
73 real = fread(target,1,length,fp); in readBytes()
81 int readString(FILE *fp, char** target) { in readString() argument
83 *target = NULL; in readString()
90 *target = (char*)malloc(len); in readString()
91 if (!readBytes(fp,*target,len)) { in readString()
94 if (!consumeNewline(*target+len-2)) { in readString()
97 (*target)[len-2] = '\0'; in readString()
101 int readArgc(FILE *fp, long *target) { in readArgc() argument
[all …]
H A Dredis-trib.rb490 next if src == target
938 … source.r.client.call(["migrate",target.info[:host],target.info[:port],"",0,@timeout,:keys,*keys])
1169 if !target || target.has_flag?("slave")
1174 target = nil
1175 while not target
1178 if !target || target.has_flag?("slave")
1180 target = nil
1239 if sources.index(target)
1248 puts " #{target.info_string}"
1474 target = slots[slot]
[all …]
H A Dobject.c537 int getDoubleFromObject(robj *o, double *target) { in getDoubleFromObject() argument
561 *target = value; in getDoubleFromObject()
575 *target = value; in getDoubleFromObjectOrReply()
579 int getLongDoubleFromObject(robj *o, long double *target) { in getLongDoubleFromObject() argument
599 *target = value; in getLongDoubleFromObject()
613 *target = value; in getLongDoubleFromObjectOrReply()
617 int getLongLongFromObject(robj *o, long long *target) { in getLongLongFromObject() argument
632 if (target) *target = value; in getLongLongFromObject()
646 *target = value; in getLongLongFromObjectOrReply()
650 int getLongFromObjectOrReply(client *c, robj *o, long *target, const char *msg) { in getLongFromObjectOrReply() argument
[all …]
H A Dziplist.c707 unsigned char *source, *target; in ziplistMerge() local
714 target = *first; in ziplistMerge()
721 target = *second; in ziplistMerge()
741 target = zrealloc(target, zlbytes); in ziplistMerge()
755 target + ZIPLIST_HEADER_SIZE, in ziplistMerge()
761 ZIPLIST_BYTES(target) = intrev32ifbe(zlbytes); in ziplistMerge()
768 ZIPLIST_TAIL_OFFSET(target) = intrev32ifbe( in ziplistMerge()
776 target = __ziplistCascadeUpdate(target, target+first_offset); in ziplistMerge()
782 *first = target; in ziplistMerge()
786 *second = target; in ziplistMerge()
[all …]
H A Dt_list.c616 void blockForKeys(client *c, robj **keys, int numkeys, mstime_t timeout, robj *target) { in blockForKeys() argument
622 c->bpop.target = target; in blockForKeys()
624 if (target != NULL) incrRefCount(target); in blockForKeys()
674 if (c->bpop.target) { in unblockClientWaitingData()
675 decrRefCount(c->bpop.target); in unblockClientWaitingData()
676 c->bpop.target = NULL; in unblockClientWaitingData()
824 robj *dstkey = receiver->bpop.target; in handleClientsBlockedOnLists()
H A Dserver.h539 robj *target; /* The key that should receive the element, member
676 int argc, dbid, target; member
1212 int getLongFromObjectOrReply(client *c, robj *o, long *target, const char *msg);
1214 int getLongLongFromObjectOrReply(client *c, robj *o, long long *target, const char *msg);
1215 int getDoubleFromObjectOrReply(client *c, robj *o, double *target, const char *msg);
1216 int getLongLongFromObject(robj *o, long long *target);
1217 int getLongDoubleFromObject(robj *o, long double *target);
1218 int getLongDoubleFromObjectOrReply(client *c, robj *o, long double *target, const char *msg);
1314 void alsoPropagate(struct redisCommand *cmd, int dbid, robj **argv, int argc, int target);
H A Dt_zset.c1920 inline static void zunionInterAggregate(double *target, double val, int aggregate) { in zunionInterAggregate() argument
1922 *target = *target + val; in zunionInterAggregate()
1926 if (isnan(*target)) *target = 0.0; in zunionInterAggregate()
1928 *target = val < *target ? val : *target; in zunionInterAggregate()
1930 *target = val > *target ? val : *target; in zunionInterAggregate()
H A Dserver.c2052 robj **argv, int argc, int target) in redisOpArrayAppend() argument
2062 op->target = target; in redisOpArrayAppend()
2143 int target) in alsoPropagate() argument
2155 redisOpArrayAppend(&server.also_propagate,cmd,dbid,argvcopy,argc,target); in alsoPropagate()
2321 int target = rop->target; in call() local
2323 if (!(flags&CMD_CALL_PROPAGATE_AOF)) target &= ~PROPAGATE_AOF; in call()
2324 if (!(flags&CMD_CALL_PROPAGATE_REPL)) target &= ~PROPAGATE_REPL; in call()
2325 if (target) in call()
2326 propagate(rop->cmd,rop->dbid,rop->argv,rop->argc,target); in call()
H A Dquicklist.c736 quicklistNode *prev, *prev_prev, *next, *next_next, *target; in _quicklistMergeNodes() local
737 prev = prev_prev = next = next_next = target = NULL; in _quicklistMergeNodes()
765 target = _quicklistZiplistMerge(quicklist, center->prev, center); in _quicklistMergeNodes()
769 target = center; in _quicklistMergeNodes()
773 if (_quicklistNodeAllowMerge(target, target->next, fill)) { in _quicklistMergeNodes()
774 _quicklistZiplistMerge(quicklist, target, target->next); in _quicklistMergeNodes()
H A Dcluster.c2309 void clusterBroadcastPong(int target) { in clusterBroadcastPong() argument
2319 if (target == CLUSTER_BROADCAST_LOCAL_SLAVES) { in clusterBroadcastPong()
2900 clusterNode *mymaster = myself->slaveof, *target = NULL, *candidate = NULL; in clusterHandleSlaveMigration() local
2943 if (!target && node->numslots > 0) target = node; in clusterHandleSlaveMigration()
2973 if (target && candidate == myself && in clusterHandleSlaveMigration()
2974 (mstime()-target->orphaned_time) > CLUSTER_SLAVE_MIGRATION_DELAY) in clusterHandleSlaveMigration()
2977 target->name); in clusterHandleSlaveMigration()
2978 clusterSetMaster(target); in clusterHandleSlaveMigration()
/redis-3.2.3/tests/unit/type/
H A Dlist.tcl138 r del target
215 r del blist target
227 r del blist target
238 r del blist target
239 $rd2 blpop target 0
250 r del blist target
258 r del blist target
259 r set target nolist
265 r del blist target
276 r del blist target
[all …]
H A Dhash.tcl86 test {HSETNX target key missing - small hash} {
91 test {HSETNX target key exists - small hash} {
98 test {HSETNX target key missing - big hash} {
103 test {HSETNX target key exists - big hash} {
/redis-3.2.3/deps/hiredis/
H A Dhiredis.h161 int redisvFormatCommand(char **target, const char *format, va_list ap);
162 int redisFormatCommand(char **target, const char *format, ...);
163 int redisFormatCommandArgv(char **target, int argc, const char **argv, const size_t *argvlen);
H A Dhiredis.c686 int redisvFormatCommand(char **target, const char *format, va_list ap) { in redisvFormatCommand() argument
698 if (target == NULL) in redisvFormatCommand()
894 *target = cmd; in redisvFormatCommand()
925 int redisFormatCommand(char **target, const char *format, ...) { in redisFormatCommand() argument
929 len = redisvFormatCommand(target,format,ap); in redisFormatCommand()
939 int redisFormatCommandArgv(char **target, int argc, const char **argv, const size_t *argvlen) { in redisFormatCommandArgv() argument
969 *target = cmd; in redisFormatCommandArgv()
H A Dasync.c238 static int __redisShiftCallback(redisCallbackList *list, redisCallback *target) { in __redisShiftCallback() argument
246 if (target != NULL) in __redisShiftCallback()
247 memcpy(target,cb,sizeof(*cb)); in __redisShiftCallback()
/redis-3.2.3/tests/cluster/tests/
H A D04-resharding.tcl73 set target [dict get [get_myself [randomInt 5]] id]
77 --to $target \
/redis-3.2.3/tests/unit/
H A Dbitops.tcl135 test {BITOP where dest and target are the same key} {
179 r bitop $op target {*}$veckeys
180 assert_equal [r get target] [simulate_bit_op $op {*}$vec]
190 r bitop not target str
191 assert_equal [r get target] [simulate_bit_op not $str]
H A Dkeyspace.tcl145 test {RENAME with volatile key, should not inherit TTL of target key} {
185 test {MOVE against key existing in the target DB} {
H A Dmulti.tcl214 test {WATCH will consider touched keys target of EXPIRE} {
/redis-3.2.3/deps/lua/doc/
H A Dlua.css62 :target {
/redis-3.2.3/deps/lua/
H A DREADME28 do "make" with a suitable target. See INSTALL for detailed instructions.
/redis-3.2.3/deps/lua/src/
H A Dlcode.c169 void luaK_patchlist (FuncState *fs, int list, int target) { in luaK_patchlist() argument
170 if (target == fs->pc) in luaK_patchlist()
173 lua_assert(target < fs->pc); in luaK_patchlist()
174 patchlistaux(fs, list, target, NO_REG, target); in luaK_patchlist()
H A Dlcode.h66 LUAI_FUNC void luaK_patchlist (FuncState *fs, int list, int target);
H A Dlua_cmsgpack.c98 void *mp_realloc(lua_State *L, void *target, size_t osize,size_t nsize) { in mp_realloc() argument
104 return local_realloc(ud, target, osize, nsize); in mp_realloc()
/redis-3.2.3/
H A DREADME.md61 Also if you force certain build options like 32bit target, no C compiler
69 If after building Redis with a 32 bit target you need to rebuild it
70 with a 64 bit target, or the other way around, you need to perform a

12