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

Method HasFlags

util/generic/flags.h:175–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173 }
174
175 constexpr bool HasFlags(TFlags flags) const {
176 return (Value_ & flags.Value_) == flags.Value_;
177 }
178
179 constexpr bool HasAnyOfFlags(TFlags flags) const {
180 return (Value_ & flags.Value_) != 0;

Callers 2

BuildRequestFunction · 0.45
TestEnumFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestEnumFunction · 0.36