MCPcopy Create free account
hub / github.com/beefytech/Beef / fb_init

Function fb_init

BeefRT/JEMalloc/include/jemalloc/internal/fb.h:17–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 + ((nbits) % FB_GROUP_BITS == 0 ? 0 : 1))
16
17static inline void
18fb_init(fb_group_t *fb, size_t nbits) {
19 size_t ngroups = FB_NGROUPS(nbits);
20 memset(fb, 0, ngroups * sizeof(fb_group_t));
21}
22
23static inline bool
24fb_empty(fb_group_t *fb, size_t nbits) {

Callers 4

psset_initFunction · 0.85
eset_initFunction · 0.85
hpdata_initFunction · 0.85
hpdata_purge_beginFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected