| /redis-3.2.3/tests/unit/ |
| H A D | maxmemory.tcl | 40 set numkeys 0 43 incr numkeys 45 assert {$numkeys > 10} 72 set numkeys 0 75 incr numkeys 77 assert {$numkeys > 10} 114 set numkeys 0 118 if {$numkeys % 2} { 121 r set "key:$numkeys" x 124 assert {$numkeys > 10} [all …]
|
| /redis-3.2.3/tests/cluster/tests/ |
| H A D | 04-resharding.tcl | 54 set numkeys 50000 87 set listid [randomInt $numkeys] 115 test "Verify $numkeys keys for consistency with logical content" { 133 test "Verify $numkeys keys after the crash & restart" {
|
| H A D | 10-manual-failover.tcl | 31 set numkeys 50000 40 set listid [randomInt $numkeys] 82 test "Verify $numkeys keys for consistency with logical content" {
|
| /redis-3.2.3/src/ |
| H A D | db.c | 408 unsigned long numkeys = 0; in keysCommand() local 421 numkeys++; in keysCommand() 427 setDeferredMultiBulkLength(c,replylen,numkeys); in keysCommand() 1070 *numkeys = 0; in getKeysUsingCommandTable() 1080 *numkeys = i; in getKeysUsingCommandTable() 1097 return cmd->getkeys_proc(cmd,argv,argc,numkeys); in getKeysFromCommand() 1119 *numkeys = 0; in zunionInterGetKeys() 1148 *numkeys = 0; in evalGetKeys() 1153 *numkeys = num; in evalGetKeys() 1206 *numkeys = num + found_store; in sortGetKeys() [all …]
|
| H A D | bitops.c | 587 unsigned long op, j, numkeys; in bitopCommand() local 616 numkeys = c->argc - 3; in bitopCommand() 617 src = zmalloc(sizeof(unsigned char*) * numkeys); in bitopCommand() 618 len = zmalloc(sizeof(long) * numkeys); in bitopCommand() 619 objects = zmalloc(sizeof(robj*) * numkeys); in bitopCommand() 620 for (j = 0; j < numkeys; j++) { in bitopCommand() 670 for (i = 1; i < numkeys; i++) { in bitopCommand() 683 for (i = 1; i < numkeys; i++) { in bitopCommand() 696 for (i = 1; i < numkeys; i++) { in bitopCommand() 724 for (i = 1; i < numkeys; i++) { in bitopCommand() [all …]
|
| H A D | server.h | 988 typedef int *redisGetKeysProc(struct redisCommand *cmd, robj **argv, int argc, int *numkeys); 1432 int *getKeysFromCommand(struct redisCommand *cmd, robj **argv, int argc, int *numkeys); 1434 int *zunionInterGetKeys(struct redisCommand *cmd,robj **argv, int argc, int *numkeys); 1435 int *evalGetKeys(struct redisCommand *cmd, robj **argv, int argc, int *numkeys); 1436 int *sortGetKeys(struct redisCommand *cmd, robj **argv, int argc, int *numkeys); 1437 int *migrateGetKeys(struct redisCommand *cmd, robj **argv, int argc, int *numkeys);
|
| H A D | scripting.c | 1209 long long numkeys; in evalGenericCommand() local 1231 if (getLongLongFromObjectOrReply(c,c->argv[2],&numkeys,NULL) != C_OK) in evalGenericCommand() 1233 if (numkeys > (c->argc - 3)) { in evalGenericCommand() 1236 } else if (numkeys < 0) { in evalGenericCommand() 1290 luaSetGlobalArray(lua,"KEYS",c->argv+3,numkeys); in evalGenericCommand() 1291 luaSetGlobalArray(lua,"ARGV",c->argv+3+numkeys,c->argc-3-numkeys); in evalGenericCommand()
|
| H A D | redis-trib.rb | 521 numkeys = n.r.cluster("countkeysinslot",slot) 522 if numkeys > best_numkeys || best == nil 524 best_numkeys = numkeys
|
| H A D | t_list.c | 616 void blockForKeys(client *c, robj **keys, int numkeys, mstime_t timeout, robj *target) { in blockForKeys() argument 626 for (j = 0; j < numkeys; j++) { in blockForKeys()
|
| H A D | cluster.c | 4159 unsigned int numkeys, j; in clusterCommand() local 4173 numkeys = getKeysInSlot(slot, keys, maxkeys); in clusterCommand() 4174 addReplyMultiBulkLen(c,numkeys); in clusterCommand() 4175 for (j = 0; j < numkeys; j++) addReplyBulk(c,keys[j]); in clusterCommand() 5009 int margc, *keyindex, numkeys, j; in getNodeByQuery() local 5015 keyindex = getKeysFromCommand(mcmd,margv,margc,&numkeys); in getNodeByQuery() 5016 for (j = 0; j < numkeys; j++) { in getNodeByQuery()
|
| H A D | server.c | 2778 int *keys, numkeys, j; in commandCommand() local 2790 keys = getKeysFromCommand(cmd,c->argv+2,c->argc-2,&numkeys); in commandCommand() 2791 addReplyMultiBulkLen(c,numkeys); in commandCommand() 2792 for (j = 0; j < numkeys; j++) addReplyBulk(c,c->argv[keys[j]+2]); in commandCommand()
|