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

Function allocate_commit_buffer_slab

commit.c:356–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354define_commit_slab(buffer_slab, struct commit_buffer);
355
356struct buffer_slab *allocate_commit_buffer_slab(void)
357{
358 struct buffer_slab *bs = xmalloc(sizeof(*bs));
359 init_buffer_slab(bs);
360 return bs;
361}
362
363void free_commit_buffer_slab(struct buffer_slab *bs)
364{

Callers 1

parsed_object_pool_newFunction · 0.85

Calls 1

xmallocFunction · 0.70

Tested by

no test coverage detected