Lines Matching defs:size
71 def dlunits(codes, size):
75 if sum(codes[k]) >= size:
80 def dls_linked(codes_200, codes_206, size):
85 if total > size:
86 linked += total//size
88 if total > 10 * size:
100 size = None
107 size = int(arg)
121 if not size:
124 print("200 units: {0:d}".format(dlunits(codes_200, size)))
125 print("206 units: {0:d}".format(dlunits(codes_206, size)))
127 print("linked units: {0:d}".format(dls_linked(codes_200, codes_206, size)))
129 print("total units: {0:d}".format(totals["dl"] // size))