MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / string_value_of

Function string_value_of

src/env.cpp:62–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62std::string string_value_of(const char* name, std::string fallback)
63{
64 auto e = env(name);
65 if(e.empty())
66 return fallback;
67 auto rv = e.front();
68 access_envs()([&](auto& m) { m[name] = rv; });
69 return rv;
70}
71
72std::vector<std::string> env(const char* name)
73{

Callers 7

is_pass_disabledFunction · 0.70
get_split_sizeFunction · 0.70
TEST_CASEFunction · 0.50
TEST_CASEFunction · 0.50
TEST_CASEFunction · 0.50
run_refMethod · 0.50
run_targetMethod · 0.50

Calls 4

envFunction · 0.85
access_envsFunction · 0.85
frontMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected