Home
last modified time | relevance | path

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

/redis-3.2.3/src/
H A Drio.c62 r->io.buffer.ptr = sdscatlen(r->io.buffer.ptr,(char*)buf,len); in rioBufferWrite()
63 r->io.buffer.pos += len; in rioBufferWrite()
69 if (sdslen(r->io.buffer.ptr)-r->io.buffer.pos < len) in rioBufferRead()
71 memcpy(buf,r->io.buffer.ptr+r->io.buffer.pos,len); in rioBufferRead()
102 r->io.buffer.ptr = s; in rioInitWithBuffer()
103 r->io.buffer.pos = 0; in rioInitWithBuffer()
116 r->io.file.buffered >= r->io.file.autosync) in rioFileWrite()
155 r->io.file.fp = fp; in rioInitWithFile()
178 r->io.fdset.buf = sdscatlen(r->io.fdset.buf,buf,len); in rioFdsetWrite()
220 if (r->io.fdset.state[j] == 0) r->io.fdset.state[j] = EIO; in rioFdsetWrite()
[all …]
H A Drio.h84 } io; member
H A Dcluster.c4416 payload->io.buffer.ptr = sdscatlen(payload->io.buffer.ptr,buf,2); in createDumpPayload()
4419 crc = crc64(0,(unsigned char*)payload->io.buffer.ptr, in createDumpPayload()
4420 sdslen(payload->io.buffer.ptr)); in createDumpPayload()
4422 payload->io.buffer.ptr = sdscatlen(payload->io.buffer.ptr,&crc,8); in createDumpPayload()
4465 dumpobj = createObject(OBJ_STRING,payload.io.buffer.ptr); in dumpCommand()
4766 rioWriteBulkString(&cmd,payload.io.buffer.ptr, in migrateCommand()
4767 sdslen(payload.io.buffer.ptr))); in migrateCommand()
4768 sdsfree(payload.io.buffer.ptr); in migrateCommand()
4779 sds buf = cmd.io.buffer.ptr; in migrateCommand()
4875 sdsfree(cmd.io.buffer.ptr); in migrateCommand()
[all …]
H A Drdb.c1672 *ids++ = slave_sockets.io.fdset.state[j]; in rdbSaveToSlavesSockets()
/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.lua6 local s=io.read(16)
8 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 Dtable.lua6 local l=io.read()
9 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 Dglobals.lua6 local s=io.read()
11 io.write(g,"\t",l,op,"\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.lua5 f=assert(io.open("luac.out","wb"))
H A Dfactorial.lua27 io.write(x,"! = ",factorial(x),"\n")
H A Dlife.lua6 local write=io.write
/redis-3.2.3/utils/releasetools/
H A D02_upload_tarball.sh3 scp /tmp/redis-${1}.tar.gz [email protected]:/var/virtual/download.redis.io/httpdocs/releases/
H A D04_release_hash.sh2 SHA=$(curl -s http://download.redis.io/releases/redis-${1}.tar.gz | shasum | cut -f 1 -d' ')
/redis-3.2.3/
H A DREADME.md1 …is just a fast *quick start* document. You can find more detailed documentation at http://redis.io.
18 * Introduction to Redis data types. http://redis.io/topics/data-types-intro
19 * Try Redis directly inside your browser. http://try.redis.io
20 * The full list of Redis commands. http://redis.io/commands
21 * There is much more inside the Redis official documentation. http://redis.io/documentation
148 You can find the list of all the available commands at http://redis.io/commands.
H A D00-RELEASENOTES775 here: http://redis.io/commands/BITFIELD
1654 See http://redis.io/commands/geoadd for more information.
/redis-3.2.3/deps/lua/
H A DHISTORY112 + new io functions "flush", "seek".
154 + io and string libraries are now based on pattern matching;
/redis-3.2.3/deps/hiredis/
H A DREADME.md5 Hiredis is a minimalistic C client library for the [Redis](http://redis.io/) database.