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

Function bitmap_dup

ewah/bitmap.c:38–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38struct bitmap *bitmap_dup(const struct bitmap *src)
39{
40 struct bitmap *dst = bitmap_word_alloc(src->word_alloc);
41 COPY_ARRAY(dst->words, src->words, src->word_alloc);
42 return dst;
43}
44
45static void bitmap_grow(struct bitmap *self, size_t word_alloc)
46{

Callers 1

bitmap_writer_buildFunction · 0.85

Calls 1

bitmap_word_allocFunction · 0.85

Tested by

no test coverage detected