Searched refs:remaining (Results 1 – 6 of 6) sorted by relevance
| /redis-3.2.3/src/ |
| H A D | syncio.c | 52 long long remaining = timeout; in syncWrite() local 55 long long wait = (remaining > SYNCIO__RESOLUTION) ? in syncWrite() 56 remaining : SYNCIO__RESOLUTION; in syncWrite() 77 remaining = timeout - elapsed; in syncWrite() 88 long long remaining = timeout; in syncRead() local 92 long long wait = (remaining > SYNCIO__RESOLUTION) ? in syncRead() 93 remaining : SYNCIO__RESOLUTION; in syncRead() 116 remaining = timeout - elapsed; in syncRead()
|
| H A D | debug.c | 371 int remaining = sizeof(extra); in debugCommand() local 374 int used = snprintf(nextra, remaining, " ql_nodes:%u", ql->len); in debugCommand() 376 remaining -= used; in debugCommand() 379 used = snprintf(nextra, remaining, " ql_avg_node:%.2f", avg); in debugCommand() 381 remaining -= used; in debugCommand() 383 used = snprintf(nextra, remaining, " ql_ziplist_max:%d", ql->fill); in debugCommand() 385 remaining -= used; in debugCommand() 388 used = snprintf(nextra, remaining, " ql_compressed:%d", compressed); in debugCommand() 390 remaining -= used; in debugCommand() 396 used = snprintf(nextra, remaining, " ql_uncompressed_size:%lu", sz); in debugCommand() [all …]
|
| H A D | geo.c | 483 int remaining = c->argc - base_args; in georadiusGeneric() local 484 for (int i = 0; i < remaining; i++) { in georadiusGeneric() 496 } else if (!strcasecmp(arg, "count") && (i+1) < remaining) { in georadiusGeneric() 504 } else if (!strcasecmp(arg, "store") && (i+1) < remaining) { in georadiusGeneric() 508 } else if (!strcasecmp(arg, "storedist") && (i+1) < remaining) { in georadiusGeneric()
|
| H A D | t_zset.c | 1990 int remaining = c->argc - j; in zunionInterGenericCommand() local 1992 while (remaining) { in zunionInterGenericCommand() 1994 j++; remaining--; in zunionInterGenericCommand() 2004 j++; remaining--; in zunionInterGenericCommand() 2016 j++; remaining--; in zunionInterGenericCommand() 2320 int remaining = c->argc - 4; in genericZrangebyscoreCommand() local 2323 while (remaining) { in genericZrangebyscoreCommand() 2325 pos++; remaining--; in genericZrangebyscoreCommand() 2330 pos += 3; remaining -= 3; in genericZrangebyscoreCommand() 2670 int remaining = c->argc - 4; in genericZrangebylexCommand() local [all …]
|
| H A D | t_set.c | 473 unsigned long remaining = size-count; /* Elements left after SPOP. */ in spopWithCountCommand() local 482 if (remaining*SPOP_MOVE_STRATEGY_MUL > count) { in spopWithCountCommand() 513 while(remaining--) { in spopWithCountCommand()
|
| H A D | networking.c | 1324 int remaining = (unsigned)(c->bulklen+2)-sdslen(c->querybuf); in readQueryFromClient() local 1326 if (remaining < readlen) readlen = remaining; in readQueryFromClient()
|