Searched refs:us1 (Results 1 - 18 of 18) sorted by relevance

/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/unordered_set/operators/
H A D1.cc29 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 Dself_move_assign_neg.cc26 std::unordered_set<int> us1; local
27 us1 = std::move(us1);
H A Diterator_self_move_assign_neg.cc26 std::unordered_set<int> us1; local
27 auto it1 = us1.begin();
/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/unordered_set/
H A D61143.cc26 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 Dswap.cc26 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 Dcount.cc57 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 D26132.cc33 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 D26132.cc33 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 D23465.cc31 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 Dalias-decl-20.C6 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 Dswap.cc47 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 Dsat-1.c27 int us1 (int x) function
/haiku-buildtools/gcc/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/
H A D01.cc54 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 D01.cc52 unsigned short us1 = 0; local
88 is_03 >> us1; local
89 VERIFY( us1 == 33 );
/haiku-buildtools/gcc/libstdc++-v3/testsuite/libstdc++-xmethods/
H A Dassociative-containers.cc31 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 Dvector-compare-1.c70 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 D16.cc39 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 D16.cc39 unsigned short us0, us1 = numeric_limits<unsigned short>::max(); local
53 ss << us1; local
57 VERIFY( us0 == us1 );
62 ss << us1 << L'0';

Completed in 286 milliseconds