MCPcopy Index your code
hub / github.com/git/git / get_bit_array

Function get_bit_array

commit-reach.c:1100–1106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1098}
1099
1100static struct bitmap *get_bit_array(struct commit *c, int width)
1101{
1102 struct bitmap **bitmap = bit_arrays_at(&bit_arrays, c);
1103 if (!*bitmap)
1104 *bitmap = bitmap_word_alloc(width);
1105 return *bitmap;
1106}
1107
1108static void free_bit_array(struct commit *c)
1109{

Callers 1

ahead_behindFunction · 0.85

Calls 1

bitmap_word_allocFunction · 0.85

Tested by

no test coverage detected