Searched refs:BLOCKSIZE (Results 1 – 1 of 1) sorted by relevance
68 BLOCKSIZE = 512 # length of processing blocks variable69 RECORDSIZE = BLOCKSIZE * 20 # length of records621 self.buf = self.fileobj.read(BLOCKSIZE)1122 buf = struct.pack("%ds" % BLOCKSIZE, "".join(parts))1123 chksum = calc_chksums(buf[-BLOCKSIZE:])[0]1132 blocks, remainder = divmod(len(payload), BLOCKSIZE)1134 payload += (BLOCKSIZE - remainder) * NUL1192 if len(buf) != BLOCKSIZE:1194 if buf.count(NUL) == BLOCKSIZE:1237 buf = tarfile.fileobj.read(BLOCKSIZE)[all …]