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

Function bitmap_get

ewah/bitmap.c:68–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68int bitmap_get(struct bitmap *self, size_t pos)
69{
70 size_t block = EWAH_BLOCK(pos);
71 return block < self->word_alloc &&
72 (self->words[block] & EWAH_MASK(pos)) != 0;
73}
74
75struct ewah_bitmap *bitmap_to_ewah(struct bitmap *bitmap)
76{

Callers 15

add_to_include_setFunction · 0.85
should_include_objFunction · 0.85
find_objectsFunction · 0.85
show_extended_objectsFunction · 0.85
filter_bitmap_blob_limitFunction · 0.85
try_partial_reuseFunction · 0.85
bitmap_walk_containsFunction · 0.85
count_object_typeFunction · 0.85
test_bitmap_typeFunction · 0.85
ahead_behindFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_bitmap_typeFunction · 0.68