/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/unordered_set/operators/ |
H A D | 1.cc | 29 std::unordered_set<int> us1, us2; local 30 VERIFY( us1 == us2 ); 31 VERIFY( !(us1 != us2) ); 33 us1.insert(1); 35 VERIFY( us1 == us2 ); 36 VERIFY( !(us1 != us2) ); 38 us1.insert(2); 40 VERIFY( us1 == us2 ); 41 VERIFY( !(us1 != us2) ); 43 us1 [all...] |
/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/unordered_set/debug/ |
H A D | self_move_assign_neg.cc | 26 std::unordered_set<int> us1; local 27 us1 = std::move(us1);
|
H A D | iterator_self_move_assign_neg.cc | 26 std::unordered_set<int> us1; local 27 auto it1 = us1.begin();
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/unordered_set/ |
H A D | 61143.cc | 26 std::unordered_set<int> us1, us2; local 27 us1.insert(1); 29 us2 = std::move(us1); 31 us1.insert(1);
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/unordered_set/modifiers/ |
H A D | swap.cc | 26 std::unordered_set<int> us1 { 0, 1 }; 28 std::unordered_set<int> us2(std::move(us1)); 30 us1.swap(us2); 32 VERIFY( us1.find(0) != us1.end() ); 34 us1.insert(2); 36 VERIFY( us1.size() == 3 ); 38 us2.swap(us1); 43 us1 = { 3, 4, 5 }; 45 VERIFY( us1 [all...] |
/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/unordered_set/operations/ |
H A D | count.cc | 57 unordered_set<int> us1(us0); 58 VERIFY( us1.count(0) == 0 ); 59 VERIFY( us1.count(1) == 1 ); 60 VERIFY( us1.count(2) == 0 ); 61 VERIFY( us1.count(3) == 1 ); 69 us1.insert(4); 70 us1.insert(5); 71 us1.insert(5); 72 us1.insert(5); 73 us1 [all...] |
/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/ |
H A D | 26132.cc | 33 std::unordered_set<int> us1; local 36 us1.max_load_factor(10.0); 39 us1.insert(i); 41 us1.max_load_factor(lf); 46 us1.rehash(n); 47 VERIFY( us1.bucket_count() > us1.size() / us1.max_load_factor() ); 48 VERIFY( us1.bucket_count() >= n );
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/tr1/6_containers/unordered_set/ |
H A D | 26132.cc | 33 std::tr1::unordered_set<int> us1; local 36 us1.max_load_factor(10.0); 39 us1.insert(i); 41 us1.max_load_factor(lf); 46 us1.rehash(n); 47 VERIFY( us1.bucket_count() > us1.size() / us1.max_load_factor() ); 48 VERIFY( us1.bucket_count() >= n );
|
H A D | 23465.cc | 31 std::tr1::unordered_set<int> us1, us2; local 35 us1.max_load_factor(lf); 38 us1.insert(i); 40 us2 = us1; 42 VERIFY( us2.size() == us1.size() ); 43 VERIFY( us2.bucket_count() == us1.bucket_count() ); 45 for (size_type b = 0; b < us1.bucket_count(); ++b) 48 for (local_iterator it1 = us1.begin(b), it2 = us2.begin(b); 49 it1 != us1.end(b) && it2 != us2.end(b); ++it1, ++it2) 54 VERIFY( cnt == us1 [all...] |
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/ |
H A D | alias-decl-20.C | 6 template <typename T> using us1 = typename s1<T>::tdef1; 7 template <typename T, typename TT = typename us1<T>::tdef0> struct s2 {};
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/unordered_set/buckets/ |
H A D | swap.cc | 47 us_t us1(10, hash(13)); 50 VERIFY( us1.hash_function()._M_modulo == 13 ); 54 for (int i = 0; i != nb * us1.hash_function()._M_modulo; ++i) 55 us1.insert(i); 57 us_t::local_iterator lit = us1.begin(12); 58 us_t::local_iterator litend = us1.end(12); 61 us1.swap(us2); 63 VERIFY( us1.hash_function()._M_modulo == 7 );
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/arm/ |
H A D | sat-1.c | 27 int us1 (int x) function
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/ |
H A D | 01.cc | 54 unsigned short us1 = 0; local 90 is_03 >> us1; local 91 VERIFY( us1 == 33 );
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ |
H A D | 01.cc | 52 unsigned short us1 = 0; local 88 is_03 >> us1; local 89 VERIFY( us1 == 33 );
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/libstdc++-xmethods/ |
H A D | associative-containers.cc | 31 std::unordered_set<int> us, us1; local 59 // { dg-final { note-test us1.empty() true } }
|
/haiku-buildtools/gcc/gcc/testsuite/c-c++-common/torture/ |
H A D | vector-compare-1.c | 70 vector (8, SHORT) us1; 74 us1 = (vector (8, SHORT)){0, 3, 2, (SHORT)-23, 12, 10, (SHORT)-2, 0}; 75 test (8, us0, us1, usres, "%u");
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/22_locale/num_get/get/char/ |
H A D | 16.cc | 39 unsigned short us0, us1 = numeric_limits<unsigned short>::max(); local 53 ss << us1; local 57 VERIFY( us0 == us1 ); 62 ss << us1 << '0'; local
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/22_locale/num_get/get/wchar_t/ |
H A D | 16.cc | 39 unsigned short us0, us1 = numeric_limits<unsigned short>::max(); local 53 ss << us1; local 57 VERIFY( us0 == us1 ); 62 ss << us1 << L'0';
|