Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ direct_call
Method
direct_call
src/core/impl/system.cpp:294–298 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
292
FuncInit init;
293
294
Result direct_call(const Param& param) const {
295
if (init)
296
init(param);
297
return func(param);
298
}
299
};
300
static constexpr uint8_t INIT_DONE_FLAG = 23;
301
ForkExecImpl m_fork_exec_impl;
Callers
1
invoke
Function · 0.80
Calls
2
init
Function · 0.50
func
Function · 0.50
Tested by
no test coverage detected