LinearMasterFileParser -> MasterFileParser

This commit is contained in:
2026-07-24 21:53:50 +08:00
parent 8d15d11686
commit bbd6d8c5f1
@@ -100,7 +100,7 @@ public class BufferedLinearRegionFile implements io.nanachiyo0721.shiroha.data.R
private FileChannel swapFileChannel; private FileChannel swapFileChannel;
private final byte compressionLevel; private final byte compressionLevel;
private final LinearMasterFileParser masterFileParser = new LinearMasterFileParser(); private final MasterFileParser masterFileParser = new MasterFileParser();
private final CompressingOps compressingOps = new CompressingOps(); private final CompressingOps compressingOps = new CompressingOps();
// managed by VarHandles following // managed by VarHandles following
@@ -944,7 +944,7 @@ public class BufferedLinearRegionFile implements io.nanachiyo0721.shiroha.data.R
} }
} }
private class LinearMasterFileParser { private class MasterFileParser {
// V3 bucketed format layout: // V3 bucketed format layout:
// [0, 14): header — superblock(8) + version(1) + compressionLevel(1) + xxHash32Seed(4) // [0, 14): header — superblock(8) + version(1) + compressionLevel(1) + xxHash32Seed(4)
// [14, 142): position table — BUCKET_COUNT(16) × long(8) each; 0 = no data for that bucket // [14, 142): position table — BUCKET_COUNT(16) × long(8) each; 0 = no data for that bucket