MCPcopy Create free account
hub / github.com/cpputest/cpputest / alloc_memory

Method alloc_memory

src/CppUTest/TestMemoryAllocator.cpp:162–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162char* TestMemoryAllocator::alloc_memory(size_t size, const char*, size_t)
163{
164 return checkedMalloc(size);
165}
166
167void TestMemoryAllocator::free_memory(char* memory, size_t, const char*, size_t)
168{

Calls 5

checkedMallocFunction · 0.85
allocMemoryMethod · 0.80
shouldFailMethod · 0.80
allocMethod · 0.45

Tested by

no test coverage detected