Home
last modified time | relevance | path

Searched refs:groups (Results 1 – 3 of 3) sorted by relevance

/bootable/recovery/otautil/
Drangeset.cpp106 std::vector<RangeSet> RangeSet::Split(size_t groups) const { in Split()
107 if (ranges_.empty() || groups == 0) return {}; in Split()
109 if (blocks_ < groups) { in Split()
110 groups = blocks_; in Split()
114 size_t mean = blocks_ / groups; in Split()
115 std::vector<size_t> blocks_per_group(groups, mean); in Split()
116 std::fill_n(blocks_per_group.begin(), blocks_ % groups, mean + 1); in Split()
/bootable/recovery/otautil/include/otautil/
Drangeset.h58 std::vector<RangeSet> Split(size_t groups) const;
/bootable/recovery/update_verifier/
Dupdate_verifier.cpp143 std::vector<RangeSet> groups = ranges.Split(thread_num); in ReadBlocks() local
146 for (const auto& group : groups) { in ReadBlocks()