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

Function range_set_init

line-log.c:30–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28#define RANGE_SET_INIT {0}
29
30void range_set_init(struct range_set *rs, size_t prealloc)
31{
32 rs->alloc = rs->nr = 0;
33 rs->ranges = NULL;
34 if (prealloc)
35 range_set_grow(rs, prealloc);
36}
37
38void range_set_release(struct range_set *rs)
39{

Callers 5

range_set_copyFunction · 0.85
diff_ranges_initFunction · 0.85
line_log_data_initFunction · 0.85
process_diff_filepairFunction · 0.85
cmd_blameFunction · 0.85

Calls 1

range_set_growFunction · 0.85

Tested by

no test coverage detected