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

Function namelen

ccan/ccan/tal/benchmark/samba-allocs.c:78–84  ·  view source on GitHub ↗

Random string of required length */

Source from the content-addressed store, hash-verified

76
77/* Random string of required length */
78static char *namelen(int len)
79{
80 char *p = malloc(len);
81 memset(p, 'x', len-1);
82 p[len-1] = '\0';
83 return p;
84}
85
86static struct node *read_nodes(FILE *f)
87{

Callers 1

read_nodesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected