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

Function bitmap_grow

ewah/bitmap.c:45–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45static void bitmap_grow(struct bitmap *self, size_t word_alloc)
46{
47 size_t old_size = self->word_alloc;
48 ALLOC_GROW(self->words, word_alloc, self->word_alloc);
49 MEMZERO_ARRAY(self->words + old_size, self->word_alloc - old_size);
50}
51
52void bitmap_set(struct bitmap *self, size_t pos)
53{

Callers 2

bitmap_setFunction · 0.85
bitmap_orFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected