Home
last modified time | relevance | path

Searched refs:push_heap (Results 1 – 25 of 32) sorted by relevance

12

/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/push.heap/
H A Dpush_heap.pass.cpp30 std::push_heap(Iter(work), Iter(work+i)); in test()
37 std::push_heap(Iter(input), Iter(input + 1)); assert(input[0] == 1); in test()
38 std::push_heap(Iter(input), Iter(input + 2)); assert(input[0] == 3); in test()
39 std::push_heap(Iter(input), Iter(input + 3)); assert(input[0] == 3); in test()
40 std::push_heap(Iter(input), Iter(input + 4)); assert(input[0] == 5); in test()
41 std::push_heap(Iter(input), Iter(input + 5)); assert(input[0] == 5); in test()
H A Dpush_heap_comp.pass.cpp30 std::push_heap(Iter(work), Iter(work+i), std::greater<T>()); in test()
37 std::push_heap(Iter(input), Iter(input + 1), std::greater<T>()); assert(input[0] == 5); in test()
38 std::push_heap(Iter(input), Iter(input + 2), std::greater<T>()); assert(input[0] == 3); in test()
39 std::push_heap(Iter(input), Iter(input + 3), std::greater<T>()); assert(input[0] == 3); in test()
40 std::push_heap(Iter(input), Iter(input + 4), std::greater<T>()); assert(input[0] == 1); in test()
41 std::push_heap(Iter(input), Iter(input + 5), std::greater<T>()); assert(input[0] == 1); in test()
H A Dranges_push_heap.pass.cpp80 std::same_as<Iter> decltype(auto) last = std::ranges::push_heap(b, e); in test_one()
90 std::same_as<Iter> decltype(auto) last = std::ranges::push_heap(range); in test_one()
137 auto last = std::ranges::push_heap(in.begin(), in.end(), std::ranges::greater{}); in test()
144 auto last = std::ranges::push_heap(in, std::ranges::greater{}); in test()
160 auto last = std::ranges::push_heap(in.begin(), in.end(), {}, &A::a); in test()
166 auto last = std::ranges::push_heap(in, {}, &A::a); in test()
186 auto last = std::ranges::push_heap(in.begin(), in.end(), &A::comparator, &A::projection); in test()
192 auto last = std::ranges::push_heap(in, &A::comparator, &A::projection); in test()
202 …auto last = std::ranges::push_heap(in.begin(), in.end(), [](int i, int j) { return BooleanTestable… in test()
208 auto last = std::ranges::push_heap(in, [](int i, int j) { return BooleanTestable{i < j}; }); in test()
[all …]
/llvm-project-15.0.7/libcxx/include/__algorithm/
H A Dpush_heap.h62 void push_heap(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { in push_heap() function
71 void push_heap(_RandomAccessIterator __first, _RandomAccessIterator __last) { in push_heap() function
72 std::push_heap(std::move(__first), std::move(__last), in push_heap()
H A Dranges_push_heap.h72 inline constexpr auto push_heap = __push_heap::__fn{};
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DQuality.h203 std::push_heap(Heap.begin(), Heap.end(), Greater); in push()
207 std::push_heap(Heap.begin(), Heap.end(), Greater); in push()
/llvm-project-15.0.7/libcxx/test/libcxx/fuzzing/
H A Dpush_heap.pass.cpp32 std::push_heap(working.begin(), iter); in LLVMFuzzerTestOneInput()
/llvm-project-15.0.7/libcxx/benchmarks/algorithms/
H A Dpush_heap.bench.cpp22 std::push_heap(Copy.begin(), I + 1); in run()
H A Dranges_push_heap.bench.cpp22 std::ranges::push_heap(Copy.begin(), I + 1); in run()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DInlineOrder.h129 std::push_heap(Heap.begin(), Heap.end(), isLess); in adjust()
149 std::push_heap(Heap.begin(), Heap.end(), isLess); in push()
/llvm-project-15.0.7/libcxx/test/libcxx/algorithms/
H A Drobust_against_cpp20_hostile_iterators.compile.pass.cpp173 (void) std::push_heap(it, it); in test()
174 (void) std::push_heap(it, it, pred); in test()
H A Dranges_robust_against_copying_comparators.pass.cpp188 (void)std::ranges::push_heap(first, last, Less(&copies)); assert(copies == 0); in all_the_algorithms()
189 (void)std::ranges::push_heap(a, Less(&copies)); assert(copies == 0); in all_the_algorithms()
H A Dranges_robust_against_copying_projections.pass.cpp171 (void)std::ranges::push_heap(first, last, Less(), Proj(&copies)); assert(copies == 0); in all_the_algorithms()
172 (void)std::ranges::push_heap(a, Less(), Proj(&copies)); assert(copies == 0); in all_the_algorithms()
H A Drobust_against_copying_comparators.pass.cpp181 (void)std::push_heap(first, last, Less<T>(&copies)); assert(copies == 0); in all_the_algorithms()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DBackgroundQueue.cpp94 std::push_heap(Queue.begin(), Queue.end()); in push()
/llvm-project-15.0.7/libcxx/test/std/algorithms/
H A Drobust_against_adl.compile.pass.cpp168 (void)std::push_heap(first, last); in all_the_algorithms()
169 (void)std::push_heap(first, last, std::less<void*>()); in all_the_algorithms()
H A Drobust_re_difference_type.compile.pass.cpp203 (void)std::push_heap(first, last); in all_the_algorithms()
204 (void)std::push_heap(first, last, std::less<void*>()); in all_the_algorithms()
H A Dranges_robust_against_nonbool_predicates.pass.cpp139 test(std::ranges::push_heap, in, binary_pred); in test_all()
H A Dranges_robust_against_proxy_iterators.pass.cpp168 test(std::ranges::push_heap, in); in run_tests()
H A Dranges_robust_against_dangling.pass.cpp201 dangling_1st(std::ranges::push_heap, in); in test_all()
H A Dranges_robust_against_omitting_invoke.pass.cpp168 test(std::ranges::push_heap, in, &Foo::binary_pred, &Bar::val); in test_all()
/llvm-project-15.0.7/libcxx/include/
H A Dqueue222 #include <__algorithm/push_heap.h>
895 _VSTD::push_heap(c.begin(), c.end(), comp);
906 _VSTD::push_heap(c.begin(), c.end(), comp);
916 _VSTD::push_heap(c.begin(), c.end(), comp);
/llvm-project-15.0.7/libcxx/benchmarks/
H A DCMakeLists.txt166 algorithms/push_heap.bench.cpp
/llvm-project-15.0.7/libcxx/test/std/library/description/conventions/customization.point.object/
H A Dniebloid.compile.pass.cpp119 static_assert(test(std::ranges::push_heap, a));
/llvm-project-15.0.7/libcxx/docs/Status/
H A DRangesAlgorithms.csv82 Permutation,push_heap,Konstantin Varlamov,`D128115 <https://llvm.org/D128115>`_,✅

12