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

Method uninstallCustomFormatSpecifier

src/thundersvm/util/log.cpp:2061–2070  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2059 }
2060
2061 bool Storage::uninstallCustomFormatSpecifier(const char* formatSpecifier) {
2062 base::threading::ScopedLock scopedLock(lock());
2063 std::vector<CustomFormatSpecifier>::iterator it = std::find(m_customFormatSpecifiers.begin(),
2064 m_customFormatSpecifiers.end(), formatSpecifier);
2065 if (it != m_customFormatSpecifiers.end() && strcmp(formatSpecifier, it->formatSpecifier()) == 0) {
2066 m_customFormatSpecifiers.erase(it);
2067 return true;
2068 }
2069 return false;
2070 }
2071
2072 void Storage::setApplicationArguments(int argc, char** argv) {
2073 m_commandLineArgs.setArgs(argc, argv);

Callers

nothing calls this directly

Calls 3

endMethod · 0.80
formatSpecifierMethod · 0.80
beginMethod · 0.45

Tested by

no test coverage detected