MCPcopy Create free account
hub / github.com/RenderKit/oidn / ScratchArena

Method ScratchArena

core/arena.cpp:74–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72 // -----------------------------------------------------------------------------------------------
73
74 ScratchArena::ScratchArena(ScratchArenaManager* manager, size_t byteSize,
75 const std::string& name)
76 : manager(manager),
77 heap(nullptr),
78 byteSize(byteSize),
79 name(name)
80 {
81 heap = manager->attach(this);
82 }
83
84 ScratchArena::~ScratchArena()
85 {

Callers

nothing calls this directly

Calls 1

attachMethod · 0.45

Tested by

no test coverage detected