MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / copy_string

Function copy_string

yolo_detector/darknet_opt/src/utils.c:420–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

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