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

Function strbuf_addchars

strbuf.c:347–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345}
346
347void strbuf_addchars(struct strbuf *sb, int c, size_t n)
348{
349 strbuf_grow(sb, n);
350 memset(sb->buf + sb->len, c, n);
351 strbuf_setlen(sb, sb->len + n);
352}
353
354void strbuf_addf(struct strbuf *sb, const char *fmt, ...)
355{

Callers 15

format_commitFunction · 0.85
path_msgFunction · 0.85
output_pair_headerFunction · 0.85
strbuf_add_indented_textFunction · 0.85
strbuf_add_wrapped_textFunction · 0.85
increase_indentFunction · 0.85
pp_user_infoFunction · 0.85
format_and_pad_commitFunction · 0.85
strbuf_add_tabexpandFunction · 0.85
pp_handle_indentFunction · 0.85
show_interdiffFunction · 0.85

Calls 2

strbuf_growFunction · 0.85
strbuf_setlenFunction · 0.85

Tested by 1

do_sendbytesFunction · 0.68