MCPcopy Create free account
hub / github.com/amov-lab/Prometheus / copy_string

Function copy_string

Modules/object_detection/src/darknet_lib/src/utils.c:423–428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421
422
423char *copy_string(char *s)
424{
425 char *copy = malloc(strlen(s)+1);
426 strncpy(copy, s, strlen(s)+1);
427 return copy;
428}
429
430list *parse_csv_line(char *line)
431{

Callers 3

basecfgFunction · 0.85
parse_csv_lineFunction · 0.85
find_replace_pathsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected