Home
last modified time | relevance | path

Searched refs:used (Results 1 – 25 of 36) sorted by relevance

12

/redis-3.2.3/deps/hiredis/
H A Ddict.c69 ht->used = 0; in _dictReset()
94 if (ht->used > size) in dictExpand()
105 n.used = ht->used; in dictExpand()
106 for (i = 0; i < ht->size && ht->used > 0; i++) { in dictExpand()
121 ht->used--; in dictExpand()
126 assert(ht->used == 0); in dictExpand()
152 ht->used++; in dictAdd()
203 ht->used--; in dictDelete()
217 for (i = 0; i < ht->size && ht->used > 0; i++) { in _dictClear()
226 ht->used--; in _dictClear()
[all …]
H A DREADME.md14 is a stream parser designed for easy reusability, which can for instance be used
40 The function `redisConnect` is used to create a so-called `redisContext`. The
58 it is used like this:
68 used. Together with a pointer to the string, it requires a `size_t` length argument
74 convert it to the protocol used to communicate with Redis.
89 `type` field in the `redisReply` should be used to test what kind of reply
122 asynchronous API is used. This means you should not call `freeReplyObject` when
129 To disconnect and free the context the following function can be used:
192 This API can also be used to implement a blocking subscriber:
276 The functions that can be used to issue commands in an asynchronous context are:
[all …]
H A Ddict.h65 unsigned long used; member
111 #define dictSize(ht) ((ht)->used)
H A DCOPYING16 * Neither the name of Redis nor the names of its contributors may be used
/redis-3.2.3/deps/jemalloc/bin/
H A Djemalloc-config.in11 --config : Print configure options used to build jemalloc.
18 --cc : Print compiler used to build jemalloc.
19 --cflags : Print compiler flags used to build jemalloc.
20 --cppflags : Print preprocessor flags used to build jemalloc.
21 --ldflags : Print library flags used to build jemalloc.
/redis-3.2.3/src/
H A Ddict.c164 ht->used = 0; in _dictReset()
197 minimal = d->ht[0].used; in dictResize()
221 n.used = 0; in dictExpand()
269 d->ht[0].used--; in dictRehash()
270 d->ht[1].used++; in dictRehash()
278 if (d->ht[0].used == 0) { in dictRehash()
367 ht->used++; in dictAddRaw()
473 ht->used--; in _dictClear()
497 if (d->ht[0].used + d->ht[1].used == 0) return NULL; /* dict is empty */ in dictFind()
532 integers[2] = d->ht[0].used; in dictFingerprint()
[all …]
H A Ddebug.c375 nextra += used; in debugCommand()
376 remaining -= used; in debugCommand()
379 used = snprintf(nextra, remaining, " ql_avg_node:%.2f", avg); in debugCommand()
380 nextra += used; in debugCommand()
381 remaining -= used; in debugCommand()
384 nextra += used; in debugCommand()
385 remaining -= used; in debugCommand()
389 nextra += used; in debugCommand()
390 remaining -= used; in debugCommand()
397 nextra += used; in debugCommand()
[all …]
H A Dgeo.c58 ga->used = 0; in geoArrayCreate()
65 if (ga->used == ga->buckets) { in geoArrayAppend()
69 geoPoint *gp = ga->array+ga->used; in geoArrayAppend()
70 ga->used++; in geoArrayAppend()
77 for (i = 0; i < ga->used; i++) sdsfree(ga->array[i].member); in geoArrayFree()
229 size_t origincount = ga->used; in geoGetPointsInRange()
285 return ga->used - origincount; in geoGetPointsInRange()
540 if (ga->used == 0 && storekey == NULL) { in georadiusGeneric()
546 long result_length = ga->used; in georadiusGeneric()
H A Dzipmap.c187 unsigned int used; in zipmapRawValueLength() local
189 used = zipmapEncodeLength(NULL,l); in zipmapRawValueLength()
190 used += p[used] + 1 + l; in zipmapRawValueLength()
191 return used; in zipmapRawValueLength()
H A Ddict.h73 unsigned long used; member
146 #define dictSize(d) ((d)->ht[0].used+(d)->ht[1].used)
H A Daof.c63 unsigned long used, free; member
87 size += block->used; in aofRewriteBufferSize()
112 if (block->used > 0) { in aofChildWriteDiffData()
114 block->buf,block->used); in aofChildWriteDiffData()
117 block->used -= nwritten; in aofChildWriteDiffData()
134 memcpy(block->buf+block->used, s, thislen); in aofRewriteBufferAppend()
135 block->used += thislen; in aofRewriteBufferAppend()
147 block->used = 0; in aofRewriteBufferAppend()
183 if (block->used) { in aofRewriteBufferWrite()
184 nwritten = write(fd,block->buf,block->used); in aofRewriteBufferWrite()
[all …]
H A Dgeo.h19 size_t used; member
/redis-3.2.3/tests/unit/
H A Dmaxmemory.tcl35 set used [s used_memory]
67 set used [s used_memory]
109 set used [s used_memory]
H A Dmemefficiency.tcl19 set used [expr {$current_mem-$base_mem}]
/redis-3.2.3/deps/jemalloc/include/jemalloc/
H A Djemalloc_mangle.sh29 * The ${symbol_prefix}* macros can be used as stable alternative names for the
31 * meant for use in jemalloc itself, but it can be used by application code to
/redis-3.2.3/deps/linenoise/
H A DREADME.markdown3 A minimal, zero-config, BSD licensed, readline replacement used in Redis,
29 VT220 specific sequences are used anymore.
65 and history capabilities. The prompt you specify is used as a prompt, that is,
78 allocation library, so you may also used `linenoiseFree` to make sure the
81 The canonical loop used by a program using Linenoise will be something like
92 screen will be used, and as the user types more, the text will scroll towards
95 screens rows are used, can be a lot more comfortable.
144 a `linenoiseCompletions` object pointer, which is used as argument of
197 a function to deallocate the hint string once used:
206 current terminal foreground color is used. If no bold attribute is set,
/redis-3.2.3/deps/
H A DREADME.md4 * **Jemalloc** is our memory allocator, used as replacement for libc malloc on Linux by default. It…
6 * **hiredis** is the official C client library for Redis. It is used by redis-cli, redis-benchmark …
31 …t must be the same version used inside Redis itself. Hiredis is also very critical for Sentinel. H…
/redis-3.2.3/deps/lua/
H A DREADME9 applications. Lua is also frequently used as a general-purpose, stand-alone
15 Lua has been used in many different projects around the world.
H A DCOPYRIGHT5 This means that Lua is free software and can be used for both academic
/redis-3.2.3/utils/create-cluster/
H A DREADME1 Create-custer is a small script used to easily start a big number of Redis
7 The tool can also be used just to easily create a number of instances in a
/redis-3.2.3/deps/jemalloc/include/jemalloc/internal/
H A Djemalloc_internal_defs.h.in12 * JEMALLOC_PRIVATE_NAMESPACE is used as a prefix for all library-private APIs.
81 * FreeBSD, pthread_key_create() allocates, which if used during malloc
97 * _pthread_mutex_init_calloc_cb(), in which case the function is used in order
188 /* TLS is used to map arenas and magazine caches to threads. */
/redis-3.2.3/utils/lru/
H A DREADME1 The test-lru.rb program can be used in order to check the behavior of the
/redis-3.2.3/deps/lua/etc/
H A DREADME5 used to build Lua. Set MYLIBS in Makefile accordingly.
/redis-3.2.3/deps/jemalloc/src/
H A Dtsd.c156 JEMALLOC_SECTION(".CRT$XLY") JEMALLOC_ATTR(used)
/redis-3.2.3/
H A DCOPYING8 …* Neither the name of Redis nor the names of its contributors may be used to endorse or promote pr…

12