Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
423
char *copy_string(char *s)
424
{
425
char *copy = malloc(strlen(s)+1);
426
strncpy(copy, s, strlen(s)+1);
427
return copy;
428
}
429
430
list *parse_csv_line(char *line)
431
{
Callers
3
basecfg
Function · 0.85
parse_csv_line
Function · 0.85
find_replace_paths
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected