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

Function pseudo_random_array

ccan/ccan/asort/test/run.c:38–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38static void pseudo_random_array(int arr[], unsigned int size)
39{
40 unsigned int i;
41
42 for (i = 0; i < size; i++)
43 arr[i] = i * (INT_MAX / 4 - 7);
44}
45
46/* Track whether the comparator was ever called with identical pointers. */
47static bool self_compared;

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected