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

Method maximumAllocationAtATimeOfSize

src/CppUTest/TestMemoryAllocator.cpp:545–551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

543}
544
545size_t MemoryAccountant::maximumAllocationAtATimeOfSize(size_t size) const
546{
547 MemoryAccountantAllocationNode* node = findNodeOfSize(size);
548 if (node)
549 return node->maxAllocations_;
550 return 0;
551}
552
553size_t MemoryAccountant::totalAllocations() const
554{

Callers 1

TESTFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected