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

Function bitmap_set

ewah/bitmap.c:52–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void bitmap_set(struct bitmap *self, size_t pos)
53{
54 size_t block = EWAH_BLOCK(pos);
55
56 bitmap_grow(self, block + 1);
57 self->words[block] |= EWAH_MASK(pos);
58}
59
60void bitmap_unset(struct bitmap *self, size_t pos)
61{

Callers 15

show_objectFunction · 0.85
add_to_include_setFunction · 0.85
find_boundary_objectsFunction · 0.85
find_objectsFunction · 0.85
find_tip_objectsFunction · 0.85
try_partial_reuseFunction · 0.85
test_show_objectFunction · 0.85
test_show_commitFunction · 0.85
rebuild_bitmapFunction · 0.85
ahead_behindFunction · 0.85

Calls 1

bitmap_growFunction · 0.85

Tested by 2

test_show_objectFunction · 0.68
test_show_commitFunction · 0.68