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

Method unsafeSetIfNotExist

src/thundersvm/util/log.cpp:459–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457 }
458
459 void Configurations::unsafeSetIfNotExist(Level level, ConfigurationType configurationType, const std::string& value) {
460 Configuration* conf = RegistryWithPred<Configuration, Configuration::Predicate>::get(level, configurationType);
461 if (conf == nullptr) {
462 unsafeSet(level, configurationType, value);
463 }
464 }
465
466 void Configurations::unsafeSet(Level level, ConfigurationType configurationType, const std::string& value) {
467 Configuration* conf = RegistryWithPred<Configuration, Configuration::Predicate>::get(level, configurationType);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected