Lines Matching refs:kClusterSize
159 // maybe we must decrease kClusterSize to 1 << 12, if we want correct size at tail
160 static const UInt32 kClusterSize = 1 << 14;
161 UInt64 pos = Size & ~(UInt64)(kClusterSize - 1);
165 Byte *buf = (Byte *)MidAlloc(kClusterSize);
174 if (!Read1(buf, kClusterSize, processed))
180 if (processed != kClusterSize)
182 pos += kClusterSize;
187 pos -= kClusterSize;
195 buf = (Byte *)MidAlloc(kClusterSize);
201 if (!Read1(buf, kClusterSize, processed))
210 pos -= kClusterSize;
240 Size correction is slow and block size (kClusterSize) must be small?
256 correction works OK for non-FAT, if kClusterSize = 512.