Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cambricon/mlu-ops
/ load_env
Method
load_env
core/logging.cpp:101–106 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
99
}
100
}
101
const char* load_env(const char* env) {
102
if (env_data == nullptr) {
103
env_data = strdup(env);
104
}
105
return env_data;
106
}
107
108
private:
109
char* env_data = nullptr;
Callers
1
VmodulesMapFromEnv
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected