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

Function nth_bitmap_object_oid

pack-bitmap.c:383–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

381#define MAX_XOR_OFFSET 160
382
383static int nth_bitmap_object_oid(struct bitmap_index *index,
384 struct object_id *oid,
385 uint32_t n)
386{
387 if (index->midx)
388 return nth_midxed_object_oid(oid, index->midx, n) ? 0 : -1;
389 return nth_packed_object_id(oid, index->pack, n);
390}
391
392static int load_bitmap_entries_v1(struct bitmap_index *index)
393{

Callers 7

load_bitmap_entries_v1Function · 0.85
lazy_bitmap_for_commitFunction · 0.85
show_objects_for_typeFunction · 0.85
get_size_by_posFunction · 0.85
test_bitmap_hashesFunction · 0.85
bit_pos_to_object_idFunction · 0.85
create_bitmap_mappingFunction · 0.85

Calls 2

nth_midxed_object_oidFunction · 0.85
nth_packed_object_idFunction · 0.85

Tested by 1

test_bitmap_hashesFunction · 0.68