LinearMasterFileParser -> MasterFileParser
This commit is contained in:
+2
-2
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user