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

Method hasConfiguration

src/thundersvm/util/log.cpp:239–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237 }
238
239 bool Configurations::hasConfiguration(ConfigurationType configurationType) {
240 base::type::EnumType lIndex = LevelHelper::kMinValid;
241 bool result = false;
242 LevelHelper::forEachLevel(&lIndex, [&](void) -> bool {
243 if (hasConfiguration(LevelHelper::castFromInt(lIndex), configurationType)) {
244 result = true;
245 }
246 return result;
247 });
248 return result;
249 }
250
251 bool Configurations::hasConfiguration(Level level, ConfigurationType configurationType) {
252 base::threading::ScopedLock scopedLock(lock());

Callers 1

configureMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected