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

Function span_key_hash

common/trace.c:91–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89static size_t span_keyof(const struct span *span) { return span->key; }
90
91static size_t span_key_hash(size_t key)
92{
93 return siphash24(siphash_seed(), &key, sizeof(key));
94}
95
96static bool span_key_eq(const struct span *span, size_t key)
97{

Callers

nothing calls this directly

Calls 2

siphash24Function · 0.85
siphash_seedClass · 0.70

Tested by

no test coverage detected