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

Function linelen

apply.c:418–427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416}
417
418static unsigned long linelen(const char *buffer, unsigned long size)
419{
420 unsigned long len = 0;
421 while (size--) {
422 len++;
423 if (*buffer++ == '\n')
424 break;
425 }
426 return len;
427}
428
429static int is_dev_null(const char *str)
430{

Callers 8

parse_git_diff_headerFunction · 0.70
recount_diffFunction · 0.70
find_headerFunction · 0.70
adjust_incompleteFunction · 0.70
parse_fragmentFunction · 0.70
parse_binary_hunkFunction · 0.70
parse_chunkFunction · 0.70
apply_one_fragmentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected