|
Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
|
#include <algorithm>#include <cstring>#include <rw_alg_test.h>#include <rw_value.h>#include <rw_driver.h>
Go to the source code of this file.
Data Structures | |
| struct | Less< T > |
Macros | |
| #define | TEST(src, mid) test_partial_sort (__LINE__, src, 0, mid, it, itc, (T*)0, ppred, copy) |
Functions | |
| _RWSTD_NAMESPACE (std) | |
| template<class Iterator , class CopyIterator , class T , class Predicate > | |
| void | test_partial_sort (int line, const char *src, const std::size_t N, const std::size_t mid, const Iterator &it, const CopyIterator &itc, const T *, const Predicate *ppred, bool copy) |
| template<class Iterator , class CopyIterator , class T , class Predicate > | |
| void | test_partial_sort (const std::size_t N, const Iterator &it, const CopyIterator &itc, const T *, const Predicate *ppred, bool copy) |
| template<class T , class Predicate > | |
| void | test_partial_sort (const std::size_t N, const T *, const Predicate *ppred, bool copy) |
| template<class T > | |
| void | test_partial_sort (const std::size_t N, const T *, bool copy) |
| int | main (int argc, char *argv[]) |
Variables | |
| int | rw_opt_nloops = 256 |
| int | rw_opt_no_partial_sort |
| int | rw_opt_no_partial_sort_copy |
| int | rw_opt_no_predicate |
| int | rw_opt_no_complexity |
| int | rw_opt_no_input_iter |
| int | rw_opt_no_fwd_iter |
| int | rw_opt_no_bidir_iter |
| int | rw_opt_no_rnd_iter |
| #define TEST | ( | src, | |
| mid | |||
| ) | test_partial_sort (__LINE__, src, 0, mid, it, itc, (T*)0, ppred, copy) |
| _RWSTD_NAMESPACE | ( | std | ) |
25.partial.sort.cpp - test exercising [lib.partial.sort]
$Id$
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 1994-2006 Rogue Wave Software.
Definition at line 38 of file 25.partial.sort.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 464 of file 25.partial.sort.cpp.
| void test_partial_sort | ( | const std::size_t | N, |
| const Iterator & | it, | ||
| const CopyIterator & | itc, | ||
| const T * | , | ||
| const Predicate * | ppred, | ||
| bool | copy | ||
| ) |
Definition at line 272 of file 25.partial.sort.cpp.
Definition at line 418 of file 25.partial.sort.cpp.
Definition at line 357 of file 25.partial.sort.cpp.
| void test_partial_sort | ( | int | line, |
| const char * | src, | ||
| const std::size_t | N, | ||
| const std::size_t | mid, | ||
| const Iterator & | it, | ||
| const CopyIterator & | itc, | ||
| const T * | , | ||
| const Predicate * | ppred, | ||
| bool | copy | ||
| ) |
Definition at line 107 of file 25.partial.sort.cpp.
| int rw_opt_nloops = 256 |
Definition at line 259 of file 25.partial.sort.cpp.
| int rw_opt_no_bidir_iter |
Definition at line 266 of file 25.partial.sort.cpp.
| int rw_opt_no_complexity |
Definition at line 263 of file 25.partial.sort.cpp.
| int rw_opt_no_fwd_iter |
Definition at line 265 of file 25.partial.sort.cpp.
| int rw_opt_no_input_iter |
Definition at line 264 of file 25.partial.sort.cpp.
| int rw_opt_no_partial_sort |
Definition at line 260 of file 25.partial.sort.cpp.
| int rw_opt_no_partial_sort_copy |
Definition at line 261 of file 25.partial.sort.cpp.
| int rw_opt_no_predicate |
Definition at line 262 of file 25.partial.sort.cpp.
| int rw_opt_no_rnd_iter |
Definition at line 267 of file 25.partial.sort.cpp.