Home
last modified time | relevance | path

Searched refs:bitset_type (Results 1 – 11 of 11) sorted by relevance

/third_party/boost/libs/dynamic_bitset/test/
Dtest_boost_hash.cpp21 typedef boost::dynamic_bitset<unsigned long> bitset_type; in main() typedef
29 bitset_type zeroes(long_string.size(), 0); in main()
30 bitset_type stuff (long_string); in main()
31 bitset_type stupb (long_string_prime_begin); in main()
32 bitset_type stupe (long_string_prime_end); in main()
33 bitset_type ones (long_string.size(), 1); in main()
35 boost::hash<bitset_type> bitset_hasher; in main()
Ddyn_bitset_unit_tests1.cpp142 typedef boost::dynamic_bitset<Block> bitset_type; in run_test_cases() typedef
143 typedef bitset_test<bitset_type> Tests; in run_test_cases()
144 const int bits_per_block = bitset_type::bits_per_block; in run_test_cases()
245 bitset_type b; in run_test_cases()
249 bitset_type b(1, 1ul); in run_test_cases()
253 bitset_type b(long_string); in run_test_cases()
274 bitset_type a, b; in run_test_cases()
278 bitset_type a(std::string("1")), b(std::string("0")); in run_test_cases()
282 bitset_type a(long_string), b(long_string); in run_test_cases()
286 bitset_type a; in run_test_cases()
[all …]
Ddyn_bitset_unit_tests3.cpp23 typedef boost::dynamic_bitset<Block> bitset_type; in run_test_cases() typedef
24 typedef bitset_test<bitset_type> Tests; in run_test_cases()
33 bitset_type b; in run_test_cases()
37 bitset_type b(1, 1ul); in run_test_cases()
41 bitset_type b(bitset_type::bits_per_block in run_test_cases()
42 + bitset_type::bits_per_block/2, 15ul); in run_test_cases()
56 boost::dynamic_bitset<Block> b(bitset_type::bits_per_block, in run_test_cases()
282 bitset_type a; // empty in run_test_cases()
283 bitset_type b; in run_test_cases()
287 bitset_type a; in run_test_cases()
[all …]
Dtest_std_hash.cpp23 typedef boost::dynamic_bitset<unsigned long> bitset_type; in main() typedef
27 bitset_type zeroes(long_string.size(), 0); in main()
28 bitset_type stuff (long_string); in main()
29 bitset_type ones (long_string.size(), 1); in main()
31 std::unordered_set<bitset_type> bitsets; in main()
Ddyn_bitset_unit_tests4.cpp63 typedef boost::dynamic_bitset<Block> bitset_type; in run_test_cases() typedef
64 typedef bitset_test<bitset_type> Tests; in run_test_cases()
119 bitset_type b(strings[si]); in run_test_cases()
129 bitset_type b(strings[si]); in run_test_cases()
143 bitset_type b(strings[si]); in run_test_cases()
253 bitset_type b(1, 15ul); // note: b is not empty in run_test_cases()
262 bitset_type b(1, 255ul); in run_test_cases()
276 bitset_type b(1, 255ul); in run_test_cases()
289 bitset_type b(1, 255ul); in run_test_cases()
302 bitset_type b(1, 255ul); in run_test_cases()
Ddyn_bitset_unit_tests2.cpp21 typedef boost::dynamic_bitset<Block> bitset_type; in run_test_cases() typedef
22 typedef bitset_test< bitset_type > Tests; in run_test_cases()
23 const int bits_per_block = bitset_type::bits_per_block; in run_test_cases()
/third_party/boost/libs/core/test/swap/
Dswap_std_bitset.cpp20 typedef std::bitset<8> bitset_type; in main() typedef
21 const bitset_type initial_value1 = 1; in main()
22 const bitset_type initial_value2 = 2; in main()
24 bitset_type object1 = initial_value1; in main()
25 bitset_type object2 = initial_value2; in main()
Dstd_bitset.cpp20 typedef std::bitset<8> bitset_type; in main() typedef
21 const bitset_type initial_value1 = 1; in main()
22 const bitset_type initial_value2 = 2; in main()
24 bitset_type object1 = initial_value1; in main()
25 bitset_type object2 = initial_value2; in main()
/third_party/boost/libs/icl/example/large_bitset_/
Dlarge_bitset.hpp80 typedef BitSetT bitset_type; typedef in mini::large_bitset
124 bitset_type bits = it_->second; in show_segments()
158 typedef void (large_bitset::*segment_combiner)(element_type, element_type, bitset_type);
179 (this->*combine)(base, base+1, bitset_type( to_upper_from(base_rest) in segment_apply()
187 (this->*combine)(base, base+1, bitset_type(to_upper_from(base_rest))); in segment_apply()
189 (this->*combine)(ceil, ceil+1, bitset_type(from_lower_to(ceil_rest))); in segment_apply()
191 (this->*combine)(mid_low, mid_up, bitset_type(all)); in segment_apply()
/third_party/boost/boost/random/
Dniederreiter_base2.hpp108 typedef boost::dynamic_bitset<> bitset_type; in resize() typedef
116 bitset_type v, pb, tmp; in resize()
140 typename bitset_type::size_type kj, pb_degree = 0; in resize()
/third_party/boost/boost/dynamic_bitset/
Ddynamic_bitset.hpp1820 typedef dynamic_bitset<Block, Alloc> bitset_type; in operator >>() typedef
1821 typedef typename bitset_type::size_type size_type; in operator >>()
1832 typename bitset_type::bit_appender appender(b); in operator >>()
1875 typedef dynamic_bitset<Block, Alloc> bitset_type; in operator >>() typedef
1876 typedef typename bitset_type::size_type size_type; in operator >>()
1893 typename bitset_type::bit_appender appender(b); in operator >>()