Lines Matching refs:size
98 return (sum(sr.size() for (_, sr) in self.stash_before) -
99 sum(sr.size() for (_, sr) in self.use_stash))
392 total += blocks_to_write.size()
414 stashed_blocks += sr.size()
430 size = xf.src_ranges.size()
431 src_str_buffer = [str(size)]
445 free_size += sr.size()
454 self.AssertPartition(RangeSet(data=(0, size)), mapped_stashes)
457 self.AssertPartition(RangeSet(data=(0, size)), mapped_stashes)
469 tgt_size = xf.tgt_ranges.size()
477 assert xf.src_ranges.size() == tgt_size
481 temp_stash_usage = stashed_blocks + xf.src_ranges.size()
498 temp_stash_usage = stashed_blocks + xf.src_ranges.size()
514 assert WriteSplitTransfers(out, xf.style, to_zero) == to_zero.size()
515 total += to_zero.size()
551 self.tgt.extended.size())
552 total += self.tgt.extended.size()
651 stashed_blocks_after += sr.size()
658 logger.info("%10d %9s %s", sr.size(), "explicit", use_cmd)
674 stashed_blocks + xf.src_ranges.size() > max_allowed_blocks):
676 logger.info("%10d %9s %s", xf.src_ranges.size(), "implicit", xf)
680 stashed_blocks + xf.src_ranges.size())
693 new_blocks += cmd.tgt_ranges.size()
702 stashed_blocks -= sr.size()
719 tgt_size = xf.tgt_ranges.size() * self.tgt.blocksize
726 tgt_size = xf.tgt_ranges.size() * self.tgt.blocksize
745 tgt_size = xf.tgt_ranges.size() * self.tgt.blocksize
779 tgt_size = xf.tgt_ranges.size() * self.tgt.blocksize
947 stash_size += overlap.size()
1113 size = 0
1115 size = i.size()
1116 b.goes_before[a] = size
1117 a.goes_after[b] = size
1251 xf.tgt_ranges.size(), diff_style,
1254 used_stash_blocks = sum(sr.size() for _, sr in xf.use_stash)
1309 while (tgt_ranges.size() > max_blocks_per_transfer and
1310 src_ranges.size() > max_blocks_per_transfer):
1325 if tgt_ranges.size() or src_ranges.size():
1327 assert tgt_ranges.size() and src_ranges.size()
1347 if (tgt_ranges.size() <= max_blocks_per_transfer and
1348 src_ranges.size() <= max_blocks_per_transfer):
1385 tgt_ranges.size() == src_ranges.size()):
1394 tgt_size = tgt_ranges.size()
1404 tgt_changed += tgt_rs.size()
1411 assert tgt_changed + tgt_skipped.size() == tgt_size
1413 '%10d %10d (%6.2f%%) %s', tgt_skipped.size(), tgt_size,
1414 tgt_skipped.size() * 100.0 / tgt_size, tgt_name)
1470 assert split_tgt_size // 4096 <= tgt_remain.size()
1489 assert tgt_remain.size() == 0