Home
last modified time | relevance | path

Searched refs:write (Results 1 – 25 of 50) sorted by relevance

12

/redis-3.2.3/tests/unit/
H A Dprotocol.tcl4 r write "\r\n"
11 r write "*-10\r\n"
18 r write "*20000000\r\n"
25 r write "*3\r\n\$3\r\nSET\r\n\$1\r\nx\r\nfooz\r\n"
32 r write "*3\r\n\$3\r\nSET\r\n\$1\r\nx\r\n\$-10\r\n"
39 r write "*3\r\n\$3\r\nSET\r\n\$1\r\nx\r\n\$2000000000\r\n"
46 r write "*3\r\n\$3\r\nSET\r\n\$1\r\nx\r\n\$blabla\r\n"
53 r write "*1\r\nfoo\r\n"
65 r write "set \"\"\"test-key\"\"\" test-value\r\n"
66 r write "ping\r\n"
H A Dquit.tcl18 r write [format_command quit]
19 r write [format_command set foo bar]
30 r write [format_command quit]
31 r write [format_command set foo [string repeat "x" 1024]]
/redis-3.2.3/deps/lua/test/
H A Dcf.lua4 io.write("C ")
6 io.write(string.format("%3.0f ",c))
8 io.write("\n")
10 io.write("F ")
13 io.write(string.format("%3.0f ",f))
15 io.write("\n\n")
H A Dtrace-calls.lua8 io.write(level," >>> ",string.rep(" ",level))
9 if t~=nil and t.currentline>=0 then io.write(t.short_src,":",t.currentline," ") end
18 io.write("begin ",t.short_src)
20 io.write("end ",t.short_src)
24 io.write(event," ",t.name or "(Lua)"," <",t.linedefined,":",t.short_src,">")
26 io.write(event," ",t.name or "(C)"," [",t.what,"] ")
28 io.write("\n")
H A Dxd.lua8 io.write(string.format("%08X ",offset))
10 function (c) io.write(string.format("%02X ",string.byte(c))) end)
11 io.write(string.rep(" ",3*(16-string.len(s))))
12 io.write(" ",string.gsub(s,"%c","."),"\n")
H A Dlife.lua6 local write=io.write
63 write(out)
98 write("\027[2J") -- ANSI clear screen
102 write("\027[H") -- ANSI home cursor
104 write("Life - generation ",gen,"\n")
H A Dtable.lua9 if a~=A then A=a io.write("\n",a,":") end
10 io.write(" ",b)
12 io.write("\n")
H A Dtrace-globals.lua17 io.write(t.short_src)
18 if line>=0 then io.write(":",line) end
19 io.write(": ",name," is now ",tostring(new)," (was ",tostring(old),")","\n")
H A Dsort.lua41 io.write(m,"\n\t")
44 io.write(x[i])
46 if x[i] then io.write(",") end
48 io.write("\n")
H A Dbisect.lua7 io.write(n," c=",c," a=",a," b=",b,"\n")
18 io.write(string.format("after %d steps, root is %.17g with error %.1e, f=%.1e\n",n,z,e,f(z)))
H A Dhello.lua3 io.write("Hello world, from ",_VERSION,"!\n")
H A Dprintf.lua4 io.write(string.format(...))
H A Dluac.lua6 assert(f:write(string.dump(assert(loadfile(arg[1])))))
H A Dglobals.lua11 io.write(g,"\t",l,op,"\n")
H A Dfactorial.lua27 io.write(x,"! = ",factorial(x),"\n")
/redis-3.2.3/tests/integration/
H A Dreplication-2.tcl9 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} {
H A Dreplication-psync.tcl49 test {Detect write load to master} {
/redis-3.2.3/src/
H A Drio.h44 size_t (*write)(struct _rio *, const void *buf, size_t len); member
97 if (r->write(r,buf,bytes_to_write) == 0) in rioWrite()
H A Dsyncio.c61 nwritten = write(fd,ptr,size); in syncWrite()
H A Ddebug.c856 if (write(fd,msg1,strlen(msg1)) == -1) {/* Avoid warning. */}; in logStackTrace()
859 if (write(fd,msg2,strlen(msg2)) == -1) {/* Avoid warning. */}; in logStackTrace()
954 if (write(fd,logbuf,strlen(logbuf)) == -1) { /* Nothing to do. */ } in memtest_test_linux_anonymous_maps()
960 if (write(fd,".",1) == -1) { /* Nothing to do. */ } in memtest_test_linux_anonymous_maps()
962 if (write(fd, errors ? "E" : "O",1) == -1) { /* Nothing to do. */ } in memtest_test_linux_anonymous_maps()
964 if (write(fd,"\n",1) == -1) { /* Nothing to do. */ } in memtest_test_linux_anonymous_maps()
H A Daof.c113 nwritten = write(server.aof_pipe_write_data_to_child, in aofChildWriteDiffData()
184 nwritten = write(fd,block->buf,block->used); in aofRewriteBufferWrite()
325 nwritten = write(server.aof_fd,server.aof_buf,sdslen(server.aof_buf)); in flushAppendOnlyFile()
1130 if (write(server.aof_pipe_write_ack_to_parent,"!",1) != 1) goto werr; in rewriteAppendOnlyFile()
1189 if (write(server.aof_pipe_write_ack_to_child,"!",1) != 1) { in aofChildPipeReadable()
/redis-3.2.3/deps/linenoise/
H A Dlinenoise.c268 if (write(ofd, "\x1b[6n", 4) != 4) return -1; in getCursorPosition()
298 if (write(ofd,"\x1b[999C",6) != 6) goto failed; in getColumns()
306 if (write(ofd,seq,strlen(seq)) == -1) { in getColumns()
321 if (write(STDOUT_FILENO,"\x1b[H\x1b[2J",7) <= 0) { in linenoiseClearScreen()
535 if (write(fd,ab.b,ab.len) == -1) {} /* Can't recover from write error. */ in refreshSingleLine()
622 if (write(fd,ab.b,ab.len) == -1) {} /* Can't recover from write error. */ in refreshMultiLine()
648 if (write(l->ofd,&c,1) == -1) return -1; in linenoiseEditInsert()
794 if (write(l.ofd,prompt,l.plen) == -1) return -1; in linenoiseEdit()
/redis-3.2.3/utils/
H A Dcorrupt_rdb.c41 write(fd,buf,writelen); in main()
/redis-3.2.3/deps/jemalloc/include/jemalloc/internal/
H A Dstats.h146 void stats_print(void (*write)(void *, const char *), void *cbopaque,
/redis-3.2.3/
H A DMANIFESTO37 4 - Code is like a poem; it's not just something we write to reach some
46 write smaller stories that will fit in to other code.

12