| /redis-3.2.3/src/ |
| H A D | memtest.c | 146 assert((bytes & 4095) == 0); in memtest_fill_random() 171 assert((bytes & 4095) == 0); in memtest_fill_value() 198 assert((bytes & 4095) == 0); in memtest_compare() 249 memtest_fill_random(m,bytes,interactive); in memtest_test() 284 size_t left = bytes; in memtest_preserving_test() 310 if (bytes >= MEMTEST_DECACHE_SIZE) { in memtest_preserving_test() 316 if (bytes >= MEMTEST_DECACHE_SIZE) { in memtest_preserving_test() 322 if (bytes >= MEMTEST_DECACHE_SIZE) { in memtest_preserving_test() 337 size_t bytes = megabytes*1024*1024; in memtest_alloc_and_test() local 338 unsigned long *m = malloc(bytes); in memtest_alloc_and_test() [all …]
|
| H A D | hyperloglog.c | 932 uint8_t *bytes; in hllRawSum() local 938 bytes = (uint8_t*) word; in hllRawSum() 939 if (bytes[0]) E += PE[bytes[0]]; else ez++; in hllRawSum() 940 if (bytes[1]) E += PE[bytes[1]]; else ez++; in hllRawSum() 941 if (bytes[2]) E += PE[bytes[2]]; else ez++; in hllRawSum() 942 if (bytes[3]) E += PE[bytes[3]]; else ez++; in hllRawSum() 943 if (bytes[4]) E += PE[bytes[4]]; else ez++; in hllRawSum() 944 if (bytes[5]) E += PE[bytes[5]]; else ez++; in hllRawSum() 945 if (bytes[6]) E += PE[bytes[6]]; else ez++; in hllRawSum() 946 if (bytes[7]) E += PE[bytes[7]]; else ez++; in hllRawSum()
|
| H A D | intset.c | 184 uint32_t bytes = intrev32ifbe(is->length)-from; in intsetMoveTail() local 190 bytes *= sizeof(int64_t); in intsetMoveTail() 194 bytes *= sizeof(int32_t); in intsetMoveTail() 198 bytes *= sizeof(int16_t); in intsetMoveTail() 200 memmove(dst,src,bytes); in intsetMoveTail()
|
| H A D | zmalloc.c | 340 size_t bytes = 0; in zmalloc_get_smap_bytes_by_field() local 350 bytes += strtol(line+flen,NULL,10) * 1024; in zmalloc_get_smap_bytes_by_field() 355 return bytes; in zmalloc_get_smap_bytes_by_field()
|
| H A D | config.c | 1434 int rewriteConfigFormatMemory(char *buf, size_t len, long long bytes) { 1439 if (bytes && (bytes % gb) == 0) { 1440 return snprintf(buf,len,"%lldgb",bytes/gb); 1441 } else if (bytes && (bytes % mb) == 0) { 1442 return snprintf(buf,len,"%lldmb",bytes/mb); 1443 } else if (bytes && (bytes % kb) == 0) { 1444 return snprintf(buf,len,"%lldkb",bytes/kb); 1446 return snprintf(buf,len,"%lld",bytes);
|
| H A D | rio.c | 302 void rioSetAutoSync(rio *r, off_t bytes) { in rioSetAutoSync() argument 304 r->io.file.autosync = bytes; in rioSetAutoSync()
|
| H A D | rio.h | 139 void rioSetAutoSync(rio *r, off_t bytes);
|
| H A D | bitops.c | 800 long bytes = end-start+1; in bitcountCommand() local 802 addReplyLongLong(c,redisPopcount(p+start,bytes)); in bitcountCommand() 865 long bytes = end-start+1; in bitposCommand() local 866 long pos = redisBitpos(p+start,bytes,bit); in bitposCommand() 875 if (end_given && bit == 0 && pos == bytes*8) { in bitposCommand()
|
| H A D | ziplist.c | 427 unsigned int bytes = ZIPLIST_HEADER_SIZE+1; in ziplistNew() local 428 unsigned char *zl = zmalloc(bytes); in ziplistNew() 429 ZIPLIST_BYTES(zl) = intrev32ifbe(bytes); in ziplistNew() 432 zl[bytes-1] = ZIP_END; in ziplistNew()
|
| H A D | networking.c | 1352 sds ci = catClientInfoString(sdsempty(),c), bytes = sdsempty(); in readQueryFromClient() local 1354 bytes = sdscatrepr(bytes,c->querybuf,64); in readQueryFromClient() 1355 …ING,"Closing client that reached max query buffer length: %s (qbuf initial bytes: %s)", ci, bytes); in readQueryFromClient() 1357 sdsfree(bytes); in readQueryFromClient()
|
| H A D | server.h | 1668 int memtest_preserving_test(unsigned long *m, size_t bytes, int passes);
|
| /redis-3.2.3/tests/ |
| H A D | test_helper.tcl | 247 set bytes [gets $fd] 248 set payload [read $fd $bytes] 376 set bytes [gets $::test_server_fd] 377 set payload [read $::test_server_fd $bytes]
|
| /redis-3.2.3/deps/jemalloc/include/jemalloc/internal/ |
| H A D | jemalloc_internal_defs.h.in | 160 /* Minimum size class to support is 2^LG_TINY_MIN bytes. */ 164 * Minimum allocation alignment is 2^LG_QUANTUM bytes (ignoring tiny size 169 /* One page is 2^LG_PAGE bytes. */
|
| H A D | jemalloc_internal.h.in | 222 * Minimum allocation alignment is 2^LG_QUANTUM bytes (ignoring tiny size 1072 * Copy at most size bytes (not size+extra), since the caller has no 1073 * expectation that the extra bytes will be reliably preserved.
|
| /redis-3.2.3/ |
| H A D | redis.conf | 972 hll-sparse-max-bytes 3000
|
| H A D | 00-RELEASENOTES | 97 instead of just skipping bytes. 662 | Code to access object string bytes repeated 3x refactored into 1 function. 718 the other, neutralizing the benefits of 24 bytes size classes (and 1229 lines more than 4096 bytes.
|
| /redis-3.2.3/tests/unit/ |
| H A D | slowlog.tcl | 57 …AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA... (1 more bytes)}}
|
| /redis-3.2.3/tests/support/ |
| H A D | server.tcl | 21 (![regexp -- {definitely lost: 0 bytes} $buf] &&
|
| /redis-3.2.3/deps/hiredis/ |
| H A D | hiredis.c | 249 static char *readBytes(redisReader *r, unsigned int bytes) { in readBytes() argument 251 if (r->len-r->pos >= bytes) { in readBytes() 253 r->pos += bytes; in readBytes()
|
| H A D | README.md | 336 copy of the buffer pointed to by `buf` for `len` bytes. This data is parsed
|
| /redis-3.2.3/deps/lua/ |
| H A D | HISTORY | 82 + new read form: read(N) for next N bytes.
|
| /redis-3.2.3/deps/jemalloc/ |
| H A D | ChangeLog | 12 - Fix xallocx(..., MALLOCX_ZERO) to zero all trailing bytes of large 14 - Fix xallocx(..., MALLOCX_ZERO) to zero trailing bytes of huge allocations 709 to be underreported (though the reported number of objects and bytes were
|