| /redis-3.2.3/src/ |
| H A D | intset.c | 165 is = intsetResize(is,intrev32ifbe(is->length)+1); in intsetUpgradeAndAdd() 224 is = intsetResize(is,intrev32ifbe(is->length)+1); in intsetAdd() 247 is = intsetResize(is,len-1); in intsetRemove() 329 is = intsetAdd(is,value,NULL); in createSet() 400 is = intsetAdd(is,32,NULL); in intsetTest() 402 is = intsetAdd(is,65535,NULL); in intsetTest() 409 is = intsetAdd(is,32,NULL); in intsetTest() 421 is = intsetAdd(is,32,NULL); in intsetTest() 430 is = intsetAdd(is,32,NULL); in intsetTest() 442 is = intsetAdd(is,65535,NULL); in intsetTest() [all …]
|
| H A D | intset.h | 42 intset *intsetAdd(intset *is, int64_t value, uint8_t *success); 43 intset *intsetRemove(intset *is, int64_t value, int *success); 44 uint8_t intsetFind(intset *is, int64_t value); 45 int64_t intsetRandom(intset *is); 46 uint8_t intsetGet(intset *is, uint32_t pos, int64_t *value); 47 uint32_t intsetLen(intset *is); 48 size_t intsetBlobLen(intset *is);
|
| /redis-3.2.3/deps/ |
| H A D | README.md | 4 …is our memory allocator, used as replacement for libc malloc on Linux by default. It has good perf… 5 …is inside the dependencies directory but is actually part of the Redis project, since it is our pr… 6 …is the official C client library for Redis. It is used by redis-cli, redis-benchmark and Redis Sen… 7 * **linenoise** is a readline replacement. It is developed by the same authors of Redis but is mana… 8 * **lua** is Lua 5.1 with minor changes for security and additional libraries. 26 …is never upgraded since it's part of the Redis project. If there are changes to merge from Ardb th… 41 Linenoise is rarely upgraded as needed. The upgrade process is trivial since 53 capabilities of 5.1 are usually more than enough, the release is rock solid, 56 So upgrading of Lua is up to the Redis project maintainers and should be a 62 1. Makefile is modified to allow a different compiler than GCC. [all …]
|
| /redis-3.2.3/deps/linenoise/ |
| H A D | README.markdown | 17 So what usually happens is either: 19 …is not present in the system, or not supporting it at all since readline is GPL licensed and libed… 65 and history capabilities. The prompt you specify is used as a prompt, that is, 68 is an out of memory condition. 70 When a tty is detected (the user is actually typing into a terminal session) 79 line is freed with the same allocator it was created. 93 left to make room. This works if your program is one where the user is 170 to the color the user is typing, and can also be bold. 180 The callback itself is implemented like this: 206 current terminal foreground color is used. If no bold attribute is set, [all …]
|
| /redis-3.2.3/deps/hiredis/ |
| H A D | README.md | 42 struct has an integer `err` field that is non-zero when an the connection is in 58 it is used like this: 158 After the command is put in the output buffer, `redisGetReply` is called. This function has the 161 1. The input buffer is non-empty: 164 2. The input buffer is empty: 169 is expected on the socket. To pipeline commands, the only things that needs to be done is 237 Because the connection that will be created is non-blocking, the kernel is not able to 269 that is called when the reply is received. Reply callbacks should have the following prototype: 291 for a command is non-`NULL`, the memory is free'd immediately following the callback: the reply is … 302 When this function is called, the connection is **not** immediately terminated. Instead, new [all …]
|
| /redis-3.2.3/ |
| H A D | MANIFESTO | 1 [Note: this is the Redis manifesto, for general information about 7 1 - A DSL for Abstract Data Types. Redis is a DSL (Domain Specific Language) 17 2 - Memory storage is #1. The Redis data set, composed of defined key-value 18 pairs, is primarily stored in the computer's memory. The amount of memory in 19 all kinds of computers, including entry-level servers, is increasing 20 significantly each year. Memory is fast, and allows Redis to have very 34 so that the complexity is obvious and more complex operations can be 37 4 - Code is like a poem; it's not just something we write to reach some 51 of code. Most of the time the best way to fight complexity is by not 65 only way it can be worth is by enjoying it. When there is no longer joy in [all …]
|
| H A D | README.md | 3 What is Redis? 10 …served and modified into the server memory. This means that Redis is fast, but that is also non-vo… 16 If you want to know more, this is a list of selected starting points: 31 support for this platform is *best effort* and Redis is not guaranteed to 34 It is as simple as: 42 After building Redis is a good idea to test it, using: 51 source code of dependencies is changed. 54 dependencies tree is modified in any other way, make sure to use the following 84 the `MALLOC` environment variable. Redis is compiled and linked against libc 119 It is possible to alter the Redis configuration passing parameters directly [all …]
|
| H A D | 00-RELEASENOTES | 29 now fixed. The applied fix is from Chris Lamb. 172 CONFIG GET is now no longer case sensitive. 327 The effect is that if there is an instance running on port 6339, 328 whatever port you specify is ignored and 6379 is connected to instead. 758 Hello, this is Redis 3.2.0 stable! And with the new release there is a new 800 As usually what "stable" means is that we are confident the release is mature, 1266 a timer event (that is the time after it want to run again) is added 1269 infinite loop is triggered. 1356 even when what is actually executed is the ZADD implementation. 1611 the specified weight is zero. [all …]
|
| /redis-3.2.3/deps/jemalloc/include/jemalloc/internal/ |
| H A D | jemalloc_internal_defs.h.in | 4 * If JEMALLOC_PREFIX is defined via --with-jemalloc-prefix, it will cause all 12 * JEMALLOC_PRIVATE_NAMESPACE is used as a prefix for all library-private APIs. 59 * Defined if madvise(2) is available. 70 * Defined if secure_getenv(3) is available. 75 * Defined if issetugid(2) is available. 102 /* Non-empty if the tls_model attribute is supported. */ 135 * when the cache is in the steady state. 160 /* Minimum size class to support is 2^LG_TINY_MIN bytes. */ 169 /* One page is 2^LG_PAGE bytes. */ 188 /* TLS is used to map arenas and magazine caches to threads. */ [all …]
|
| /redis-3.2.3/tests/integration/ |
| H A D | replication-2.tcl | 9 test {If min-slaves-to-write is honored, write is accepted} { 20 test {No write if min-slaves-to-write is < attached slaves} { 27 test {If min-slaves-to-write is honored, write is accepted (again)} { 38 test {No write if min-slaves-max-lag is > of the slave lag} { 51 test {min-slaves-to-write is ignored by slaves} {
|
| /redis-3.2.3/deps/lua/ |
| H A D | README | 6 * What is Lua? 8 Lua is a powerful, light-weight programming language designed for extending 9 applications. Lua is also frequently used as a general-purpose, stand-alone 10 language. Lua is free software. 20 Lua is freely available for both academic and commercial purposes. 26 Lua is implemented in pure ANSI C, and compiles unmodified in all known 32 Lua is developed at Lua.org, a laboratory of the Department of Computer
|
| H A D | INSTALL | 5 Lua is built in the src directory, but the build process can be 9 see if your platform is listed. If so, just do "make xxx", where xxx 10 is your platform name. The platforms currently supported are: 13 If your platform is not listed, try the closest one or posix, generic, 30 where xxx is your platform name. 48 "make install INSTALL_TOP=xxx", where xxx is your chosen directory. 66 We strongly recommend that you enable dynamic loading. This is done 90 If all you want is to build the Lua interpreter, you may put all .c files
|
| H A D | COPYRIGHT | 4 Lua is licensed under the terms of the MIT license reproduced below. 5 This means that Lua is free software and can be used for both academic 14 Permission is hereby granted, free of charge, to any person obtaining a copy 18 copies of the Software, and to permit persons to whom the Software is
|
| /redis-3.2.3/deps/jemalloc/include/jemalloc/ |
| H A D | jemalloc_defs.h.in | 1 /* Defined if __attribute__((...)) syntax is supported. */ 4 /* Defined if alloc_size attribute is supported. */ 7 /* Defined if format(gnu_printf, ...) attribute is supported. */ 10 /* Defined if format(printf, ...) attribute is supported. */ 31 * with C++. The only justification for this is to match the prototypes that
|
| H A D | jemalloc_mangle.sh | 9 * so that it is possible to use jemalloc in conjunction with another allocator 30 * public jemalloc API if JEMALLOC_NO_DEMANGLE is defined. This is primarily
|
| H A D | jemalloc_rename.sh | 7 * Name mangling for public symbols is controlled by --with-mangling and 8 * --with-jemalloc-prefix. With default settings the je_ prefix is stripped by
|
| /redis-3.2.3/deps/jemalloc/ |
| H A D | INSTALL | 9 that might work is: 16 Note that documentation is not built by the default target because doing so 24 functionality is enabled, where jemalloc is installed, etc. Optionally, pass 40 it is linked to. This works only on ELF-based systems. 56 Prefix all public APIs with <prefix>. For example, if <prefix> is 67 By default, the prefix is "", except on OS X, where it is "je_". On OS X, 181 thread-specific caching is disabled. 210 libc, wherein jemalloc is embedded. 259 technically cheats if --with-lg-tiny-min is smaller than 270 incorporated if <lg-tiny-min> is less than <lg-quantum> (see [all …]
|
| H A D | ChangeLog | 30 alignment is non-zero. 36 This is a bugfix release that is somewhat high risk due to the amount of 96 cumulative effect is substantial. 238 "secondary" precedence is specified, but sbrk(2) is not supported. 334 --with-private-namespace is specified). 338 this error path is never executed. 414 is undefined. 462 of which is not reflected in the ChangeLog. This is the first release to 537 is 0. 683 is now: [all …]
|
| /redis-3.2.3/tests/unit/ |
| H A D | multi.tcl | 41 test {WATCH inside MULTI is not allowed} { 77 test {If EXEC aborts, the client MULTI state is cleared} { 124 test {After successful EXEC key is no longer watched} { 136 test {After failed EXEC key is no longer watched} { 149 test {It is possible to UNWATCH} { 159 test {UNWATCH when there is nothing watched works as expected} { 163 test {FLUSHALL is able to touch the watched keys} { 181 test {FLUSHDB is able to touch the watched keys} { 199 test {WATCH is able to remember the DB a key belongs to} { 270 test {MULTI / EXEC is propagated correctly (empty transaction)} { [all …]
|
| H A D | auth.tcl | 2 test {AUTH fails if there is no password configured server side} { 9 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 D | obuf-limits.tcl | 2 test {Client output buffer hard limit is enforced} { 22 test {Client output buffer soft limit is not enforced if time is not overreached} { 48 test {Client output buffer soft limit is enforced if time is overreached} {
|
| H A D | latency-monitor.tcl | 15 test {LATENCY HISTORY output is ok} { 27 test {LATENCY LATEST output is ok} { 37 test {LATENCY HISTORY / RESET with wrong event name is fine} { 46 test {LATENCY RESET is able to reset events} {
|
| /redis-3.2.3/utils/ |
| H A D | redis_init_script.tpl | 6 echo "$PIDFILE exists, process is already running or crashed" 15 echo "$PIDFILE does not exist, process is not running" 32 echo 'Redis is not running' 34 echo "Redis is running ($PID)"
|
| /redis-3.2.3/utils/create-cluster/ |
| H A D | README | 1 Create-custer is a small script used to easily start a big number of Redis 2 instances configured to run in cluster mode. Its main goal is to allow manual 3 testing in a condition which is not easy to replicate with the Redis cluster
|
| /redis-3.2.3/utils/lru/ |
| H A D | README | 8 is enough for all the objects to have a different enough time stamp during 11 The program is executed like this:
|