HomeSort by relevance Sort by last modified time
    Searched refs:is_heap (Results 1 - 25 of 71) sorted by null

1 2 3

  /external/libcxx/test/algorithms/alg.sorting/alg.heap.operations/is.heap/
is_heap.pass.cpp 15 // is_heap(Iter first, Iter last);
23 assert(std::is_heap(i1, i1));
24 assert(std::is_heap(i1, i1+1) == (std::is_heap_until(i1, i1+1) == i1+1));
27 assert(std::is_heap(i1, i1+2) == (std::is_heap_until(i1, i1+2) == i1+2));
28 assert(std::is_heap(i2, i2+2) == (std::is_heap_until(i2, i2+2) == i2+2));
29 assert(std::is_heap(i3, i3+2) == (std::is_heap_until(i3, i3+2) == i3+2));
37 assert(std::is_heap(i4, i4+3) == (std::is_heap_until(i4, i4+3) == i4+3));
38 assert(std::is_heap(i5, i5+3) == (std::is_heap_until(i5, i5+3) == i5+3));
39 assert(std::is_heap(i6, i6+3) == (std::is_heap_until(i6, i6+3) == i6+3));
40 assert(std::is_heap(i7, i7+3) == (std::is_heap_until(i7, i7+3) == i7+3))
    [all...]
is_heap_comp.pass.cpp 15 // is_heap(Iter first, Iter last);
24 assert(std::is_heap(i1, i1, std::greater<int>()));
25 assert(std::is_heap(i1, i1+1, std::greater<int>()) == (std::is_heap_until(i1, i1+1, std::greater<int>()) == i1+1));
28 assert(std::is_heap(i1, i1+2, std::greater<int>()) == (std::is_heap_until(i1, i1+2, std::greater<int>()) == i1+2));
29 assert(std::is_heap(i2, i2+2, std::greater<int>()) == (std::is_heap_until(i2, i2+2, std::greater<int>()) == i2+2));
30 assert(std::is_heap(i3, i3+2, std::greater<int>()) == (std::is_heap_until(i3, i3+2, std::greater<int>()) == i3+2));
38 assert(std::is_heap(i4, i4+3, std::greater<int>()) == (std::is_heap_until(i4, i4+3, std::greater<int>()) == i4+3));
39 assert(std::is_heap(i5, i5+3, std::greater<int>()) == (std::is_heap_until(i5, i5+3, std::greater<int>()) == i5+3));
40 assert(std::is_heap(i6, i6+3, std::greater<int>()) == (std::is_heap_until(i6, i6+3, std::greater<int>()) == i6+3));
41 assert(std::is_heap(i7, i7+3, std::greater<int>()) == (std::is_heap_until(i7, i7+3, std::greater<int>()) == i7+3))
    [all...]
Android.mk 27 test_name := algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap
28 test_src := is_heap.pass.cpp
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.heap.operations/is.heap/
is_heap.pass.cpp 15 // is_heap(Iter first, Iter last);
23 assert(std::is_heap(i1, i1));
24 assert(std::is_heap(i1, i1+1) == (std::is_heap_until(i1, i1+1) == i1+1));
27 assert(std::is_heap(i1, i1+2) == (std::is_heap_until(i1, i1+2) == i1+2));
28 assert(std::is_heap(i2, i2+2) == (std::is_heap_until(i2, i2+2) == i2+2));
29 assert(std::is_heap(i3, i3+2) == (std::is_heap_until(i3, i3+2) == i3+2));
37 assert(std::is_heap(i4, i4+3) == (std::is_heap_until(i4, i4+3) == i4+3));
38 assert(std::is_heap(i5, i5+3) == (std::is_heap_until(i5, i5+3) == i5+3));
39 assert(std::is_heap(i6, i6+3) == (std::is_heap_until(i6, i6+3) == i6+3));
40 assert(std::is_heap(i7, i7+3) == (std::is_heap_until(i7, i7+3) == i7+3))
    [all...]
