MCPcopy 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
53static 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
59static inline bool entry_is_valid(uintptr_t e)
60{

Callers 1

ht_addFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected