Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
52
void 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
60
void bitmap_unset(struct bitmap *self, size_t pos)
61
{
Callers
15
show_object
Function · 0.85
add_to_include_set
Function · 0.85
find_boundary_objects
Function · 0.85
pseudo_merge_bitmap_for_commit
Function · 0.85
find_objects
Function · 0.85
find_tip_objects
Function · 0.85
for_each_bitmapped_object
Function · 0.85
try_partial_reuse
Function · 0.85
test_show_object
Function · 0.85
test_show_commit
Function · 0.85
rebuild_bitmap
Function · 0.85
ahead_behind
Function · 0.85
Calls
1
bitmap_grow
Function · 0.85
Tested by
2
test_show_object
Function · 0.68
test_show_commit
Function · 0.68