• Home
  • Raw
  • Download

Lines Matching full:queue

24     compute::dynamic_bitset<> bits(1024, queue);  in BOOST_AUTO_TEST_CASE()
26 bits.set(1, queue); in BOOST_AUTO_TEST_CASE()
27 BOOST_CHECK(bits.test(1, queue) == true); in BOOST_AUTO_TEST_CASE()
28 BOOST_CHECK(bits.test(2, queue) == false); in BOOST_AUTO_TEST_CASE()
30 bits.set(1, false, queue); in BOOST_AUTO_TEST_CASE()
31 BOOST_CHECK(bits.test(1, queue) == false); in BOOST_AUTO_TEST_CASE()
32 BOOST_CHECK(bits.test(2, queue) == false); in BOOST_AUTO_TEST_CASE()
37 compute::dynamic_bitset<> bits(1024, queue); in BOOST_AUTO_TEST_CASE()
38 BOOST_CHECK_EQUAL(bits.count(queue), size_t(0)); in BOOST_AUTO_TEST_CASE()
40 bits.set(1, queue); in BOOST_AUTO_TEST_CASE()
41 bits.set(8, queue); in BOOST_AUTO_TEST_CASE()
42 bits.set(129, queue); in BOOST_AUTO_TEST_CASE()
43 BOOST_CHECK_EQUAL(bits.count(queue), size_t(3)); in BOOST_AUTO_TEST_CASE()
45 bits.set(8, false, queue); in BOOST_AUTO_TEST_CASE()
46 BOOST_CHECK_EQUAL(bits.count(queue), size_t(2)); in BOOST_AUTO_TEST_CASE()
48 bits.reset(queue); in BOOST_AUTO_TEST_CASE()
49 BOOST_CHECK_EQUAL(bits.count(queue), size_t(0)); in BOOST_AUTO_TEST_CASE()
54 compute::dynamic_bitset<> bits(0, queue); in BOOST_AUTO_TEST_CASE()
57 BOOST_CHECK_EQUAL(bits.count(queue), size_t(0)); in BOOST_AUTO_TEST_CASE()
59 bits.resize(100, queue); in BOOST_AUTO_TEST_CASE()
62 BOOST_CHECK_EQUAL(bits.count(queue), size_t(0)); in BOOST_AUTO_TEST_CASE()
64 bits.set(42, true, queue); in BOOST_AUTO_TEST_CASE()
65 BOOST_CHECK_EQUAL(bits.count(queue), size_t(1)); in BOOST_AUTO_TEST_CASE()
67 bits.resize(0, queue); in BOOST_AUTO_TEST_CASE()
70 BOOST_CHECK_EQUAL(bits.count(queue), size_t(0)); in BOOST_AUTO_TEST_CASE()
75 compute::dynamic_bitset<> bits(1024, queue); in BOOST_AUTO_TEST_CASE()
76 BOOST_CHECK(bits.any(queue) == false); in BOOST_AUTO_TEST_CASE()
77 BOOST_CHECK(bits.none(queue) == true); in BOOST_AUTO_TEST_CASE()
79 bits.set(1023, queue); in BOOST_AUTO_TEST_CASE()
80 BOOST_CHECK(bits.any(queue) == true); in BOOST_AUTO_TEST_CASE()
81 BOOST_CHECK(bits.none(queue) == false); in BOOST_AUTO_TEST_CASE()
83 bits.set(1023, false, queue); in BOOST_AUTO_TEST_CASE()
84 BOOST_CHECK(bits.any(queue) == false); in BOOST_AUTO_TEST_CASE()
85 BOOST_CHECK(bits.none(queue) == true); in BOOST_AUTO_TEST_CASE()
87 bits.set(1, queue); in BOOST_AUTO_TEST_CASE()
88 BOOST_CHECK(bits.any(queue) == true); in BOOST_AUTO_TEST_CASE()
89 BOOST_CHECK(bits.none(queue) == false); in BOOST_AUTO_TEST_CASE()
91 bits.reset(queue); in BOOST_AUTO_TEST_CASE()
92 BOOST_CHECK(bits.any(queue) == false); in BOOST_AUTO_TEST_CASE()
93 BOOST_CHECK(bits.none(queue) == true); in BOOST_AUTO_TEST_CASE()