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

Function example_key

common/test/run-htable.c:119–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117static struct siphash_seed seed;
118
119static u64 example_key(const struct example *e)
120{
121 return (u64)e->val << 32 | e->val2;
122}
123static bool example_eq_key(const struct example *e, u64 key)
124{
125 return example_key(e) == key ;

Callers 2

example_eq_keyFunction · 0.85
check_htableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected