MCPcopy Create free account
hub / github.com/alibaba/MNN / LoadFile

Function LoadFile

3rd_party/flatbuffers/src/util.cpp:72–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70static FileExistsFunction g_file_exists_function = FileExistsRaw;
71
72bool LoadFile(const char *name, bool binary, std::string *buf) {
73 FLATBUFFERS_ASSERT(g_load_file_function);
74 return g_load_file_function(name, binary, buf);
75}
76
77bool FileExists(const char *name) {
78 FLATBUFFERS_ASSERT(g_file_exists_function);

Callers 11

mainFunction · 0.85
mainFunction · 0.85
DoParseMethod · 0.85
CompileMethod · 0.85
JsonDefaultTestFunction · 0.85
ParseAndGenerateTextTestFunction · 0.85
ReflectionTestFunction · 0.85
ParseProtoTestFunction · 0.85
UnionVectorTestFunction · 0.85
LoadVerifyBinaryTestFunction · 0.85
LoadSchemaMethod · 0.85

Calls

no outgoing calls

Tested by 6

JsonDefaultTestFunction · 0.68
ParseAndGenerateTextTestFunction · 0.68
ReflectionTestFunction · 0.68
ParseProtoTestFunction · 0.68
UnionVectorTestFunction · 0.68
LoadVerifyBinaryTestFunction · 0.68