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

Function one_seems_likely

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

Source from the content-addressed store, hash-verified

5#include <stdlib.h>
6
7static bool one_seems_likely(unsigned int val)
8{
9 if (likely(val == 1))
10 return true;
11 return false;
12}
13
14static bool one_seems_unlikely(unsigned int val)
15{

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected