MCPcopy Create free account
hub / github.com/catboost/catboost / NameIs

Method NameIs

library/cpp/getopt/small/last_getopt_opt.cpp:14–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12 static const TStringBuf ExcludedLongNameChars = "= \t\n";
13
14 bool TOpt::NameIs(const TString& name) const {
15 for (const auto& next : LongNames_) {
16 if (next == name)
17 return true;
18 }
19 return false;
20 }
21
22 bool TOpt::CharIs(char c) const {
23 for (auto next : Chars_) {

Callers 3

ValidateMethod · 0.80
CurrentIsMethod · 0.80
AcceptOptionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected