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

Function likely_one_unlikely_two

ccan/ccan/likely/test/run-debug.c:21–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21static bool likely_one_unlikely_two(unsigned int val1, unsigned int val2)
22{
23 /* Same line, check we don't get confused! */
24 if (likely(val1 == 1) && unlikely(val2 == 2))
25 return true;
26 return false;
27}
28
29int main(void)
30{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected