MCPcopy Create free account
hub / github.com/BombusMod/BombusMod / readBlock

Method readBlock

src/main/java/History/HistoryLoader.java:162–166  ·  view source on GitHub ↗
(boolean forward)

Source from the content-addressed store, hash-verified

160 }
161
162 private void readBlock(boolean forward) {
163 if (forward) {
164 readByteBlock(getCorrectIndex(current_index+last_m+4));
165 } else readByteBlock(getCorrectIndex(current_index+first_m-1-BLOCK_SIZE));
166 }
167
168 private Vector getMIVector(boolean forward) {
169 readBlock(forward);

Callers 1

getMIVectorMethod · 0.95

Calls 2

readByteBlockMethod · 0.95
getCorrectIndexMethod · 0.95

Tested by

no test coverage detected