hashv 157 src/dps8/uthash.h # define HASH_BLOOM_ADD(tbl,hashv) \ hashv 158 src/dps8/uthash.h HASH_BLOOM_BITSET((tbl)->bloom_bv, (hashv & (uint32_t)((1ULL << (tbl)->bloom_nbits) - 1))) hashv 160 src/dps8/uthash.h # define HASH_BLOOM_TEST(tbl,hashv) \ hashv 161 src/dps8/uthash.h HASH_BLOOM_BITTEST((tbl)->bloom_bv, (hashv & (uint32_t)((1ULL << (tbl)->bloom_nbits) - 1))) hashv 166 src/dps8/uthash.h # define HASH_BLOOM_ADD(tbl,hashv) hashv 167 src/dps8/uthash.h # define HASH_BLOOM_TEST(tbl,hashv) (1) hashv 221 src/dps8/uthash.h (add)->hh.hashv, _ha_bkt); \ hashv 223 src/dps8/uthash.h HASH_BLOOM_ADD((head)->hh.tbl,(add)->hh.hashv); \ hashv 228 src/dps8/uthash.h # define HASH_TO_BKT( hashv, num_bkts, bkt ) \ hashv 230 src/dps8/uthash.h bkt = ((hashv) & ((num_bkts) - 1)); \ hashv 275 src/dps8/uthash.h HASH_TO_BKT( _hd_hh_del->hashv, (head)->hh.tbl->num_buckets, _hd_bkt); \ hashv 409 src/dps8/uthash.h # define HASH_BER(key,keylen,num_bkts,hashv,bkt) \ hashv 413 src/dps8/uthash.h (hashv) = 0; \ hashv 414 src/dps8/uthash.h while (_hb_keylen--) { (hashv) = ((hashv) * 33) + *_hb_key++; } \ hashv 415 src/dps8/uthash.h bkt = (hashv) & (num_bkts-1); \ hashv 423 src/dps8/uthash.h # define HASH_SAX(key,keylen,num_bkts,hashv,bkt) \ hashv 427 src/dps8/uthash.h hashv = 0; \ hashv 429 src/dps8/uthash.h hashv ^= (hashv << 5) + (hashv >> 2) + _hs_key[_sx_i]; \ hashv 430 src/dps8/uthash.h bkt = hashv & (num_bkts-1); \ hashv 433 src/dps8/uthash.h # define HASH_FNV(key,keylen,num_bkts,hashv,bkt) \ hashv 437 src/dps8/uthash.h hashv = 2166136261UL; \ hashv 439 src/dps8/uthash.h hashv = (hashv * 16777619) ^ _hf_key[_fn_i]; \ hashv 440 src/dps8/uthash.h bkt = hashv & (num_bkts-1); \ hashv 443 src/dps8/uthash.h # define HASH_OAT(key,keylen,num_bkts,hashv,bkt) \ hashv 447 src/dps8/uthash.h hashv = 0; \ hashv 449 src/dps8/uthash.h hashv += _ho_key[_ho_i]; \ hashv 450 src/dps8/uthash.h hashv += (hashv << 10); \ hashv 451 src/dps8/uthash.h hashv ^= (hashv >> 6); \ hashv 453 src/dps8/uthash.h hashv += (hashv << 3); \ hashv 454 src/dps8/uthash.h hashv ^= (hashv >> 11); \ hashv 455 src/dps8/uthash.h hashv += (hashv << 15); \ hashv 456 src/dps8/uthash.h bkt = hashv & (num_bkts-1); \ hashv 472 src/dps8/uthash.h # define HASH_JEN(key,keylen,num_bkts,hashv,bkt) \ hashv 476 src/dps8/uthash.h hashv = 0xfeedbeef; \ hashv 486 src/dps8/uthash.h hashv += (_hj_key[8] + ( (unsigned)_hj_key[9] << 8 ) \ hashv 490 src/dps8/uthash.h HASH_JEN_MIX(_hj_i, _hj_j, hashv); \ hashv 495 src/dps8/uthash.h hashv += keylen; \ hashv 497 src/dps8/uthash.h case 11: hashv += ( (unsigned)_hj_key[10] << 24 ); \ hashv 498 src/dps8/uthash.h case 10: hashv += ( (unsigned)_hj_key[9] << 16 ); \ hashv 499 src/dps8/uthash.h case 9: hashv += ( (unsigned)_hj_key[8] << 8 ); \ hashv 509 src/dps8/uthash.h HASH_JEN_MIX(_hj_i, _hj_j, hashv); \ hashv 510 src/dps8/uthash.h bkt = hashv & (num_bkts-1); \ hashv 527 src/dps8/uthash.h # define HASH_SFH(key,keylen,num_bkts,hashv,bkt) \ hashv 534 src/dps8/uthash.h hashv = 0xcafebabe; \ hashv 538 src/dps8/uthash.h hashv += get16bits (_sfh_key); \ hashv 539 src/dps8/uthash.h _sfh_tmp = (uint32_t)(get16bits (_sfh_key+2)) << 11 ^ hashv; \ hashv 540 src/dps8/uthash.h hashv = (hashv << 16) ^ _sfh_tmp; \ hashv 542 src/dps8/uthash.h hashv += hashv >> 11; \ hashv 547 src/dps8/uthash.h case 3: hashv += get16bits (_sfh_key); \ hashv 548 src/dps8/uthash.h hashv ^= hashv << 16; \ hashv 549 src/dps8/uthash.h hashv ^= (uint32_t)(_sfh_key[sizeof (uint16_t)] << 18); \ hashv 550 src/dps8/uthash.h hashv += hashv >> 11; \ hashv 552 src/dps8/uthash.h case 2: hashv += get16bits (_sfh_key); \ hashv 553 src/dps8/uthash.h hashv ^= hashv << 11; \ hashv 554 src/dps8/uthash.h hashv += hashv >> 17; \ hashv 556 src/dps8/uthash.h case 1: hashv += *_sfh_key; \ hashv 557 src/dps8/uthash.h hashv ^= hashv << 10; \ hashv 558 src/dps8/uthash.h hashv += hashv >> 1; \ hashv 562 src/dps8/uthash.h hashv ^= hashv << 3; \ hashv 563 src/dps8/uthash.h hashv += hashv >> 5; \ hashv 564 src/dps8/uthash.h hashv ^= hashv << 4; \ hashv 565 src/dps8/uthash.h hashv += hashv >> 17; \ hashv 566 src/dps8/uthash.h hashv ^= hashv << 25; \ hashv 567 src/dps8/uthash.h hashv += hashv >> 6; \ hashv 568 src/dps8/uthash.h bkt = hashv & (num_bkts-1); \ hashv 616 src/dps8/uthash.h # define HASH_MUR(key,keylen,num_bkts,hashv,bkt) \ hashv 650 src/dps8/uthash.h hashv = _mur_h1; \ hashv 651 src/dps8/uthash.h bkt = hashv & (num_bkts-1); \ hashv 766 src/dps8/uthash.h HASH_TO_BKT( _he_thh->hashv, tbl->num_buckets*2, _he_bkt); \ hashv 911 src/dps8/uthash.h _dst_hh->hashv = _src_hh->hashv; \ hashv 921 src/dps8/uthash.h HASH_TO_BKT(_dst_hh->hashv, _dst_hh->tbl->num_buckets, _dst_bkt); \ hashv 1040 src/dps8/uthash.h unsigned hashv; /* result of hash-fcn(key) */