| /redis-3.2.3/deps/jemalloc/include/jemalloc/internal/ |
| H A D | atomic.h | 44 uint64_t atomic_add_uint64(uint64_t *p, uint64_t x); 45 uint64_t atomic_sub_uint64(uint64_t *p, uint64_t x); 46 bool atomic_cas_uint64(uint64_t *p, uint64_t c, uint64_t s); 102 atomic_cas_uint64(uint64_t *p, uint64_t c, uint64_t s) in atomic_cas_uint64() 144 atomic_cas_uint64(uint64_t *p, uint64_t c, uint64_t s) in atomic_cas_uint64() 180 atomic_cas_uint64(uint64_t *p, uint64_t c, uint64_t s) in atomic_cas_uint64() 212 atomic_cas_uint64(uint64_t *p, uint64_t c, uint64_t s) in atomic_cas_uint64() 244 atomic_cas_uint64(uint64_t *p, uint64_t c, uint64_t s) in atomic_cas_uint64() 275 atomic_cas_uint64(uint64_t *p, uint64_t c, uint64_t s) in atomic_cas_uint64() 534 return (atomic_cas_uint64((uint64_t *)p, (uint64_t)c, (uint64_t)s)); in atomic_cas_p() [all …]
|
| H A D | stats.h | 20 uint64_t nrequests; 30 uint64_t nmalloc; 31 uint64_t ndalloc; 47 uint64_t nfills; 50 uint64_t nflushes; 53 uint64_t nruns; 59 uint64_t reruns; 72 uint64_t nmalloc; 73 uint64_t ndalloc; 110 uint64_t npurge; [all …]
|
| H A D | hash.h | 24 uint64_t r_out[2]); 26 uint64_t r_out[2]); 41 JEMALLOC_INLINE uint64_t 55 JEMALLOC_INLINE uint64_t 141 uint64_t r_out[2]) in hash_x86_128() 248 uint64_t h1 = seed; in hash_x64_128() 249 uint64_t h2 = seed; in hash_x64_128() 256 const uint64_t *blocks = (const uint64_t *) (data); in hash_x64_128() 278 uint64_t k1 = 0; in hash_x64_128() 279 uint64_t k2 = 0; in hash_x64_128() [all …]
|
| H A D | ckh.h | 35 uint64_t ngrows; 36 uint64_t nshrinks; 37 uint64_t nshrinkfails; 38 uint64_t ninserts; 39 uint64_t nrelocs;
|
| H A D | prof.h | 75 uint64_t curobjs; 76 uint64_t curbytes; 77 uint64_t accumobjs; 78 uint64_t accumbytes; 96 uint64_t thr_uid; 97 uint64_t thr_discrim; 118 uint64_t tctx_uid; 180 uint64_t thr_uid; 186 uint64_t thr_discrim; 201 uint64_t tctx_uid_next; [all …]
|
| H A D | ctl.h | 44 uint64_t nmalloc_small; 45 uint64_t ndalloc_small; 46 uint64_t nrequests_small;
|
| /redis-3.2.3/deps/jemalloc/src/ |
| H A D | stats.c | 74 uint64_t nruns; in stats_arena_bins_print() 77 uint64_t); in stats_arena_bins_print() 85 uint64_t reruns; in stats_arena_bins_print() 98 &nmalloc, uint64_t); in stats_arena_bins_print() 112 &reruns, uint64_t); in stats_arena_bins_print() 177 uint64_t); in stats_arena_lruns_print() 179 uint64_t); in stats_arena_lruns_print() 307 uint64_t); in stats_arena_print() 317 uint64_t); in stats_arena_print() 326 uint64_t); in stats_arena_print() [all …]
|
| H A D | prof.c | 54 uint64_t prof_interval = 0; 90 static uint64_t next_thr_uid; 94 static uint64_t prof_dump_seq; 95 static uint64_t prof_dump_iseq; 178 uint64_t a_uid = a->thr_uid; in rb_gen() 179 uint64_t b_uid = b->thr_uid; in rb_gen() 843 uint64_t r; in prof_sample_threshold_update() 877 + (uint64_t)1U; in prof_sample_threshold_update() 1693 JEMALLOC_INLINE_C uint64_t 1696 uint64_t thr_uid; in prof_thr_uid_alloc() [all …]
|
| H A D | ctl.c | 13 static uint64_t ctl_epoch; 1228 UNUSED uint64_t newval; in CTL_RO_NL_GEN() 1231 WRITE(newval, uint64_t); in CTL_RO_NL_GEN() 1234 READ(ctl_epoch, uint64_t); in CTL_RO_NL_GEN() 1340 uint64_t) in CTL_TSD_RO_NL_CGEN() argument 1342 uint64_t *) in CTL_TSD_RO_NL_CGEN() 1344 uint64_t) in CTL_TSD_RO_NL_CGEN() 1346 tsd_thread_deallocatedp_get, uint64_t *) in CTL_TSD_RO_NL_CGEN() 1975 if (lg_sample >= (sizeof(uint64_t) << 3)) in prof_reset_ctl() 1976 lg_sample = (sizeof(uint64_t) << 3) - 1; in prof_reset_ctl() [all …]
|
| /redis-3.2.3/deps/jemalloc/test/src/ |
| H A D | timer.c | 33 uint64_t 38 uint64_t t0, t1; in timer_usec() 39 t0 = (((uint64_t)timer->ft0.dwHighDateTime) << 32) | in timer_usec() 41 t1 = (((uint64_t)timer->ft1.dwHighDateTime) << 32) | in timer_usec() 56 uint64_t t0 = timer_usec(a); in timer_ratio() 57 uint64_t t1 = timer_usec(b); in timer_ratio() 58 uint64_t mult; in timer_ratio() 78 uint64_t round = (i+1 == buflen-1 && ((t0 * mult * 10 / t1) % 10 in timer_ratio()
|
| H A D | SFMT.c | 166 th = ((uint64_t)in->u[2] << 32) | ((uint64_t)in->u[3]); in rshift128() 167 tl = ((uint64_t)in->u[0] << 32) | ((uint64_t)in->u[1]); in rshift128() 181 th = ((uint64_t)in->u[3] << 32) | ((uint64_t)in->u[2]); in rshift128() 182 tl = ((uint64_t)in->u[1] << 32) | ((uint64_t)in->u[0]); in rshift128() 205 th = ((uint64_t)in->u[2] << 32) | ((uint64_t)in->u[3]); in lshift128() 206 tl = ((uint64_t)in->u[0] << 32) | ((uint64_t)in->u[1]); in lshift128() 220 th = ((uint64_t)in->u[3] << 32) | ((uint64_t)in->u[2]); in lshift128() 221 tl = ((uint64_t)in->u[1] << 32) | ((uint64_t)in->u[0]); in lshift128() 487 uint64_t r; in gen_rand64() 488 uint64_t *psfmt64 = (uint64_t *)&ctx->sfmt[0].u[0]; in gen_rand64() [all …]
|
| /redis-3.2.3/deps/geohash-int/ |
| H A D | geohash.c | 52 static inline uint64_t interleave64(uint32_t xlo, uint32_t ylo) { in interleave64() 58 uint64_t x = xlo; in interleave64() 59 uint64_t y = ylo; in interleave64() 82 static inline uint64_t deinterleave64(uint64_t interleaved) { in deinterleave64() 88 uint64_t x = interleaved; in deinterleave64() 89 uint64_t y = interleaved >> 1; in deinterleave64() 228 uint64_t x = hash->bits & 0xaaaaaaaaaaaaaaaaULL; in geohash_move_x() 229 uint64_t y = hash->bits & 0x5555555555555555ULL; in geohash_move_x() 231 uint64_t zz = 0x5555555555555555ULL >> (64 - hash->step * 2); in geohash_move_x() 248 uint64_t x = hash->bits & 0xaaaaaaaaaaaaaaaaULL; in geohash_move_y() [all …]
|
| H A D | geohash_helper.h | 42 typedef uint64_t GeoHashFix52Bits; 43 typedef uint64_t GeoHashVarBits;
|
| /redis-3.2.3/deps/jemalloc/test/unit/ |
| H A D | stats.c | 39 uint64_t epoch; in TEST_BEGIN() 54 sz = sizeof(uint64_t); in TEST_BEGIN() 79 uint64_t epoch; in TEST_BEGIN() 105 sz = sizeof(uint64_t); in TEST_BEGIN() 168 sz = sizeof(uint64_t); in TEST_BEGIN() 212 sz = sizeof(uint64_t); in TEST_BEGIN() 256 sz = sizeof(uint64_t); in TEST_BEGIN() 297 sz = sizeof(uint64_t); in TEST_BEGIN() 308 sz = sizeof(uint64_t); in TEST_BEGIN() 367 sz = sizeof(uint64_t); in TEST_BEGIN() [all …]
|
| H A D | hash.c | 89 uint64_t out[2]; in hash_variant_verify() 94 uint64_t out[2]; in hash_variant_verify() 109 uint64_t out[2]; in hash_variant_verify() 114 uint64_t out[2]; in hash_variant_verify()
|
| H A D | math.c | 23 static uint64_t 26 uint64_t ret = 1; in factorial() 30 ret *= (uint64_t)i; in factorial()
|
| /redis-3.2.3/deps/jemalloc/test/include/test/ |
| H A D | SFMT.h | 73 uint64_t gen_rand64(sfmt_t *ctx); 74 uint64_t gen_rand64_range(sfmt_t *ctx, uint64_t limit); 76 void fill_array64(sfmt_t *ctx, uint64_t *array, int size); 91 double to_res53(uint64_t v); 140 JEMALLOC_INLINE double to_res53(uint64_t v) in to_res53() 149 return to_res53(x | ((uint64_t)y << 32)); in to_res53_mix()
|
| /redis-3.2.3/src/ |
| H A D | hyperloglog.c | 396 uint64_t h = seed ^ (len * m); in MurmurHash64A() 401 uint64_t k; in MurmurHash64A() 404 k = *((uint64_t*)data); in MurmurHash64A() 406 k = (uint64_t) data[0]; in MurmurHash64A() 431 case 1: h ^= (uint64_t)data[0]; in MurmurHash64A() 445 uint64_t hash, bit, index; in hllPatLen() 931 uint64_t *word = (uint64_t*) registers; in hllRawSum() 1023 return (uint64_t) E; in hllCount() 1198 uint64_t card; in pfcountCommand() 1399 uint64_t seed = (uint64_t)rand() | (uint64_t)rand() << 32; in pfselftestCommand() [all …]
|
| H A D | bitops.c | 202 void setUnsignedBitfield(unsigned char *p, uint64_t offset, uint64_t bits, uint64_t value) { in setUnsignedBitfield() 217 void setSignedBitfield(unsigned char *p, uint64_t offset, uint64_t bits, int64_t value) { in setSignedBitfield() 222 uint64_t getUnsignedBitfield(unsigned char *p, uint64_t offset, uint64_t bits) { in getUnsignedBitfield() 236 int64_t getSignedBitfield(unsigned char *p, uint64_t offset, uint64_t bits) { in getSignedBitfield() 238 union {uint64_t u; int64_t i;} conv; in getSignedBitfield() 281 int checkUnsignedBitfieldOverflow(uint64_t value, int64_t incr, uint64_t bits, int owtype, uint64_t… in checkUnsignedBitfieldOverflow() 282 uint64_t max = (bits == 64) ? UINT64_MAX : (((uint64_t)1<<bits)-1); in checkUnsignedBitfieldOverflow() 309 uint64_t mask = ((uint64_t)-1) << bits; in checkUnsignedBitfieldOverflow() 310 uint64_t res = value+incr; in checkUnsignedBitfieldOverflow() 352 uint64_t mask = ((uint64_t)-1) << bits; in checkSignedBitfieldOverflow() [all …]
|
| H A D | cluster.h | 86 uint64_t configEpoch; /* Last configEpoch observed for this node */ 110 uint64_t currentEpoch; 124 uint64_t failover_auth_epoch; /* Epoch of the current election. */ 138 uint64_t lastVoteEpoch; /* Epoch of the last vote granted. */ 194 uint64_t configEpoch; /* Config epoch of the specified instance. */ 231 uint64_t currentEpoch; /* The epoch accordingly to the sending node. */ 232 uint64_t configEpoch; /* The config epoch if it's a master, or the last 235 uint64_t offset; /* Master replication offset if node is a master or
|
| H A D | crc64.h | 6 uint64_t crc64(uint64_t crc, const unsigned char *s, uint64_t l);
|
| H A D | crc64.c | 42 static const uint64_t crc64_tab[256] = { 173 uint64_t crc64(uint64_t crc, const unsigned char *s, uint64_t l) { in crc64() 174 uint64_t j; in crc64()
|
| H A D | endianconv.h | 44 uint64_t intrev64(uint64_t v);
|
| /redis-3.2.3/deps/jemalloc/test/stress/ |
| H A D | microbench.c | 4 time_func(timedelta_t *timer, uint64_t nwarmup, uint64_t niter, void (*func)(void)) in time_func() 6 uint64_t i; in time_func() 17 compare_funcs(uint64_t nwarmup, uint64_t niter, const char *name_a, in compare_funcs()
|
| /redis-3.2.3/deps/jemalloc/include/msvc_compat/C99/ |
| H A D | stdint.h | 90 typedef unsigned __int64 uint64_t; typedef 101 typedef uint64_t uint_least64_t; 111 typedef uint64_t uint_fast64_t; 124 typedef uint64_t uintmax_t;
|