MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / padding

Method padding

src/core/test/static_mem_alloc.cpp:67–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65 std::unique_ptr<cg::StaticMemAlloc> m_allocator;
66
67 size_t padding() const { return GetParam().padding; }
68
69 size_t align(size_t addr) const {
70 return get_aligned_power2(addr, GetParam().align);

Callers 3

format_and_printMethod · 0.80
SetUpMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected