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

Function get_raw_ptr

ccan/ccan/htable/htable.c:48–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48static inline void *get_raw_ptr(const struct htable *ht, uintptr_t e)
49{
50 return (void *)((e & ~ht->common_mask) | ht->common_bits);
51}
52
53static inline uintptr_t make_hval(const struct htable *ht,
54 const void *p, uintptr_t bits)

Callers 10

htable_valFunction · 0.85
htable_first_Function · 0.85
htable_next_Function · 0.85
htable_prev_Function · 0.85
fixup_table_commonFunction · 0.85
double_tableFunction · 0.85
rehash_tableFunction · 0.85
perfectFunction · 0.85
average_runFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68