Home
last modified time | relevance | path

Searched refs:seed (Results 1 – 7 of 7) sorted by relevance

/redis-3.2.3/deps/jemalloc/include/jemalloc/internal/
H A Dhash.h27 void hash(const void *key, size_t len, const uint32_t seed,
89 hash_x86_32(const void *key, int len, uint32_t seed) in hash_x86_32() argument
94 uint32_t h1 = seed; in hash_x86_32()
146 uint32_t h1 = seed; in hash_x86_128()
147 uint32_t h2 = seed; in hash_x86_128()
148 uint32_t h3 = seed; in hash_x86_128()
149 uint32_t h4 = seed; in hash_x86_128()
248 uint64_t h1 = seed; in hash_x64_128()
249 uint64_t h2 = seed; in hash_x64_128()
325 hash_x64_128(key, len, seed, (uint64_t *)r_hash); in hash()
[all …]
/redis-3.2.3/utils/hyperloglog/
H A Dhll-gnuplot-graph.rb21 def run_experiment(r,seed,max,step) argument
29 ele = Digest::SHA1.hexdigest(i.to_s+seed.to_s)
/redis-3.2.3/src/
H A Dutil.c462 static unsigned char seed[20]; /* The SHA1 seed, from /dev/urandom. */ in getRandomHexChars() local
471 if (fp && fread(seed,sizeof(seed),1,fp) == 1) in getRandomHexChars()
483 SHA1Update(&ctx, seed, sizeof(seed)); in getRandomHexChars()
H A Ddict.c84 void dictSetHashFunctionSeed(uint32_t seed) { in dictSetHashFunctionSeed() argument
85 dict_hash_function_seed = seed; in dictSetHashFunctionSeed()
106 uint32_t seed = dict_hash_function_seed; in dictGenHashFunction() local
111 uint32_t h = seed ^ len; in dictGenHashFunction()
H A Dhyperloglog.c393 uint64_t MurmurHash64A (const void * key, int len, unsigned int seed) { in MurmurHash64A() argument
396 uint64_t h = seed ^ (len * m); in MurmurHash64A()
1399 uint64_t seed = (uint64_t)rand() | (uint64_t)rand() << 32; in pfselftestCommand() local
1402 ele = j ^ seed; in pfselftestCommand()
/redis-3.2.3/deps/jemalloc/test/include/test/
H A DSFMT.h77 sfmt_t *init_gen_rand(uint32_t seed);
/redis-3.2.3/deps/jemalloc/test/src/
H A DSFMT.c607 sfmt_t *init_gen_rand(uint32_t seed) { in init_gen_rand() argument
619 psfmt32[idxof(0)] = seed; in init_gen_rand()