MCPcopy Create free account
hub / github.com/git/git / bitmap_popcount

Function bitmap_popcount

ewah/bitmap.c:204–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204size_t bitmap_popcount(struct bitmap *self)
205{
206 size_t i, count = 0;
207
208 for (i = 0; i < self->word_alloc; ++i)
209 count += ewah_bit_popcount64(self->words[i]);
210
211 return count;
212}
213
214size_t ewah_bitmap_popcount(struct ewah_bitmap *self)
215{

Callers 3

test_bitmap_walkFunction · 0.85
ahead_behindFunction · 0.85

Calls 1

ewah_bit_popcount64Function · 0.85

Tested by 1

test_bitmap_walkFunction · 0.68