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

Function MNNFilePathConcat

source/core/MNNFileUtils.cpp:12–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#include "MNNFileUtils.h"
11
12std::string MNNFilePathConcat(std::string prefix, std::string suffix) {
13#if defined(WIN32) || defined(_WIN32) || defined(_WIN64) || defined(_MSC_VER)
14 return prefix + "\\" + suffix;
15#else
16 return prefix + "/" + suffix;
17#endif
18}
19
20bool MNNDirExist(const char * path) {
21#if defined(WIN32) || defined(_WIN32) || defined(_WIN64) || defined(_MSC_VER)

Callers 15

saveInputOutputsFunction · 0.85
mainFunction · 0.85
generateConfigFileFunction · 0.85
mainFunction · 0.85
saveVideoFramesMethod · 0.85
getDirectoryOfFunction · 0.85
saveInputOutputsFunction · 0.85
setPrefixCacheFileMethod · 0.85
completePrefixWriteMethod · 0.85
~ OpenCLMmapAllocatorMethod · 0.85
onAllocMethod · 0.85
syncMethod · 0.85

Calls

no outgoing calls

Tested by 1

runMethod · 0.68