MCPcopy Create free account
hub / github.com/FastLED/FastLED / sort

Function sort

src/fl/stl/algorithm.h:564–570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

562// Sort function with custom comparator (using quicksort)
563template <typename Iterator, typename Compare>
564void sort(Iterator first, Iterator last, Compare comp) FL_NOEXCEPT {
565 if (first == last || first + 1 == last) {
566 return; // Already sorted or empty
567 }
568
569 detail::quicksort_impl(first, last, comp);
570}
571
572// Sort function with default comparator
573template <typename Iterator>

Callers 10

invokeMethod · 0.85
updateFunction · 0.85
updateMethod · 0.85
showMethod · 0.85
showMethod · 0.85
getComponentsMethod · 0.85
calculateMethod · 0.85
FL_TEST_FILEFunction · 0.85
FL_TEST_FILEFunction · 0.85
FL_TEST_FILEFunction · 0.85

Calls 1

quicksort_implFunction · 0.85

Tested by

no test coverage detected