Home
last modified time | relevance | path

Searched refs:when (Results 1 – 23 of 23) sorted by relevance

/redis-3.2.3/tests/unit/
H A Dauth.tcl9 test {AUTH fails when a wrong password is given} {
14 test {Arbitrary command gives an error when AUTH is required} {
19 test {AUTH succeeds when the right password is given} {
H A Dhyperloglog.tcl16 test {PFADD returns 1 when at least 1 reg was modified} {
20 test {PFADD returns 0 when no reg was modified} {
H A Dmulti.tcl159 test {UNWATCH when there is nothing watched works as expected} {
H A Dscripting.tcl237 -- when unpacked, re.x.x != re because the unpack creates
/redis-3.2.3/deps/hiredis/
H A DREADME.md26 code using hiredis should not be a big pain. The key thing to keep in mind when
42 struct has an integer `err` field that is non-zero when an the connection is in
82 The return value of `redisCommand` holds a reply when the command was
121 **Important:** the current version of hiredis (0.10.0) free's replies when the
122 asynchronous API is used. This means you should not call `freeReplyObject` when
125 keep an eye on the changelog when upgrading (see issue #39).
325 The same set of functions are used internally by hiredis when creating a
360 Both when using the Reader API directly or when using it indirectly via a
363 Usually this buffer is destroyed when it is empty and is larger than 16
366 However when working with very big payloads destroying the buffer may slow
[all …]
H A DCHANGELOG.md17 * Issue #43: Don't crash in an asynchronous context when Redis returns an error
18 reply after the connection has been made (this happens when the maximum
/redis-3.2.3/
H A DMANIFESTO45 when needed. At the same time, when writing the Redis story we're trying to
49 complexity. We'll accept to fight the complexity when it's worthwhile but
50 we'll try hard to recognize when a small feature is not worth 1000s of lines
59 the illusion of something that will work magically when actually it can't in
H A D00-RELEASENOTES56 2. Redis Sentinel, when monitoring multiple masters, could crash after
100 information about the RDB file, like the version that produced it, when
132 Replication: when possible start RDB saving ASAP.
140 Sentinel: check Slave INFO state more often when disconnected.
164 Fix for redis_cli printing default DB when select command fails.
425 | fix check when can't send the command to the promoted slave
531 So a step of 26 was actually already used, except when one of 27 was
672 | fix crash in BITFIELD GET when key is integer encoded
735 in the help.h file when the redis-cli binary was compiled.
1350 | Fix INFO commandstats reporting when argv is rewritten.
[all …]
H A DREADME.md53 When you update the source code with `git pull` or when code inside the
73 In case of build errors when trying to build a 32 bit binary of Redis, try
83 Selecting a non-default memory allocator when building Redis is done by setting
/redis-3.2.3/deps/jemalloc/
H A DINSTALL52 --with-jemalloc-prefix, and mangled symbols are then ignored when applying
72 Don't export public APIs. This can be useful when building jemalloc as a
73 static library, or to avoid exporting public APIs when using the zone
177 Enable code that wraps pthread_create() to detect when an application
198 Specify where to find DocBook XSL stylesheets when building the
208 option may be useful when cross-compiling in combination with
306 'cpp' when 'configure' is looking for include files, so you must use
313 Pass these flags when linking.
348 Optionally, define make variables when invoking make, including (not
362 when installing to a different path than was specified via --prefix.
[all …]
H A DChangeLog13 allocations when --enable-cache-oblivious configure option is enabled.
29 - Fix irallocx_prof_sample() to always allocate large regions, even when
45 fast path when heap profiling is enabled. Additionally, split a special
49 prior implementation appears to have been a holdover from when
84 match glibc and avoid compilation errors when including both
236 calloc(), and realloc() when profiling is enabled.
328 - Fix huge deallocation to junk fill when munmap is disabled.
333 - Add missing private namespace mangling (relevant when
648 - Use Linux's mremap(2) for huge object reallocation when possible.
649 - Avoid locking in mallctl*() when possible.
[all …]
H A Dconfigure.ac1246 [Enable lazy locking (only lock when multi-threaded)])],
H A Dconfigure1428 --enable-lazy-lock Enable lazy locking (only lock when multi-threaded)
/redis-3.2.3/src/
H A Ddb.c847 void setExpire(redisDb *db, robj *key, long long when) { in setExpire() argument
854 dictSetSignedIntegerVal(de,when); in setExpire()
897 mstime_t when = getExpire(db,key); in expireIfNeeded() local
900 if (when < 0) return 0; /* No expire for this key */ in expireIfNeeded()
919 if (server.masterhost != NULL) return now > when; in expireIfNeeded()
922 if (now <= when) return 0; in expireIfNeeded()
947 if (getLongLongFromObjectOrReply(c, param, &when, NULL) != C_OK) in expireGenericCommand()
950 if (unit == UNIT_SECONDS) when *= 1000; in expireGenericCommand()
951 when += basetime; in expireGenericCommand()
965 if (when <= mstime() && !server.loading && !server.masterhost) { in expireGenericCommand()
[all …]
H A Daof.c482 long long when; in catAppendOnlyExpireAtCommand() local
487 when = strtoll(seconds->ptr,NULL,10); in catAppendOnlyExpireAtCommand()
492 when *= 1000; in catAppendOnlyExpireAtCommand()
498 when += mstime(); in catAppendOnlyExpireAtCommand()
504 argv[2] = createStringObjectFromLongLong(when); in catAppendOnlyExpireAtCommand()
H A Dserver.h1404 void setExpire(redisDb *db, robj *key, long long when);
/redis-3.2.3/deps/jemalloc/include/jemalloc/
H A Djemalloc_defs.h.in30 * If defined, specify throw() for the public function prototypes when compiling
/redis-3.2.3/deps/jemalloc/include/jemalloc/internal/
H A Djemalloc_internal_defs.h.in135 * when the cache is in the steady state.
174 * automatically coalesce, and they fragment when changes are made to subranges.
257 * If defined, jemalloc symbols are not exported (doesn't work when
/redis-3.2.3/utils/create-cluster/
H A DREADME4 unit tests, for example when a lot of instances are needed in order to trigger
/redis-3.2.3/deps/linenoise/
H A DREADME.markdown67 with the line composed by the user, or NULL on end of file or when there
117 to the top of the history (it will be the first the user will see when
132 input when she or he presses the `<TAB>` key.
163 Linenoise has a feature called *hints* which is very useful when you
/redis-3.2.3/deps/lua/
H A DHISTORY37 + new __newindex metamethod, called when we insert a new key into a table.
134 + sample interpreter now prompts user when run interactively, and also
H A DINSTALL60 relevant variables when invoking make.
/redis-3.2.3/tests/integration/
H A Dreplication.tcl73 test {BRPOPLPUSH replication, when blocking against empty list} {