MCPcopy Create free account
hub / github.com/bytedance/bolt / getFuncPtr

Method getFuncPtr

bolt/jit/CompiledModule.cpp:27–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27intptr_t CompiledModule::getFuncPtr(const std::string& fn) const {
28 auto it = functions_.find(fn);
29 return it == functions_.end() ? 0 : it->second;
30}
31
32size_t CompiledModule::getCodeSize() const noexcept {
33 return codeSize_;

Callers 14

sortPartitionsMethod · 0.80
ensureSortedMethod · 0.80
noMoreInputMethod · 0.80
HashTableMethod · 0.80
prepareMethod · 0.80
TEST_FFunction · 0.80
TESTFunction · 0.80
runOnceMethod · 0.80
prepareMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by 6

TEST_FFunction · 0.64
TESTFunction · 0.64
runOnceMethod · 0.64
prepareMethod · 0.64
runOnceMethod · 0.64
prepareMethod · 0.64