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

Method MatchFilters

library/cpp/testing/benchmark/bench.cpp:550–562  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

548 }
549
550 bool MatchFilters(const TStringBuf& name) const {
551 if (!Filters) {
552 return true;
553 }
554
555 for (auto&& re : Filters) {
556 if (RE2::FullMatchN({name.data(), name.size()}, *re, nullptr, 0)) {
557 return true;
558 }
559 }
560
561 return false;
562 }
563
564 bool ListTests = false;
565 double TimeBudget = -1.0;

Callers 1

MainMethod · 0.80

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected