Home
last modified time | relevance | path

Searched refs:SortedVector (Results 1 - 3 of 3) sorted by relevance

/commonlibrary/c_utils/base/include/
H A Dsorted_vector.h31 class SortedVector { class
39 * @brief Creates a `SortedVector` object.
41 SortedVector();
43 SortedVector(const SortedVector<TYPE, false>& rhs);
45 SortedVector(const SortedVector<TYPE, true>& rhs);
47 SortedVector(const std::vector<TYPE>& orivect);
50 * @brief Destroys this `SortedVector` object.
52 virtual ~SortedVector() {} in ~SortedVector()
295 inline SortedVector<TYPE, AllowDuplicate>::SortedVector() SortedVector() function in OHOS::SortedVector
299 SortedVector(const SortedVector<TYPE, false>& rhs) SortedVector() argument
306 SortedVector(const SortedVector<TYPE, true>& rhs) SortedVector() argument
318 operator =(const SortedVector<TYPE, false>& rhs) operator =() argument
328 operator =(const SortedVector<TYPE, true>& rhs) operator =() argument
377 SortedVector<TYPE, AllowDuplicate>::SortedVector(const std::vector<TYPE>& invec) SortedVector() function in OHOS::SortedVector
401 Merge(const SortedVector<TYPE, AllowDuplicate>& sortedVector) Merge() argument
[all...]
/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_sorted_vector_test.cpp29 SortedVector<int> svec; in HWTEST_F()
50 SortedVector<int> svec; in HWTEST_F()
61 SortedVector<int> newSvec(svec); in HWTEST_F()
73 SortedVector<int> svec; in HWTEST_F()
90 SortedVector<int, false> newSvec(svec); in HWTEST_F()
101 SortedVector<int, false> svec; in HWTEST_F()
118 SortedVector<int> newSvecTrue(svec); in HWTEST_F()
126 SortedVector<int> newSvecFalse(svec); in HWTEST_F()
136 SortedVector<int> svec; in HWTEST_F()
147 SortedVector<in in HWTEST_F()
[all...]
/commonlibrary/c_utils/base/test/benchmarktest/sorted_vector_benchmark_test/
H A Dsorted_vector_benchmark_test.cpp62 BENCHMARK_LOGD("SortedVector testDefaultConsAndAddAndSort start."); in BENCHMARK_F()
64 SortedVector<int> svec; in BENCHMARK_F()
80 BENCHMARK_LOGD("SortedVector testDefaultConsAndAddAndSort end."); in BENCHMARK_F()
85 BENCHMARK_LOGD("SortedVector testConsFromSortedAllowDup start."); in BENCHMARK_F()
87 SortedVector<int> svec; in BENCHMARK_F()
97 SortedVector<int> newSvec(svec); in BENCHMARK_F()
104 BENCHMARK_LOGD("SortedVector testConsFromSortedAllowDup end."); in BENCHMARK_F()
107 static void AddElement(SortedVector<int>& svec, std::vector<int>& vec) in AddElement()
124 BENCHMARK_LOGD("SortedVector testConsFromSortedNotAllowDuplicate start."); in BENCHMARK_F()
126 SortedVector<in in BENCHMARK_F()
[all...]

Completed in 3 milliseconds