Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 47) sorted by relevance

12

/redis-3.2.3/tests/support/
H A Dtest.tcl31 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 Dserver.tcl134 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 Dredis.tcl66 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 Dinstances.tcl248 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 Dredis-cli.tcl39 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 Daof-race.tcl5 proc start_server_aof {overrides code} { argument
8 start_server [list overrides $config] $code
H A Daof.tcl10 proc create_aof {code} { argument
13 uplevel 1 $code
17 proc start_server_aof {overrides code} { argument
21 uplevel 1 $code
H A Drdb.tcl45 proc start_server_and_kill_it {overrides code} { argument
49 uplevel 1 $code
/redis-3.2.3/deps/lua/doc/
H A Dmanual.css1 h3 code {
6 pre, code { selector
/redis-3.2.3/
H A DCONTRIBUTING1 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 DMANIFESTO39 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 DREADME.md51 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 Djemalloc_test.h.in26 * 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 Dluac.c131 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 Dldebug.c283 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 Dprint.c76 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 Dldebug.h14 #define pcRel(pc, p) (cast(int, (pc) - (p)->code) - 1)
/redis-3.2.3/deps/jemalloc/include/jemalloc/
H A Djemalloc_mangle.sh8 * 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 DREADME1 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 DREADME.markdown10 * 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 DREADME8 Redis soon, however visualizaiton some code is reusable in new bugs
/redis-3.2.3/deps/jemalloc/
H A DINSTALL88 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 DHISTORY98 + 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 Dscripting.c853 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 Djemalloc_internal_defs.h.in105 /* 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. */

12