MCPcopy Index your code
hub / github.com/git/git / bitmap_total_entry_count

Function bitmap_total_entry_count

pack-bitmap.c:2747–2756  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2745}
2746
2747static uint32_t bitmap_total_entry_count(struct bitmap_index *bitmap_git)
2748{
2749 uint32_t total = 0;
2750 do {
2751 total = st_add(total, bitmap_git->entry_count);
2752 bitmap_git = bitmap_git->base;
2753 } while (bitmap_git);
2754
2755 return total;
2756}
2757
2758static void bitmap_test_data_prepare(struct bitmap_test_data *tdata,
2759 struct bitmap_index *bitmap_git)

Callers 1

test_bitmap_walkFunction · 0.85

Calls 1

st_addFunction · 0.85

Tested by 1

test_bitmap_walkFunction · 0.68