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

Function new_example

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

Source from the content-addressed store, hash-verified

132 example_htable);
133
134static struct example *new_example(const tal_t *ctx, size_t i)
135{
136 struct example *e = tal(ctx, struct example);
137 e->val = i;
138 e->val2 = siphash24(&seed, &i, sizeof(i));
139 return e;
140}
141
142static void check_htable(struct example_htable *htable,
143 struct example *arr[],

Callers 1

mainFunction · 0.85

Calls 1

siphash24Function · 0.85

Tested by

no test coverage detected