| /f-stack/app/redis-5.0.5/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 …]
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | db.c | 541 unsigned long numkeys = 0; in keysCommand() local 554 numkeys++; in keysCommand() 1200 *numkeys = 0; in getKeysUsingCommandTable() 1225 *numkeys = i; in getKeysUsingCommandTable() 1266 *numkeys = 0; in zunionInterGetKeys() 1295 *numkeys = 0; in evalGetKeys() 1300 *numkeys = num; in evalGetKeys() 1380 *numkeys = num; in migrateGetKeys() 1418 *numkeys = num; in georadiusGetKeys() 1454 *numkeys = 0; in xreadGetKeys() [all …]
|
| H A D | bitops.c | 594 unsigned long op, j, numkeys; in bitopCommand() local 623 numkeys = c->argc - 3; in bitopCommand() 624 src = zmalloc(sizeof(unsigned char*) * numkeys); in bitopCommand() 625 len = zmalloc(sizeof(long) * numkeys); in bitopCommand() 626 objects = zmalloc(sizeof(robj*) * numkeys); in bitopCommand() 627 for (j = 0; j < numkeys; j++) { in bitopCommand() 680 for (i = 1; i < numkeys; i++) { in bitopCommand() 693 for (i = 1; i < numkeys; i++) { in bitopCommand() 706 for (i = 1; i < numkeys; i++) { in bitopCommand() 735 for (i = 1; i < numkeys; i++) { in bitopCommand() [all …]
|
| H A D | lazyfree.c | 140 size_t numkeys = dictSize(ht1); in lazyfreeFreeDatabaseFromBioThread() local 143 atomicDecr(lazyfree_objects,numkeys); in lazyfreeFreeDatabaseFromBioThread()
|
| H A D | server.h | 1298 typedef int *redisGetKeysProc(struct redisCommand *cmd, robj **argv, int argc, int *numkeys); 1402 int *moduleGetCommandKeysViaAPI(struct redisCommand *cmd, robj **argv, int argc, int *numkeys); 1866 int *getKeysFromCommand(struct redisCommand *cmd, robj **argv, int argc, int *numkeys); 1868 int *zunionInterGetKeys(struct redisCommand *cmd,robj **argv, int argc, int *numkeys); 1869 int *evalGetKeys(struct redisCommand *cmd, robj **argv, int argc, int *numkeys); 1870 int *sortGetKeys(struct redisCommand *cmd, robj **argv, int argc, int *numkeys); 1871 int *migrateGetKeys(struct redisCommand *cmd, robj **argv, int argc, int *numkeys); 1872 int *georadiusGetKeys(struct redisCommand *cmd, robj **argv, int argc, int *numkeys); 1873 int *xreadGetKeys(struct redisCommand *cmd, robj **argv, int argc, int *numkeys); 1914 void blockForKeys(client *c, int btype, robj **keys, int numkeys, mstime_t timeout, robj *target, s…
|
| H A D | blocked.c | 497 void blockForKeys(client *c, int btype, robj **keys, int numkeys, mstime_t timeout, robj *target, s… in blockForKeys() argument 507 for (j = 0; j < numkeys; j++) { in blockForKeys()
|
| H A D | scripting.c | 1263 long long numkeys; in evalGenericCommand() local 1286 if (getLongLongFromObjectOrReply(c,c->argv[2],&numkeys,NULL) != C_OK) in evalGenericCommand() 1288 if (numkeys > (c->argc - 3)) { in evalGenericCommand() 1291 } else if (numkeys < 0) { in evalGenericCommand() 1345 luaSetGlobalArray(lua,"KEYS",c->argv+3,numkeys); in evalGenericCommand() 1346 luaSetGlobalArray(lua,"ARGV",c->argv+3+numkeys,c->argc-3-numkeys); in evalGenericCommand()
|
| H A D | cluster.c | 4532 unsigned int numkeys, j; in clusterCommand() local 4551 numkeys = getKeysInSlot(slot, keys, maxkeys); in clusterCommand() 4552 addReplyMultiBulkLen(c,numkeys); in clusterCommand() 4553 for (j = 0; j < numkeys; j++) { in clusterCommand() 5495 int margc, *keyindex, numkeys, j; in getNodeByQuery() local 5501 keyindex = getKeysFromCommand(mcmd,margv,margc,&numkeys); in getNodeByQuery() 5502 for (j = 0; j < numkeys; j++) { in getNodeByQuery()
|
| H A D | server.c | 3067 int *keys, numkeys, j; in commandCommand() local 3082 keys = getKeysFromCommand(cmd,c->argv+2,c->argc-2,&numkeys); in commandCommand() 3086 addReplyMultiBulkLen(c,numkeys); in commandCommand() 3087 for (j = 0; j < numkeys; j++) addReplyBulk(c,c->argv[keys[j]+2]); in commandCommand()
|
| H A D | module.c | 572 int *moduleGetCommandKeysViaAPI(struct redisCommand *cmd, robj **argv, int argc, int *numkeys) { in moduleGetCommandKeysViaAPI() argument 581 if (numkeys) *numkeys = ctx.keys_count; in moduleGetCommandKeysViaAPI()
|
| H A D | redis-cli.c | 3610 int numkeys = 0; in clusterManagerGetNodeWithMostKeysInSlot() local 3623 if (r->integer > numkeys || node == NULL) { in clusterManagerGetNodeWithMostKeysInSlot() 3624 numkeys = r->integer; in clusterManagerGetNodeWithMostKeysInSlot()
|
| /f-stack/app/redis-5.0.5/tests/cluster/tests/ |
| H A D | 04-resharding.tcl | 54 set numkeys 50000 88 set listid [randomInt $numkeys] 116 test "Verify $numkeys keys for consistency with logical content" { 136 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" {
|
| /f-stack/freebsd/netinet/ |
| H A D | tcp_fastopen.c | 308 SYSCTL_UINT(_net_inet_tcp_fastopen, OID_AUTO, numkeys,
|