Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ make_hval
Function
make_hval
ccan/ccan/htable/htable.c:53–57 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
51
}
52
53
static inline uintptr_t make_hval(const struct htable *ht,
54
const void *p, uintptr_t bits)
55
{
56
return ((uintptr_t)p & ~ht->common_mask) | bits;
57
}
58
59
static inline bool entry_is_valid(uintptr_t e)
60
{
Callers
1
ht_add
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected