| /redis-3.2.3/tests/support/ |
| H A D | test.tcl | 31 proc assert_error {pattern code} { argument 32 if {[catch {uplevel 1 $code} error]} { 57 return -code $errcode $result 63 return -code $errcode $result 67 proc test {name code {okpattern undefined}} { 95 if {[catch {set retval [uplevel 1 $code]} error]} {
|
| H A D | server.tcl | 134 proc tags {tags code} { argument 136 uplevel 1 $code 140 proc start_server {options {code undefined}} { 155 uplevel 1 $code 231 if {$code ne "undefined"} { 271 if {$code ne "undefined"} { 293 if {[catch { uplevel 1 $code } error]} {
|
| H A D | redis.tcl | 66 return -code $errorcode $retval 98 return -code error "I/O error reading reply" 194 if {$err ne {}} {return -code error $err} 207 - {return -code error [redis_read_line $fd]} 213 return -code error "I/O error reading reply" 215 return -code error "Bad protocol, '$type' as reply type byte"
|
| /redis-3.2.3/tests/ |
| H A D | instances.tcl | 248 proc test {descr code} { argument 253 if {[catch {set retval [uplevel 1 $code]} error]} { 260 return -code continue 364 proc foreach_instance_id {instances idvar code} { argument 367 set errcode [catch {uplevel 1 $code} result] 375 return -code $errcode $result 380 proc foreach_sentinel_id {idvar code} { argument 382 return -code $errcode $result 385 proc foreach_redis_id {idvar code} { argument 386 … set errcode [catch {uplevel 1 [list foreach_instance_id $::redis_instances $idvar $code]} result] [all …]
|
| /redis-3.2.3/tests/integration/ |
| H A D | redis-cli.tcl | 39 proc test_interactive_cli {name code} { 42 test "Interactive CLI: $name" $code 87 proc test_nontty_cli {name code} { 88 test "Non-interactive non-TTY CLI: $name" $code 92 proc test_tty_cli {name code} { 94 test "Non-interactive TTY CLI: $name" $code
|
| H A D | aof-race.tcl | 5 proc start_server_aof {overrides code} { argument 8 start_server [list overrides $config] $code
|
| H A D | aof.tcl | 10 proc create_aof {code} { argument 13 uplevel 1 $code 17 proc start_server_aof {overrides code} { argument 21 uplevel 1 $code
|
| H A D | rdb.tcl | 45 proc start_server_and_kill_it {overrides code} { argument 49 uplevel 1 $code
|
| /redis-3.2.3/deps/lua/doc/ |
| H A D | manual.css | 1 h3 code { 6 pre, code { selector
|
| /redis-3.2.3/ |
| H A D | CONTRIBUTING | 1 Note: by contributing code to the Redis project in any form, including sending 2 a pull request via Github, a code fragment or patch via private email or 3 public discussion groups, you agree to release your code under the terms 25 … forth. Read feedbacks about the community. But in this first step **please don't write code yet**.
|
| H A D | MANIFESTO | 39 suggest using other code written by other authors (frequently in other 42 the Divina Commedia. Is using any external code a bad idea? Not at all. Like 46 write smaller stories that will fit in to other code. 51 of code. Most of the time the best way to fight complexity is by not 64 7 - We optimize for joy. We believe writing code is a lot of hard work, and the 66 writing code, the best thing to do is stop. To prevent this, we'll avoid
|
| H A D | README.md | 51 source code of dependencies is changed. 53 When you update the source code with `git pull` or when code inside the 179 Note: by contributing code to the Redis project in any form, including sending 180 a pull request via Github, a code fragment or patch via private email or 181 public discussion groups, you agree to release your code under the terms
|
| /redis-3.2.3/deps/jemalloc/test/include/test/ |
| H A D | jemalloc_test.h.in | 26 * if assertions are disabled in the library code. These definitions must 40 "<jemalloc>: %s:%d: Unreachable code reached\n", \ 81 * expose the minimum necessary internal utility code (to avoid re-implementing 82 * essentially identical code within the test infrastructure). 132 * This header does dangerous things, the effects of which only test code
|
| /redis-3.2.3/deps/lua/src/ |
| H A D | luac.c | 131 f->code=luaM_newvector(L,pc,Instruction); in combine() 139 f->code[pc++]=CREATE_ABx(OP_CLOSURE,0,i); in combine() 140 f->code[pc++]=CREATE_ABC(OP_CALL,0,1,1); in combine() 142 f->code[pc++]=CREATE_ABC(OP_RETURN,0,1,0); in combine()
|
| H A D | ldebug.c | 283 check(pt->sizecode > 0 && GET_OPCODE(pt->code[pt->sizecode-1]) == OP_RETURN); in precheck() 288 #define checkopenop(pt,pc) luaG_checkopenop((pt)->code[(pc)+1]) 323 Instruction i = pt->code[pc]; in symbexec() 355 Instruction d = pt->code[dest-1-j]; in symbexec() 371 check(GET_OPCODE(pt->code[pc+1]) == OP_JMP); in symbexec() 377 check(GET_OPCODE(pt->code[pc+1]) != OP_SETLIST || in symbexec() 378 GETARG_C(pt->code[pc+1]) != 0); in symbexec() 456 OpCode op1 = GET_OPCODE(pt->code[pc + j]); in symbexec() 474 return pt->code[last]; in symbexec() 549 i = ci_func(ci)->l.p->code[currentpc(L, ci)]; in getfuncname()
|
| H A D | print.c | 76 const Instruction* code=f->code; in PrintCode() local 80 Instruction i=code[pc]; in PrintCode() 148 if (c==0) printf("\t; %d",(int)code[++pc]); in PrintCode()
|
| H A D | ldebug.h | 14 #define pcRel(pc, p) (cast(int, (pc) - (p)->code) - 1)
|
| /redis-3.2.3/deps/jemalloc/include/jemalloc/ |
| H A D | jemalloc_mangle.sh | 8 * By default application code must explicitly refer to mangled symbol names, 31 * meant for use in jemalloc itself, but it can be used by application code to
|
| /redis-3.2.3/deps/lua/etc/ |
| H A D | README | 1 This directory contains some useful files and code. 2 Unlike the code in ../src, everything here is in the public domain.
|
| /redis-3.2.3/deps/linenoise/ |
| H A D | README.markdown | 10 * About 1,100 lines of BSD license source code. 13 ## Can a line editing library be 20k lines of code? 15 …ifferent command. But apparently code dealing with terminals is some sort of Black Magic: readline… 24 …rary: is it *really* needed for a line editing library to be 20k lines of code? Apparently not, it… 31 …nes of code. In order to use it in your project just look at the *example.c* file in the source di… 52 easy to understand code.
|
| /redis-3.2.3/utils/hashtable/ |
| H A D | README | 8 Redis soon, however visualizaiton some code is reusable in new bugs
|
| /redis-3.2.3/deps/jemalloc/ |
| H A D | INSTALL | 88 Disable code that silences non-useful compiler warnings. This is mainly 93 Enable assertions and validation code. This incurs a substantial 97 --enable-code-coverage 98 Enable code coverage support, for use during jemalloc test development. 106 These targets do not clear code coverage results from previous runs, and 108 usually advisable to run 'make clean' between repeated code coverage runs. 115 Enable validation code, which verifies that pointers reside within 177 Enable code that wraps pthread_create() to detect when an application
|
| /redis-3.2.3/deps/lua/ |
| H A D | HISTORY | 98 + code now compiles unmodified as both ANSI C and C++. 126 + major code re-organization and clean-up; reduced module interdependecies. 143 Existing code that uses fallbacks should work without change. 147 + cleaner semantics in API simplifies host code.
|
| /redis-3.2.3/src/ |
| H A D | scripting.c | 853 sds code = sdsempty(); in scriptingEnableGlobalsProtection() local 879 for (j = 0; s[j] != NULL; j++) code = sdscatlen(code,s[j],strlen(s[j])); in scriptingEnableGlobalsProtection() 880 luaL_loadbuffer(lua,code,sdslen(code),"@enable_strict_lua"); in scriptingEnableGlobalsProtection() 882 sdsfree(code); in scriptingEnableGlobalsProtection() 2139 sds code = sdsjoinsds(argv+1,argc-1," ",1); in ldbEval() local 2140 sds expr = sdscatsds(sdsnew("return "),code); in ldbEval() 2146 if (luaL_loadbuffer(lua,code,sdslen(code),"@ldb_eval")) { in ldbEval() 2149 sdsfree(code); in ldbEval() 2155 sdsfree(code); in ldbEval()
|
| /redis-3.2.3/deps/jemalloc/include/jemalloc/internal/ |
| H A D | jemalloc_internal_defs.h.in | 105 /* JEMALLOC_CC_SILENCE enables code that silences unuseful compiler warnings. */ 108 /* JEMALLOC_CODE_COVERAGE enables test code coverage analysis. */ 235 /* For use by hash code. */
|