Home
last modified time | relevance | path

Searched refs:hashv (Results 1 – 2 of 2) sorted by relevance

/net-tools-3.5.0/tinydtls-0.8.2/
Duthash.h115 #define HASH_BLOOM_ADD(tbl,hashv) \ argument
116 HASH_BLOOM_BITSET((tbl)->bloom_bv, (hashv & (uint32_t)((1ULL << (tbl)->bloom_nbits) - 1)))
118 #define HASH_BLOOM_TEST(tbl,hashv) \ argument
119 HASH_BLOOM_BITTEST((tbl)->bloom_bv, (hashv & (uint32_t)((1ULL << (tbl)->bloom_nbits) - 1)))
124 #define HASH_BLOOM_ADD(tbl,hashv) argument
125 #define HASH_BLOOM_TEST(tbl,hashv) (1) argument
168 (add)->hh.hashv, _ha_bkt); \
170 HASH_BLOOM_ADD((head)->hh.tbl,(add)->hh.hashv); \
175 #define HASH_TO_BKT( hashv, num_bkts, bkt ) \ argument
177 bkt = ((hashv) & ((num_bkts) - 1)); \
[all …]
/net-tools-3.5.0/libcoap/include/coap/
Duthash.h136 #define HASH_BLOOM_ADD(tbl,hashv) \ argument
137 HASH_BLOOM_BITSET((tbl)->bloom_bv, (hashv & (uint32_t)((1ULL << (tbl)->bloom_nbits) - 1)))
139 #define HASH_BLOOM_TEST(tbl,hashv) \ argument
140 HASH_BLOOM_BITTEST((tbl)->bloom_bv, (hashv & (uint32_t)((1ULL << (tbl)->bloom_nbits) - 1)))
145 #define HASH_BLOOM_ADD(tbl,hashv) argument
146 #define HASH_BLOOM_TEST(tbl,hashv) (1) argument
200 (add)->hh.hashv, _ha_bkt); \
202 HASH_BLOOM_ADD((head)->hh.tbl,(add)->hh.hashv); \
207 #define HASH_TO_BKT( hashv, num_bkts, bkt ) \ argument
209 bkt = ((hashv) & ((num_bkts) - 1)); \
[all …]