Lines Matching refs:src_size
3585 def src_size(self): member in DynamicPartitionUpdate
3604 def __init__(self, src_size=None, tgt_size=None): argument
3606 self.src_size = src_size
3672 if u.src_size)
3691 self._group_updates[g].src_size = int(source_info_dict.get(
3699 if u.src_size and u.tgt_size and u.src_size > u.tgt_size:
3717 if u.src_size and u.tgt_size and u.src_size > u.tgt_size:
3722 if u.tgt_size and u.src_size <= u.tgt_size:
3755 if u.src_size and u.tgt_size and u.src_size > u.tgt_size:
3757 (p, u.src_size, u.tgt_size))
3761 if u.src_size is not None and u.tgt_size is None:
3763 if (u.src_size is not None and u.tgt_size is not None and
3764 u.src_size > u.tgt_size):
3765 comment('Shrink group %s from %d to %d' % (g, u.src_size, u.tgt_size))
3769 if u.src_size is None and u.tgt_size is not None:
3772 if (u.src_size is not None and u.tgt_size is not None and
3773 u.src_size < u.tgt_size):
3774 comment('Grow group %s from %d to %d' % (g, u.src_size, u.tgt_size))
3783 if u.tgt_size and u.src_size < u.tgt_size:
3785 (p, u.src_size, u.tgt_size))