Home
last modified time | relevance | path

Searched refs:numkeys (Results 1 – 14 of 14) sorted by relevance

/f-stack/app/redis-5.0.5/tests/unit/
H A Dmaxmemory.tcl40 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 Ddb.c541 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 Dbitops.c594 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 Dlazyfree.c140 size_t numkeys = dictSize(ht1); in lazyfreeFreeDatabaseFromBioThread() local
143 atomicDecr(lazyfree_objects,numkeys); in lazyfreeFreeDatabaseFromBioThread()
H A Dserver.h1298 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 Dblocked.c497 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 Dscripting.c1263 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 Dcluster.c4532 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 Dserver.c3067 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 Dmodule.c572 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 Dredis-cli.c3610 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 D04-resharding.tcl54 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 D10-manual-failover.tcl31 set numkeys 50000
40 set listid [randomInt $numkeys]
82 test "Verify $numkeys keys for consistency with logical content" {
/f-stack/freebsd/netinet/
H A Dtcp_fastopen.c308 SYSCTL_UINT(_net_inet_tcp_fastopen, OID_AUTO, numkeys,