Searched refs:hashes (Results 1 – 3 of 3) sorted by relevance
| /third_party/ulib/jemalloc/test/unit/ |
| A D | hash.c | 66 VARIABLE_ARRAY(uint8_t, hashes, hashes_size); in hash_variant_verify_key() 72 memset(hashes, 0, hashes_size); in hash_variant_verify_key() 85 memcpy(&hashes[i*hashbytes], &out, hashbytes); in hash_variant_verify_key() 90 memcpy(&hashes[i*hashbytes], out, hashbytes); in hash_variant_verify_key() 95 memcpy(&hashes[i*hashbytes], out, hashbytes); in hash_variant_verify_key() 104 uint32_t out = hash_x86_32(hashes, hashes_size, 0); in hash_variant_verify_key() 109 hash_x86_128(hashes, hashes_size, 0, out); in hash_variant_verify_key() 114 hash_x64_128(hashes, hashes_size, 0, out); in hash_variant_verify_key()
|
| /third_party/ulib/jemalloc/src/ |
| A D | ckh.c | 73 size_t hashes[2], bucket, cell; in ckh_isearch() local 77 ckh->hash(key, hashes); in ckh_isearch() 80 bucket = hashes[0] & ((ZU(1) << ckh->lg_curbuckets) - 1); in ckh_isearch() 86 bucket = hashes[1] & ((ZU(1) << ckh->lg_curbuckets) - 1); in ckh_isearch() 130 size_t hashes[2], bucket, tbucket; in ckh_evict_reloc_insert() local 160 ckh->hash(key, hashes); in ckh_evict_reloc_insert() 163 tbucket = hashes[0] & ((ZU(1) << ckh->lg_curbuckets) in ckh_evict_reloc_insert() 198 size_t hashes[2], bucket; in ckh_try_insert() local 202 ckh->hash(key, hashes); in ckh_try_insert() 205 bucket = hashes[0] & ((ZU(1) << ckh->lg_curbuckets) - 1); in ckh_try_insert() [all …]
|
| /third_party/ulib/jemalloc/include/jemalloc/internal/ |
| A D | hash_inlines.h | 329 uint64_t hashes[2]; in hash() local 330 hash_x86_128(key, (int)len, seed, hashes); in hash() 331 r_hash[0] = (size_t)hashes[0]; in hash() 332 r_hash[1] = (size_t)hashes[1]; in hash()
|
Completed in 30 milliseconds