Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ CountOf
Function
CountOf
util/generic/algorithm.h:217–219 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
215
216
template <typename T, typename... Other>
217
constexpr size_t CountOf(const T& x, const Other&... values) {
218
return (0 + ... + static_cast<size_t>(x == values));
219
}
220
221
template <class I>
222
constexpr void PushHeap(I f, I l) {
Callers
1
Y_UNIT_TEST
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected