Home
last modified time | relevance | path

Searched refs:uint8_t (Results 1 – 25 of 26) sorted by relevance

12

/redis-3.2.3/src/
H A Dhyperloglog.c338 uint8_t *_p = (uint8_t*) p; \
350 uint8_t *_p = (uint8_t*) p; \
397 const uint8_t *data = (const uint8_t *)key; in MurmurHash64A()
486 uint8_t oldcount, count; in hllDenseAdd()
512 uint8_t *r = registers; in hllDenseSum()
572 uint8_t *p = (uint8_t*)sparse, *end = p+sdslen(sparse); in hllSparseToDense()
764 uint8_t seq[5], *n = seq; in hllSparseAdd()
932 uint8_t *bytes; in hllRawSum()
1049 uint8_t val; in hllMerge()
1093 uint8_t *p; in createHLLObject()
[all …]
H A Dintset.h42 intset *intsetAdd(intset *is, int64_t value, uint8_t *success);
44 uint8_t intsetFind(intset *is, int64_t value);
46 uint8_t intsetGet(intset *is, uint32_t pos, int64_t *value);
H A Dintset.c45 static uint8_t _intsetValueEncoding(int64_t v) { in _intsetValueEncoding()
55 static int64_t _intsetGetEncoded(intset *is, int pos, uint8_t enc) { in _intsetGetEncoded()
158 uint8_t curenc = intrev32ifbe(is->encoding); in intsetUpgradeAndAdd()
159 uint8_t newenc = _intsetValueEncoding(value); in intsetUpgradeAndAdd()
204 intset *intsetAdd(intset *is, int64_t value, uint8_t *success) { in intsetAdd()
205 uint8_t valenc = _intsetValueEncoding(value); in intsetAdd()
235 uint8_t valenc = _intsetValueEncoding(value); in intsetRemove()
254 uint8_t intsetFind(intset *is, int64_t value) { in intsetFind()
255 uint8_t valenc = _intsetValueEncoding(value); in intsetFind()
266 uint8_t intsetGet(intset *is, uint32_t pos, int64_t *value) { in intsetGet()
[all …]
H A Dcrc64.c177 uint8_t byte = s[j]; in crc64()
178 crc = crc64_tab[(uint8_t)crc ^ byte] ^ (crc >> 8); in crc64()
H A Dsds.h51 uint8_t len; /* used */
52 uint8_t alloc; /* excluding the header and null terminator */
H A Dziplist.c146 #define ZIPLIST_END_SIZE (sizeof(uint8_t))
368 memcpy(p,((uint8_t*)&i32)+1,sizeof(i32)-sizeof(uint8_t)); in zipSaveInteger()
401 memcpy(((uint8_t*)&i32)+1,p,sizeof(i32)-sizeof(uint8_t)); in zipLoadInteger()
H A Dbitops.c542 byteval = ((uint8_t*)o->ptr)[byte]; in setbitCommand()
549 ((uint8_t*)o->ptr)[byte] = byteval; in setbitCommand()
574 bitval = ((uint8_t*)o->ptr)[byte] & (1 << bit); in getbitCommand()
H A Dt_set.c62 uint8_t success = 0; in setTypeAdd()
/redis-3.2.3/deps/jemalloc/include/jemalloc/internal/
H A Dhash.h91 const uint8_t *data = (const uint8_t *) key; in hash_x86_32()
119 const uint8_t *tail = (const uint8_t *) (data + nblocks*4); in hash_x86_32()
143 const uint8_t * data = (const uint8_t *) key; in hash_x86_128()
191 const uint8_t *tail = (const uint8_t *) (data + nblocks*16); in hash_x86_128()
245 const uint8_t *data = (const uint8_t *) key; in hash_x64_128()
277 const uint8_t *tail = (const uint8_t*)(data + nblocks*16); in hash_x64_128()
H A Datomic.h104 uint8_t success; in atomic_cas_uint64()
328 uint8_t success; in atomic_cas_uint32()
H A Dsize_classes.sh260 * The size2index_tab lookup table uses uint8_t to encode each bin index, so we
H A Darena.h456 uint8_t);
H A Djemalloc_internal.h.in442 extern uint8_t const size2index_tab[];
/redis-3.2.3/deps/geohash-int/
H A Dgeohash.h68 uint8_t step;
99 double longitude, double latitude, uint8_t step,
102 uint8_t step, GeoHashBits *hash);
103 int geohashEncodeWGS84(double longitude, double latitude, uint8_t step,
H A Dgeohash.c122 double longitude, double latitude, uint8_t step, in geohashEncode()
153 int geohashEncodeType(double longitude, double latitude, uint8_t step, GeoHashBits *hash) { in geohashEncodeType()
159 int geohashEncodeWGS84(double longitude, double latitude, uint8_t step, in geohashEncodeWGS84()
172 uint8_t step = hash.step; in geohashDecode()
H A Dgeohash_helper.h52 uint8_t geohashEstimateStepsByRadius(double range_meters, double lat);
H A Dgeohash_helper.c60 uint8_t geohashEstimateStepsByRadius(double range_meters, double lat) { in geohashEstimateStepsByRadius()
/redis-3.2.3/deps/jemalloc/test/unit/
H A Dhash.c66 uint8_t key[256]; in hash_variant_verify()
67 VARIABLE_ARRAY(uint8_t, hashes, hashbytes * 256); in hash_variant_verify()
68 VARIABLE_ARRAY(uint8_t, final, hashbytes); in hash_variant_verify()
81 key[i] = (uint8_t)i; in hash_variant_verify()
H A Dquarantine.c63 size_t offset, uint8_t byte) in arena_redzone_corruption_replacement()
H A Djunk.c204 size_t offset, uint8_t byte) in arena_redzone_corruption_replacement()
/redis-3.2.3/deps/jemalloc/include/msvc_compat/C99/
H A Dstdint.h78 typedef unsigned char uint8_t; typedef
85 typedef unsigned __int8 uint8_t; typedef
98 typedef uint8_t uint_least8_t;
108 typedef uint8_t uint_fast8_t;
/redis-3.2.3/deps/jemalloc/test/integration/
H A Drallocx.c49 validate_fill(const void *p, uint8_t c, size_t offset, size_t len) in validate_fill()
52 const uint8_t *buf = (const uint8_t *)p; in validate_fill()
56 uint8_t b = buf[offset+i]; in validate_fill()
H A Dxallocx.c351 print_filled_extents(const void *p, uint8_t c, size_t len) in print_filled_extents()
353 const uint8_t *pc = (const uint8_t *)p; in print_filled_extents()
355 uint8_t c0; in print_filled_extents()
371 validate_fill(const void *p, uint8_t c, size_t offset, size_t len) in validate_fill()
373 const uint8_t *pc = (const uint8_t *)p; in validate_fill()
/redis-3.2.3/deps/hiredis/
H A Dsds.h51 uint8_t len; /* used */
52 uint8_t alloc; /* excluding the header and null terminator */
/redis-3.2.3/deps/jemalloc/src/
H A Darena.c2062 size_t offset, uint8_t byte) in arena_redzone_corruption()
2087 uint8_t *byte = (uint8_t *)((uintptr_t)ptr - i); in arena_redzones_validate()
2097 uint8_t *byte = (uint8_t *)((uintptr_t)ptr + size + i); in arena_redzones_validate()

12