Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cpputest/cpputest
/ strdupAllocation
Function
strdupAllocation
tests/CppUTest/AllocationInCFile.c:12–19 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
10
}
11
12
char* strdupAllocation()
13
{
14
#ifdef CPPUTEST_USE_STRDUP_MACROS
15
return strdup(
"0123456789"
);
16
#else
17
return NULL;
18
#endif
19
}
20
21
22
char* strndupAllocation()
Callers
1
TEST
Function · 0.85
Calls
no outgoing calls
Tested by
1
TEST
Function · 0.68