| /redis-3.2.3/src/ |
| H A D | rio.c | 62 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() 72 r->io.buffer.pos += len; in rioBufferRead() 78 return r->io.buffer.pos; in rioBufferTell() 102 r->io.buffer.ptr = s; in rioInitWithBuffer() 103 r->io.buffer.pos = 0; in rioInitWithBuffer()
|
| H A D | sha1.h | 13 unsigned char buffer[64]; member 16 void SHA1Transform(uint32_t state[5], const unsigned char buffer[64]);
|
| H A D | sha1.c | 56 void SHA1Transform(uint32_t state[5], const unsigned char buffer[64]) in SHA1Transform() 65 memcpy(block, buffer, 64); in SHA1Transform() 72 CHAR64LONG16* block = (const CHAR64LONG16*)buffer; in SHA1Transform() 141 memcpy(&context->buffer[j], data, (i = 64-j)); in SHA1Update() 142 SHA1Transform(context->state, context->buffer); in SHA1Update() 149 memcpy(&context->buffer[j], &data[i], len - i); in SHA1Update()
|
| H A D | rio.h | 69 } buffer; member
|
| H A D | cluster.c | 4416 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 …]
|
| /redis-3.2.3/deps/lua/src/ |
| H A D | lzio.h | 25 char *buffer; member 30 #define luaZ_initbuffer(L, buff) ((buff)->buffer = NULL, (buff)->buffsize = 0) 32 #define luaZ_buffer(buff) ((buff)->buffer) 40 (luaM_reallocvector(L, (buff)->buffer, (buff)->buffsize, size, char), \
|
| H A D | ldblib.c | 304 char buffer[250]; in db_debug() local 306 if (fgets(buffer, sizeof(buffer), stdin) == 0 || in db_debug() 307 strcmp(buffer, "cont\n") == 0) in db_debug() 309 if (luaL_loadbuffer(L, buffer, strlen(buffer), "=(debug command)") || in db_debug()
|
| H A D | lauxlib.c | 392 #define bufflen(B) ((B)->p - (B)->buffer) 402 lua_pushlstring(B->L, B->buffer, l); in emptybuffer() 403 B->p = B->buffer; in emptybuffer() 432 return B->buffer; in luaL_prepbuffer() 474 B->p = B->buffer; in luaL_buffinit()
|
| H A D | lauxlib.h | 133 char buffer[LUAL_BUFFERSIZE]; member 137 ((void)((B)->p < ((B)->buffer+LUAL_BUFFERSIZE) || luaL_prepbuffer(B)), \
|
| H A D | loadlib.c | 114 char buffer[128]; in pusherror() local 116 NULL, error, 0, buffer, sizeof(buffer), NULL)) in pusherror() 117 lua_pushstring(L, buffer); in pusherror()
|
| H A D | lzio.c | 79 return buff->buffer; in luaZ_openspace()
|
| H A D | lua.c | 178 char buffer[LUA_MAXINPUT]; in pushline() local 179 char *b = buffer; in pushline()
|
| H A D | lvm.c | 294 char *buffer; in luaV_concat() local 302 buffer = luaZ_openspace(L, &G(L)->buff, tl); in luaV_concat() 306 memcpy(buffer+tl, svalue(top-i), l); in luaV_concat() 309 setsvalue2s(L, top-n, luaS_newlstr(L, buffer, tl)); in luaV_concat()
|
| H A D | llex.c | 60 b->buffer[b->n++] = cast(char, c); in save()
|
| /redis-3.2.3/ |
| H A D | redis.conf | 1027 client-output-buffer-limit normal 0 0 0 1028 client-output-buffer-limit slave 256mb 64mb 60 1029 client-output-buffer-limit pubsub 32mb 8mb 60
|
| /redis-3.2.3/tests/unit/ |
| 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} {
|
| /redis-3.2.3/deps/hiredis/ |
| H A D | README.md | 161 1. The input buffer is non-empty: 162 * Try to parse a single reply from the input buffer and return it 164 2. The input buffer is empty: 165 * Write the **entire** output buffer to the socket 332 buffer with unparsed data and state for the protocol parser. 358 ### Reader max buffer 361 normal Redis context, the redisReader structure uses a buffer in order to 363 Usually this buffer is destroyed when it is empty and is larger than 16 366 However when working with very big payloads destroying the buffer may slow 370 value for an idle buffer, so the buffer will never get freed. [all …]
|
| H A D | CHANGELOG.md | 5 * Increase the read buffer size from 2k to 16k.
|
| /redis-3.2.3/deps/linenoise/ |
| H A D | README.markdown | 66 it will be printed to the left of the cursor. The library returns a buffer
|