MCPcopy Create free account
hub / github.com/ElementsProject/lightning / ht_perfect_mask

Function ht_perfect_mask

ccan/ccan/htable/htable.c:64–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64static inline uintptr_t ht_perfect_mask(const struct htable *ht)
65{
66 return (uintptr_t)2 << ht->perfect_bitnum;
67}
68
69static inline uintptr_t get_hash_ptr_bits(const struct htable *ht,
70 size_t hash)

Callers 8

get_hash_ptr_bitsFunction · 0.85
htable_firstval_Function · 0.85
fixup_table_commonFunction · 0.85
ht_addFunction · 0.85
rehash_tableFunction · 0.85
perfectFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 2

mainFunction · 0.68
mainFunction · 0.68