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

Function IsSorted

util/generic/algorithm.h:740–742  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

738
739template <class ForwardIt>
740constexpr bool IsSorted(ForwardIt begin, ForwardIt end) {
741 return std::is_sorted(begin, end);
742}
743
744template <class ForwardIt, class Compare>
745constexpr bool IsSorted(ForwardIt begin, ForwardIt end, Compare comp) {

Callers 7

Y_UNIT_TESTFunction · 0.85
CalcMethod · 0.85
CheckFeatureIndexesMethod · 0.85
GetTreeLeafCountsMethod · 0.85
IsSortedByFunction · 0.85
Y_UNIT_TESTFunction · 0.85

Calls 1

is_sortedFunction · 0.50

Tested by

no test coverage detected