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

Method totalAllocationsOfSize

src/CppUTest/TestMemoryAllocator.cpp:529–535  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

527}
528
529size_t MemoryAccountant::totalAllocationsOfSize(size_t size) const
530{
531 MemoryAccountantAllocationNode* node = findNodeOfSize(size);
532 if (node)
533 return node->allocations_;
534 return 0;
535}
536
537size_t MemoryAccountant::totalDeallocationsOfSize(size_t size) const
538{

Callers 2

TESTFunction · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected