/third_party/boost/libs/multi_index/test/ |
D | test_hash_ops.cpp | 29 float lf=(float)hc.size()/hc.bucket_count(); in check_load_factor() 47 BOOST_TEST(hc.bucket_count()<=hc.max_bucket_count()); in test_hash_ops() 59 for(hash_container::size_type s=2*hc.bucket_count();s--;){ in test_hash_ops() 70 BOOST_TEST(hc.bucket_count()>=1); in test_hash_ops() 75 BOOST_TEST(hc.bucket_count()>=1); in test_hash_ops() 78 hash_container::size_type bc=4*hc.bucket_count(); in test_hash_ops() 81 BOOST_TEST(hc.bucket_count()>=bc); in test_hash_ops() 84 bc=2*hc.bucket_count(); in test_hash_ops() 86 BOOST_TEST(hc.bucket_count()>=bc); in test_hash_ops() 92 BOOST_TEST(hc.bucket_count()>=1); in test_hash_ops() [all …]
|
/third_party/boost/libs/unordered/test/unordered/ |
D | rehash_tests.cpp | 25 return static_cast<double>(x.bucket_count()) >= in postcondition() 27 x.bucket_count() >= n; in postcondition() 115 BOOST_TEST(x.bucket_count() >= 10000); in reserve_empty_test1() 120 BOOST_TEST(x.bucket_count() >= 10000000); in reserve_empty_test1() 129 BOOST_TEST(x.bucket_count() >= 40000); in reserve_empty_test2() 134 BOOST_TEST(x.bucket_count() >= 40000000); in reserve_empty_test2() 159 std::size_t bucket_count = x.bucket_count(); in reserve_test1() local 161 BOOST_TEST(bucket_count == x.bucket_count()); in reserve_test1() 183 std::size_t bucket_count = x.bucket_count(); in reserve_test2() local 189 BOOST_TEST(bucket_count == x.bucket_count()); in reserve_test2()
|
D | bucket_tests.cpp | 38 BOOST_TEST(x.bucket_count() <= x.max_bucket_count()); in tests() 39 if (!(x.bucket_count() <= x.max_bucket_count())) { in tests() 40 BOOST_LIGHTWEIGHT_TEST_OSTREAM << x.bucket_count() in tests() 49 BOOST_TEST(bucket < x.bucket_count()); in tests() 50 if (bucket < x.bucket_count()) { in tests() 60 for (size_type i = 0; i < x.bucket_count(); ++i) { in tests()
|
D | insert_tests.cpp | 46 typename X::size_type old_bucket_count = x.bucket_count(); in unique_insert_tests1() 59 BOOST_TEST(x.bucket_count() == old_bucket_count); in unique_insert_tests1() 75 typename X::size_type old_bucket_count = x.bucket_count(); in unique_insert_tests1() 89 BOOST_TEST(x.bucket_count() == old_bucket_count); in unique_insert_tests1() 110 typename X::size_type old_bucket_count = x.bucket_count(); in equivalent_insert_tests1() 122 BOOST_TEST(x.bucket_count() == old_bucket_count); in equivalent_insert_tests1() 137 typename X::size_type old_bucket_count = x.bucket_count(); in equivalent_insert_tests1() 150 BOOST_TEST(x.bucket_count() == old_bucket_count); in equivalent_insert_tests1() 174 typename X::size_type old_bucket_count = x.bucket_count(); in insert_tests2() 184 BOOST_TEST(x.bucket_count() == old_bucket_count); in insert_tests2() [all …]
|
D | constructor_tests.cpp | 50 BOOST_TEST(x.bucket_count() >= 100); in constructor_tests1() 63 BOOST_TEST(x.bucket_count() >= 2000); in constructor_tests1() 88 BOOST_TEST(x.bucket_count() >= 10000); in constructor_tests1() 102 BOOST_TEST(x.bucket_count() >= 10000); in constructor_tests1() 116 BOOST_TEST(x.bucket_count() >= 100); in constructor_tests1() 155 BOOST_TEST(x.bucket_count() >= 10000); in constructor_tests1() 193 BOOST_TEST(x.bucket_count() >= 10000); in constructor_tests2() 205 BOOST_TEST(x.bucket_count() >= 100); in constructor_tests2() 229 BOOST_TEST(x.bucket_count() >= 1000); in constructor_tests2() 310 BOOST_TEST(x.bucket_count() >= 50); in constructor_tests2() [all …]
|
D | load_factor_tests.cpp | 54 old_bucket_count = x.bucket_count(); in insert_test() 58 BOOST_TEST(x.bucket_count() == old_bucket_count); in insert_test()
|
/third_party/boost/boost/serialization/ |
D | hash_collections_save_imp.hpp | 39 const collection_size_type bucket_count(s.bucket_count()); in save_hash_collection() local 54 ar << BOOST_SERIALIZATION_NVP(bucket_count); in save_hash_collection() 62 const unsigned int bc = bucket_count; in save_hash_collection() 74 ar << BOOST_SERIALIZATION_NVP(bucket_count); in save_hash_collection()
|
D | hash_collections_load_imp.hpp | 37 collection_size_type bucket_count; in load_hash_collection() local 45 ar >> BOOST_SERIALIZATION_NVP(bucket_count); in load_hash_collection() 57 bucket_count = bc; in load_hash_collection() 64 s.resize(bucket_count); in load_hash_collection()
|
D | unordered_collections_save_imp.hpp | 41 const collection_size_type bucket_count(s.bucket_count()); in save_unordered_collection() local 55 ar << BOOST_SERIALIZATION_NVP(bucket_count); in save_unordered_collection() 64 ar << BOOST_SERIALIZATION_NVP(bucket_count); in save_unordered_collection()
|
D | unordered_collections_load_imp.hpp | 49 collection_size_type bucket_count; in load_unordered_collection() local 56 ar >> BOOST_SERIALIZATION_NVP(bucket_count); in load_unordered_collection() 61 s.rehash(bucket_count); in load_unordered_collection()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | histogram_macros.h | 31 #define ANGLE_HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \ argument 32 ANGLE_HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) 43 #define ANGLE_HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) \ argument 45 bucket_count)
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | histogram_macros.h | 31 #define ANGLE_HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \ argument 32 ANGLE_HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) 43 #define ANGLE_HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) \ argument 45 bucket_count)
|
/third_party/mindspore/mindspore/lite/tools/converter/quantizer/ |
D | mixed_bit_weight_quantizer.cc | 32 int bucket_count = shape[preferred_dim]; in MeasureQuantizationError() local 33 std::vector<float> norms2(bucket_count); in MeasureQuantizationError() 34 std::vector<float> dnorms2(bucket_count); in MeasureQuantizationError() 35 for (int i = 0; i < bucket_count; i++) { in MeasureQuantizationError() 68 int bucket = (i / bucket_volume) % bucket_count; in MeasureQuantizationError() 77 for (int i = 0; i < bucket_count; i++) { in MeasureQuantizationError()
|
/third_party/abseil-cpp/absl/container/internal/ |
D | unordered_set_constructor_test.h | 47 EXPECT_GE(m.bucket_count(), 123); in TYPED_TEST_P() 57 EXPECT_GE(m.bucket_count(), 123); in TYPED_TEST_P() 70 EXPECT_GE(m.bucket_count(), 123); in TYPED_TEST_P() 86 EXPECT_GE(m.bucket_count(), 123); in TYPED_TEST_P() 94 EXPECT_GE(cm.bucket_count(), 123); in TYPED_TEST_P() 125 EXPECT_GE(m.bucket_count(), 123); 146 EXPECT_GE(m.bucket_count(), 123); 197 EXPECT_GE(m.bucket_count(), 123); 214 EXPECT_GE(m.bucket_count(), 123); 238 EXPECT_GE(m.bucket_count(), 123); [all …]
|
D | unordered_map_constructor_test.h | 45 EXPECT_GE(m.bucket_count(), 123); in TYPED_TEST_P() 55 EXPECT_GE(m.bucket_count(), 123); in TYPED_TEST_P() 68 EXPECT_GE(m.bucket_count(), 123); in TYPED_TEST_P() 84 EXPECT_GE(m.bucket_count(), 123); in TYPED_TEST_P() 115 EXPECT_GE(m.bucket_count(), 123); 136 EXPECT_GE(m.bucket_count(), 123); 187 EXPECT_GE(m.bucket_count(), 123); 204 EXPECT_GE(m.bucket_count(), 123); 228 EXPECT_GE(m.bucket_count(), 123); 340 EXPECT_GE(m.bucket_count(), 123); [all …]
|
D | raw_hash_set.h | 747 explicit raw_hash_set(size_t bucket_count, const hasher& hash = hasher(), 751 if (bucket_count) { 752 capacity_ = NormalizeCapacity(bucket_count); 758 raw_hash_set(size_t bucket_count, const hasher& hash, 760 : raw_hash_set(bucket_count, hash, key_equal(), alloc) {} 762 raw_hash_set(size_t bucket_count, const allocator_type& alloc) 763 : raw_hash_set(bucket_count, hasher(), key_equal(), alloc) {} 769 raw_hash_set(InputIter first, InputIter last, size_t bucket_count = 0, 772 : raw_hash_set(bucket_count, hash, eq, alloc) { 777 raw_hash_set(InputIter first, InputIter last, size_t bucket_count, [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
D | unordered_set_constructor_test.h | 47 EXPECT_GE(m.bucket_count(), 123); in TYPED_TEST_P() 57 EXPECT_GE(m.bucket_count(), 123); in TYPED_TEST_P() 70 EXPECT_GE(m.bucket_count(), 123); in TYPED_TEST_P() 86 EXPECT_GE(m.bucket_count(), 123); in TYPED_TEST_P() 94 EXPECT_GE(cm.bucket_count(), 123); in TYPED_TEST_P() 125 EXPECT_GE(m.bucket_count(), 123); 146 EXPECT_GE(m.bucket_count(), 123); 197 EXPECT_GE(m.bucket_count(), 123); 214 EXPECT_GE(m.bucket_count(), 123); 238 EXPECT_GE(m.bucket_count(), 123); [all …]
|
D | unordered_map_constructor_test.h | 46 EXPECT_GE(m.bucket_count(), 123); in TYPED_TEST_P() 56 EXPECT_GE(m.bucket_count(), 123); in TYPED_TEST_P() 69 EXPECT_GE(m.bucket_count(), 123); in TYPED_TEST_P() 85 EXPECT_GE(m.bucket_count(), 123); in TYPED_TEST_P() 116 EXPECT_GE(m.bucket_count(), 123); 137 EXPECT_GE(m.bucket_count(), 123); 188 EXPECT_GE(m.bucket_count(), 123); 205 EXPECT_GE(m.bucket_count(), 123); 229 EXPECT_GE(m.bucket_count(), 123); 345 EXPECT_GE(m.bucket_count(), 123); [all …]
|
D | raw_hash_set.h | 511 size_t bucket_count) { 512 if (bucket_count != 0) { 513 return bucket_count; 861 explicit raw_hash_set(size_t bucket_count, const hasher& hash = hasher(), 866 if (bucket_count) { 867 capacity_ = NormalizeCapacity(bucket_count); 872 raw_hash_set(size_t bucket_count, const hasher& hash, 874 : raw_hash_set(bucket_count, hash, key_equal(), alloc) {} 876 raw_hash_set(size_t bucket_count, const allocator_type& alloc) 877 : raw_hash_set(bucket_count, hasher(), key_equal(), alloc) {} [all …]
|
D | unordered_set_modifiers_test.h | 82 const size_t original_capacity = m.bucket_count(); in TYPED_TEST_P() 84 EXPECT_EQ(m.bucket_count(), original_capacity); in TYPED_TEST_P() 86 EXPECT_EQ(m.bucket_count(), original_capacity); in TYPED_TEST_P() 101 const size_t original_capacity = m.bucket_count(); in TYPED_TEST_P() 103 EXPECT_EQ(m.bucket_count(), original_capacity); in TYPED_TEST_P()
|
D | unordered_map_modifiers_test.h | 90 const size_t original_capacity = m.bucket_count(); in TYPED_TEST_P() 92 EXPECT_EQ(m.bucket_count(), original_capacity); in TYPED_TEST_P() 95 EXPECT_EQ(m.bucket_count(), original_capacity); in TYPED_TEST_P() 110 const size_t original_capacity = m.bucket_count(); in TYPED_TEST_P() 112 EXPECT_EQ(m.bucket_count(), original_capacity); in TYPED_TEST_P()
|
/third_party/boost/libs/unordered/test/exception/ |
D | insert_exception_tests.cpp | 24 size_type bucket_count = x.bucket_count(); in rehash_prep() local 26 ceil((double)bucket_count * (double)x.max_load_factor()) - 1); in rehash_prep() 29 BOOST_TEST(bucket_count == x.bucket_count()); in rehash_prep()
|
/third_party/boost/boost/interprocess/indexes/ |
D | iunordered_set_index.hpp | 263 destroy_buckets(this->alloc, index_type::bucket_pointer(), index_type::bucket_count()); in ~iunordered_set_index() 272 size_type old_n = this->bucket_count(); in reserve() 301 size_type cur_count = this->bucket_count(); in shrink_to_fit() 342 if(cur_size > this->bucket_count()){ in insert_commit()
|
/third_party/boost/libs/unordered/test/helpers/ |
D | invariants.hpp | 102 static_cast<float>(x1.bucket_count()); in check_equivalent_keys() 111 for (typename X::size_type i = 0; i < x1.bucket_count(); ++i) { in check_equivalent_keys()
|
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/meta/ |
D | shard_header.cc | 515 Status ShardHeader::GetAllSchemaID(std::set<uint64_t> &bucket_count) { in GetAllSchemaID() argument 519 CHECK_FAIL_RETURN_UNEXPECTED(bucket_count.find(schema_id) == bucket_count.end(), in GetAllSchemaID() 521 bucket_count.insert(schema_id); in GetAllSchemaID() 533 std::set<uint64_t> bucket_count; in AddIndexFields() local 534 RETURN_IF_NOT_OK(GetAllSchemaID(bucket_count)); in AddIndexFields() 547 CHECK_FAIL_RETURN_UNEXPECTED(bucket_count.find(schema_id) != bucket_count.end(), in AddIndexFields()
|