Searched refs:maximum_size (Results 1 – 9 of 9) sorted by relevance
113 explicit PartitionGroup(std::string_view name, uint64_t maximum_size) in PartitionGroup() argument114 : name_(name), maximum_size_(maximum_size) {} in PartitionGroup()117 uint64_t maximum_size() const { return maximum_size_; } in maximum_size() function120 void set_maximum_size(uint64_t maximum_size) { maximum_size_ = maximum_size; } in set_maximum_size() argument276 bool AddGroup(std::string_view group_name, uint64_t maximum_size);333 bool ChangeGroupSize(const std::string& group_name, uint64_t maximum_size);
316 uint64_t maximum_size; member
45 uint64 maximum_size = 2 [json_name = "maximum_size"]; field
150 group_proto->set_maximum_size(group->maximum_size()); in MergeMetadata()377 cout << " Maximum size: " << group.maximum_size << " bytes\n"; in PrintMetadata()
328 if (!AddGroup(group_name, group.maximum_size)) { in Init()516 bool MetadataBuilder::AddGroup(std::string_view group_name, uint64_t maximum_size) { in AddGroup() argument521 groups_.push_back(std::make_unique<PartitionGroup>(group_name, maximum_size)); in AddGroup()660 if (group->maximum_size() > 0) { in ValidatePartitionSizeChange()662 if (group_size >= group->maximum_size() || in ValidatePartitionSizeChange()663 group->maximum_size() - group_size < space_needed) { in ValidatePartitionSizeChange()666 << group_size << " used out of " << group->maximum_size() << ")"; in ValidatePartitionSizeChange()904 out.maximum_size = group->maximum_size(); in Export()1262 if (!group->maximum_size()) { in ValidatePartitionGroups()1266 if (used > group->maximum_size()) { in ValidatePartitionGroups()[all …]
158 ASSERT_EQ(256 * 1024, group_b->maximum_size()); in TEST()
146 if (existing_group->maximum_size() <= group_update->size()) { in ShrinkGroups()215 if (existing_group->maximum_size() >= group_update->size()) { in GrowGroups()
112 if (g->maximum_size() != size) { in CheckGroupSize()114 << " bytes, but is " << g->maximum_size() << " bytes."; in CheckGroupSize()
110 slot_size_bytes += group.maximum_size; in ReportUpdateAttemptMetrics()