Home
last modified time | relevance | path

Searched refs:replies (Results 1 – 8 of 8) sorted by relevance

/redis-3.2.3/deps/hiredis/
H A Dtest.c501 redisReply **replies; in test_throughput() local
514 assert(replies[i] != NULL && replies[i]->type == REDIS_REPLY_STATUS); in test_throughput()
518 free(replies); in test_throughput()
525 assert(replies[i] != NULL && replies[i]->type == REDIS_REPLY_ARRAY); in test_throughput()
526 assert(replies[i] != NULL && replies[i]->elements == 500); in test_throughput()
530 free(replies); in test_throughput()
540 assert(replies[i] != NULL && replies[i]->type == REDIS_REPLY_STATUS); in test_throughput()
544 free(replies); in test_throughput()
553 assert(replies[i] != NULL && replies[i]->type == REDIS_REPLY_ARRAY); in test_throughput()
554 assert(replies[i] != NULL && replies[i]->elements == 500); in test_throughput()
[all …]
H A Dasync.c133 ac->replies.head = NULL; in redisAsyncInitialize()
134 ac->replies.tail = NULL; in redisAsyncInitialize()
271 while (__redisShiftCallback(&ac->replies,&cb) == REDIS_OK) in __redisAsyncFree()
328 assert(__redisShiftCallback(&ac->replies,NULL) == REDIS_ERR); in __redisAsyncDisconnect()
349 if (!(c->flags & REDIS_IN_CALLBACK) && ac->replies.head == NULL) in redisAsyncDisconnect()
417 __redisPushCallback(&ac->replies,&cb); in redisProcessCallbacks()
427 if (__redisShiftCallback(&ac->replies,&cb) != REDIS_OK) { in redisProcessCallbacks()
617 __redisPushCallback(&ac->replies,&cb); in __redisAsyncCommand()
624 __redisPushCallback(&ac->replies,&cb); in __redisAsyncCommand()
H A Dasync.h93 redisCallbackList replies; member
H A DREADME.md12 Apart from supporting sending commands and receiving replies, it comes with
80 ### Using replies
88 The standard replies that `redisCommand` are of the type `redisReply`. The
117 Note that this function will take care of freeing sub-replies objects
119 free the sub replies (it is actually harmful and will corrupt the memory).
121 **Important:** the current version of hiredis (0.10.0) free's replies when the
177 subsequent replies. The return value for this function is either `REDIS_OK` or `REDIS_ERR`, where
304 have been written to the socket, their respective replies have been read and their respective
345 ### Customizing replies
/redis-3.2.3/src/
H A Dredis-cli.c1770 long long errors = 0, replies = 0, obuf_len = 0, obuf_pos = 0; in pipeMode() local
1833 replies--; in pipeMode()
1836 replies++; in pipeMode()
1916 printf("errors: %lld, replies: %lld\n", errors, replies); in pipeMode()
H A Dsentinel.c986 redisCallbackList *callbacks = &link->cc->replies; in releaseInstanceLink()
/redis-3.2.3/tests/unit/
H A Dscripting.tcl2 test {EVAL - Does Lua interpreter replies to our requests?} {
/redis-3.2.3/
H A D00-RELEASENOTES378 | fix georadius returns multiple replies