Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
BuildRequest
Function · 0.45
TestEnum
Function · 0.45
Calls
no outgoing calls
Tested by
1
TestEnum
Function · 0.36