Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ SetUp
Method
SetUp
src/core/test/static_mem_alloc.cpp:74–78 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
72
73
public:
74
void SetUp() override {
75
m_allocator = StaticMemAlloc::make(GetParam().algo);
76
m_allocator->alignment(GetParam().align);
77
m_allocator->padding(GetParam().padding);
78
}
79
};
80
81
class RandomOpr : public BasicCorrectness {};
Callers
nothing calls this directly
Calls
3
padding
Method · 0.80
make
Function · 0.70
alignment
Method · 0.45
Tested by
no test coverage detected