is_heap_comp.pass.cpp 15 // is_heap(Iter first, Iter last);
24 assert(std::is_heap(i1, i1, std::greater<int>()));
25 assert(std::is_heap(i1, i1+1, std::greater<int>()) == (std::is_heap_until(i1, i1+1, std::greater<int>()) == i1+1));
28 assert(std::is_heap(i1, i1+2, std::greater<int>()) == (std::is_heap_until(i1, i1+2, std::greater<int>()) == i1+2));
29 assert(std::is_heap(i2, i2+2, std::greater<int>()) == (std::is_heap_until(i2, i2+2, std::greater<int>()) == i2+2));
30 assert(std::is_heap(i3, i3+2, std::greater<int>()) == (std::is_heap_until(i3, i3+2, std::greater<int>()) == i3+2));
38 assert(std::is_heap(i4, i4+3, std::greater<int>()) == (std::is_heap_until(i4, i4+3, std::greater<int>()) == i4+3));
39 assert(std::is_heap(i5, i5+3, std::greater<int>()) == (std::is_heap_until(i5, i5+3, std::greater<int>()) == i5+3));
40 assert(std::is_heap(i6, i6+3, std::greater<int>()) == (std::is_heap_until(i6, i6+3, std::greater<int>()) == i6+3));
41 assert(std::is_heap(i7, i7+3, std::greater<int>()) == (std::is_heap_until(i7, i7+3, std::greater<int>()) == i7+3))
    [all...]
  /external/libcxx/test/algorithms/alg.sorting/alg.heap.operations/make.heap/
make_heap.pass.cpp 27 assert(std::is_heap(ia, ia+N));
make_heap_comp.pass.cpp 39 assert(std::is_heap(ia, ia+N, std::greater<int>()));
60 assert(std::is_heap(ia, ia+N, indirect_less()));
  /external/libcxx/test/algorithms/alg.sorting/alg.heap.operations/push.heap/
push_heap.pass.cpp 30 assert(std::is_heap(ia, ia+i));
push_heap_comp.pass.cpp 42 assert(std::is_heap(ia, ia+i, std::greater<int>()));
61 assert(std::is_heap(ia, ia+i, indirect_less()));
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.heap.operations/make.heap/
make_heap.pass.cpp 27 assert(std::is_heap(ia, ia+N));
make_heap_comp.pass.cpp 39 assert(std::is_heap(ia, ia+N, std::greater<int>()));
60 assert(std::is_heap(ia, ia+N, indirect_less()));
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.heap.operations/push.heap/
push_heap.pass.cpp 30 assert(std::is_heap(ia, ia+i));
push_heap_comp.pass.cpp 42 assert(std::is_heap(ia, ia+i, std::greater<int>()));
61 assert(std::is_heap(ia, ia+i, indirect_less()));
  /external/libcxx/test/algorithms/alg.sorting/alg.heap.operations/pop.heap/
pop_heap.pass.cpp 30 assert(std::is_heap(ia, ia+i-1));
pop_heap_comp.pass.cpp 42 assert(std::is_heap(ia, ia+i-1, std::greater<int>()));
63 assert(std::is_heap(ia, ia+i-1, indirect_less()));
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.heap.operations/pop.heap/
pop_heap.pass.cpp 30 assert(std::is_heap(ia, ia+i-1));
pop_heap_comp.pass.cpp 42 assert(std::is_heap(ia, ia+i-1, std::greater<int>()));
63 assert(std::is_heap(ia, ia+i-1, indirect_less()));
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/binary_heap_/
binary_heap_.hpp 269 _GLIBCXX_DEBUG_ASSERT(is_heap());
275 if (!is_heap())
294 is_heap() function in class:__gnu_pbds::detail::binary_heap
insert_fn_imps.hpp 106 _GLIBCXX_DEBUG_ASSERT(is_heap());
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/detail/binary_heap_/
binary_heap_.hpp 269 _GLIBCXX_DEBUG_ASSERT(is_heap());
275 if (!is_heap())
294 is_heap() function in class:__gnu_pbds::detail::binary_heap
insert_fn_imps.hpp 106 _GLIBCXX_DEBUG_ASSERT(is_heap());
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/ext/pb_ds/detail/binary_heap_/
binary_heap_.hpp 269 _GLIBCXX_DEBUG_ASSERT(is_heap());
275 if (!is_heap())
294 is_heap() function in class:__gnu_pbds::detail::binary_heap
  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.7/include/ext/pb_ds/detail/binary_heap_/
binary_heap_.hpp 269 _GLIBCXX_DEBUG_ASSERT(is_heap());
275 if (!is_heap())
294 is_heap() function in class:__gnu_pbds::detail::binary_heap
  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/include/ext/pb_ds/detail/binary_heap_/
binary_heap_.hpp 269 _GLIBCXX_DEBUG_ASSERT(is_heap());
275 if (!is_heap())
294 is_heap() function in class:__gnu_pbds::detail::binary_heap
  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/binary_heap_/
binary_heap_.hpp 269 _GLIBCXX_DEBUG_ASSERT(is_heap());
275 if (!is_heap())
294 is_heap() function in class:__gnu_pbds::detail::binary_heap

Completed in 4729 milliseconds

1 2 3