Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
64
static inline uintptr_t ht_perfect_mask(const struct htable *ht)
65
{
66
return (uintptr_t)2 << ht->perfect_bitnum;
67
}
68
69
static inline uintptr_t get_hash_ptr_bits(const struct htable *ht,
70
size_t hash)
Callers
8
get_hash_ptr_bits
Function · 0.85
htable_firstval_
Function · 0.85
fixup_table_common
Function · 0.85
ht_add
Function · 0.85
rehash_table
Function · 0.85
perfect
Function · 0.85
main
Function · 0.85
main
Function · 0.85
Calls
no outgoing calls
Tested by
2
main
Function · 0.68
main
Function · 0.68