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

Function get_extra_ptr_bits

ccan/ccan/htable/htable.c:42–46  ·  view source on GitHub ↗

We clear out the bits which are always the same, and put metadata there. */

Source from the content-addressed store, hash-verified

40
41/* We clear out the bits which are always the same, and put metadata there. */
42static inline uintptr_t get_extra_ptr_bits(const struct htable *ht,
43 uintptr_t e)
44{
45 return e & ht->common_mask;
46}
47
48static inline void *get_raw_ptr(const struct htable *ht, uintptr_t e)
49{

Callers 1

htable_valFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected