MCPcopy Create free account
hub / github.com/MegEngine/MegCC / update

Method update

compiler/test/kernel/common/src/memory_manager.cpp:49–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49void MemoryManagerHolder::update(
50 Handle* handle, std::unique_ptr<MemoryManager> memory_manager) {
51 std::lock_guard<std::mutex> lock(m_map_mutex);
52 m_map[handle] = std::move(memory_manager);
53}
54
55void MemoryManagerHolder::clear() {
56 std::lock_guard<std::mutex> lock(m_map_mutex);

Callers 13

execMethod · 0.45
searchMethod · 0.45
execMethod · 0.45
execMethod · 0.45
execMethod · 0.45
execMethod · 0.45
execMethod · 0.45
execMethod · 0.45
execMethod · 0.45
execMethod · 0.45
execMethod · 0.45
execMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected