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

Function bitmap_zero

ccan/ccan/bitmap/bitmap.h:84–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82void bitmap_fill_range(bitmap *b, unsigned long n, unsigned long m);
83
84static inline void bitmap_zero(bitmap *b, unsigned long nbits)
85{
86 memset(b, 0, bitmap_sizeof(nbits));
87}
88
89static inline void bitmap_fill(bitmap *b, unsigned long nbits)
90{

Callers 5

bitmap_alloc0Function · 0.85
test_sizeFunction · 0.85
test_sizesFunction · 0.85
test_sizeFunction · 0.85
blacklist_to_bitmapFunction · 0.85

Calls 1

bitmap_sizeofFunction · 0.85

Tested by 3

test_sizeFunction · 0.68
test_sizesFunction · 0.68
test_sizeFunction · 0.68