MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / hasParam

Method hasParam

src/thundersvm/util/log.cpp:1279–1281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1277 }
1278
1279 bool CommandLineArgs::hasParam(const char* paramKey) const {
1280 return std::find(m_params.begin(), m_params.end(), std::string(paramKey)) != m_params.end();
1281 }
1282
1283 bool CommandLineArgs::empty(void) const {
1284 return m_params.empty() && m_paramsWithValue.empty();

Callers 1

setFromArgsMethod · 0.80

Calls 2

endMethod · 0.80
beginMethod · 0.45

Tested by

no test coverage detected