MCPcopy Create free account
hub / github.com/alibaba/MNN / ~FileLoader

Method ~FileLoader

source/core/FileLoader.cpp:58–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58FileLoader::~FileLoader() {
59 if (nullptr != mFile) {
60 fclose(mFile);
61 }
62 for (auto iter : mBlocks) {
63 MNNMemoryFreeAlign(iter.second);
64 }
65}
66
67bool FileLoader::read() {
68 _init();

Callers

nothing calls this directly

Calls 1

MNNMemoryFreeAlignFunction · 0.85

Tested by

no test coverage detected