Searched refs:head_cluster (Results 1 – 1 of 1) sorted by relevance
488 def get_chain_size(self, head_cluster): argument493 if head_cluster == 0:497 f.seek(FAT_TABLE_START + head_cluster * 2)501 while head_cluster <= MAX_CLUSTER_ID:503 head_cluster = read_le_short(f)504 f.seek(FAT_TABLE_START + head_cluster * 2)574 def read_file(self, head_cluster, start_byte, size): argument597 cluster_bytes_from_root = (head_cluster - 2) * \614 f.seek(FAT_TABLE_START + head_cluster * 2)615 assert head_cluster <= MAX_CLUSTER_ID, "Out-of-bounds read"[all …]