Home
last modified time | relevance | path

Searched refs:growth_left (Results 1 – 13 of 13) sorted by relevance

/external/rust/crates/hashbrown/src/raw/
Dmod.rs387 growth_left: usize, field
644 if additional > self.table.growth_left { in reserve()
663 if additional > self.table.growth_left { in try_reserve()
723 self_.growth_left = bucket_mask_to_capacity(self_.bucket_mask) - self_.items; in rehash_in_place()
773 guard.growth_left = bucket_mask_to_capacity(guard.bucket_mask) - guard.items; in rehash_in_place()
826 if unlikely(self.table.growth_left == 0 && special_is_empty(old_ctrl)) { in insert()
882 self.table.growth_left -= special_is_empty(old_ctrl) as usize; in insert_no_grow()
904 let old_growth_left = self.table.growth_left; in replace_bucket_with()
907 self.table.growth_left = old_growth_left; in replace_bucket_with()
1015 self.table.items + self.table.growth_left in capacity()
[all …]
/external/angle/third_party/abseil-cpp/absl/container/internal/
Draw_hash_set.h933 growth_left() -= that.size();
947 settings_(absl::exchange(that.growth_left(), 0),
963 std::swap(growth_left(), that.growth_left());
1324 swap(growth_left(), that.growth_left());
1349 if (n > size() + growth_left()) {
1553 growth_left() += was_never_full;
1599 growth_left() = 0;
1761 if (ABSL_PREDICT_FALSE(growth_left() == 0 &&
1767 growth_left() -= IsEmpty(ctrl_[target.offset]);
1805 growth_left() = CapacityToGrowth(capacity()) - size_;
[all …]
Draw_hash_set_test.cc427 size_t growth_left; in TEST() member
435 size_t growth_left; in TEST() member
/external/openscreen/third_party/abseil/src/absl/container/internal/
Draw_hash_set.h912 growth_left() -= that.size();
929 that.growth_left() = 0;
943 std::swap(growth_left(), that.growth_left());
1304 swap(growth_left(), that.growth_left());
1533 growth_left() += was_never_full;
1579 growth_left() = 0;
1741 if (ABSL_PREDICT_FALSE(growth_left() == 0 &&
1747 growth_left() -= IsEmpty(ctrl_[target.offset]);
1785 growth_left() = CapacityToGrowth(capacity()) - size_;
1804 size_t& growth_left() { return settings_.template get<0>(); }
Draw_hash_set_test.cc393 size_t growth_left; in TEST() member
/external/abseil-cpp/absl/container/internal/
Draw_hash_set.h842 growth_left() -= that.size();
859 that.growth_left() = 0;
873 std::swap(growth_left(), that.growth_left());
1232 swap(growth_left(), that.growth_left());
1459 growth_left() += was_never_full;
1505 growth_left() = 0;
1700 if (ABSL_PREDICT_FALSE(growth_left() == 0 &&
1706 growth_left() -= IsEmpty(ctrl_[target.offset]);
1748 growth_left() = CapacityToGrowth(capacity()) - size_;
1767 size_t& growth_left() { return settings_.template get<0>(); }
Draw_hash_set_test.cc392 size_t growth_left; in TEST() member
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/
Draw_hash_set.h865 growth_left() -= that.size();
882 that.growth_left() = 0;
896 std::swap(growth_left(), that.growth_left());
1255 swap(growth_left(), that.growth_left());
1479 growth_left() += was_never_full;
1525 growth_left() = 0;
1721 if (ABSL_PREDICT_FALSE(growth_left() == 0 &&
1727 growth_left() -= IsEmpty(ctrl_[target.offset]);
1769 growth_left() = CapacityToGrowth(capacity()) - size_;
1788 size_t& growth_left() { return settings_.template get<0>(); }
Draw_hash_set_test.cc393 size_t growth_left; in TEST() member
/external/libtextclassifier/abseil-cpp/absl/container/internal/
Draw_hash_set.h865 growth_left() -= that.size();
882 that.growth_left() = 0;
896 std::swap(growth_left(), that.growth_left());
1255 swap(growth_left(), that.growth_left());
1479 growth_left() += was_never_full;
1525 growth_left() = 0;
1721 if (ABSL_PREDICT_FALSE(growth_left() == 0 &&
1727 growth_left() -= IsEmpty(ctrl_[target.offset]);
1769 growth_left() = CapacityToGrowth(capacity()) - size_;
1788 size_t& growth_left() { return settings_.template get<0>(); }
Draw_hash_set_test.cc393 size_t growth_left; in TEST() member
/external/webrtc/third_party/abseil-cpp/absl/container/internal/
Draw_hash_set.h842 growth_left() -= that.size();
859 that.growth_left() = 0;
873 std::swap(growth_left(), that.growth_left());
1232 swap(growth_left(), that.growth_left());
1459 growth_left() += was_never_full;
1505 growth_left() = 0;
1700 if (ABSL_PREDICT_FALSE(growth_left() == 0 &&
1706 growth_left() -= IsEmpty(ctrl_[target.offset]);
1748 growth_left() = CapacityToGrowth(capacity()) - size_;
1767 size_t& growth_left() { return settings_.template get<0>(); }
Draw_hash_set_test.cc392 size_t growth_left; in TEST() member