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

Method isConfig

src/thundersvm/util/log.cpp:391–397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

389 }
390
391 bool Configurations::Parser::isConfig(const std::string& line) {
392 std::size_t assignment = line.find('=');
393 return line != "" &&
394 ((line[0] >= 'A' && line[0] <= 'Z') || (line[0] >= 'a' && line[0] <= 'z')) &&
395 (assignment != std::string::npos) &&
396 (line.size() > assignment);
397 }
398
399 bool Configurations::Parser::parseLine(std::string* line, std::string* currConfigStr, std::string* currLevelStr,
400 Level* currLevel,

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected