Lines Matching refs:total_blocks
83 total_blocks = int(header.readline())
101 output.truncate(total_blocks * blocksize)
113 output.truncate(total_blocks * blocksize - fill_cnt)
126 def process_block(inputrow, blocksize, outputtemp, blockid, total_blocks) -> int: argument
130 while (ind < total_blocks):
151 def get_raw_datafile(imagefile: str, blockid, total_blocks: int, blocksize: int) -> int:
157 table_numbers = process_block(inputrow, blocksize, outputtemp, blockid, total_blocks)
172 total_blocks = get_block_cnt(imagefile, blocksize)
173 table_numbers = get_raw_datafile(imagefile, blockid, total_blocks, blocksize)
180 outputrow.write("%s\n" % (int(total_blocks)))
203 output.truncate(int(total_blocks) * int(blocksize) - int(fill_cnt))