Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ HasAnyOfFlags
Method
HasAnyOfFlags
util/generic/flags.h:179–181 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
177
}
178
179
constexpr bool HasAnyOfFlags(TFlags flags) const {
180
return (Value_ & flags.Value_) != 0;
181
}
182
183
TFlags RemoveFlag(Enum value) {
184
Value_ &= ~static_cast<TInt>(value);
Callers
1
TestEnum
Function · 0.80
Calls
no outgoing calls
Tested by
1
TestEnum
Function · 0.64