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

Function bitmap_fill

ccan/ccan/bitmap/bitmap.h:89–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89static inline void bitmap_fill(bitmap *b, unsigned long nbits)
90{
91 memset(b, 0xff, bitmap_sizeof(nbits));
92}
93
94static inline void bitmap_copy(bitmap *dst, const bitmap *src,
95 unsigned long nbits)

Callers 3

bitmap_alloc1Function · 0.85
test_sizesFunction · 0.85
test_sizeFunction · 0.85

Calls 1

bitmap_sizeofFunction · 0.85

Tested by 2

test_sizesFunction · 0.68
test_sizeFunction · 0.68