MCPcopy Create free account
hub / github.com/ElementsProject/elements / printchunk

Function printchunk

src/support/lockedpool.cpp:145–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143
144#ifdef ARENA_DEBUG
145static void printchunk(void* base, size_t sz, bool used) {
146 std::cout <<
147 "0x" << std::hex << std::setw(16) << std::setfill('0') << base <<
148 " 0x" << std::hex << std::setw(16) << std::setfill('0') << sz <<
149 " 0x" << used << std::endl;
150}
151void Arena::walk() const
152{
153 for (const auto& chunk: chunks_used)

Callers 1

walkMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected