Searched defs:SIZE_OF_BLOCK_OFFSET (Results 1 - 3 of 3) sorted by relevance

/forgerock/opendj2/src/server/org/opends/server/replication/server/changelog/file/
H A DBlockLogReader.java66 static final int SIZE_OF_BLOCK_OFFSET = 4; field in class:BlockLogReader
279 final byte[] offsetData = new byte[SIZE_OF_BLOCK_OFFSET];
318 reader.skipBytes(SIZE_OF_BLOCK_OFFSET);
321 currentPosition += distanceToBlockStart + SIZE_OF_BLOCK_OFFSET;
323 distanceToBlockStart = blockSize - SIZE_OF_BLOCK_OFFSET;
354 totalLength += SIZE_OF_BLOCK_OFFSET;
355 final int remainingBlocks = (recordLength - distanceToBlockStart -1) / (blockSize - SIZE_OF_BLOCK_OFFSET);
356 totalLength += remainingBlocks * SIZE_OF_BLOCK_OFFSET;
369 reader.skipBytes(SIZE_OF_BLOCK_OFFSET);
378 reader.skipBytes(SIZE_OF_BLOCK_OFFSET);
[all...]
/forgerock/opendj2-hg/src/server/org/opends/server/replication/server/changelog/file/
H A DBlockLogReader.java66 static final int SIZE_OF_BLOCK_OFFSET = 4; field in class:BlockLogReader
279 final byte[] offsetData = new byte[SIZE_OF_BLOCK_OFFSET];
318 reader.skipBytes(SIZE_OF_BLOCK_OFFSET);
321 currentPosition += distanceToBlockStart + SIZE_OF_BLOCK_OFFSET;
323 distanceToBlockStart = blockSize - SIZE_OF_BLOCK_OFFSET;
354 totalLength += SIZE_OF_BLOCK_OFFSET;
355 final int remainingBlocks = (recordLength - distanceToBlockStart -1) / (blockSize - SIZE_OF_BLOCK_OFFSET);
356 totalLength += remainingBlocks * SIZE_OF_BLOCK_OFFSET;
369 reader.skipBytes(SIZE_OF_BLOCK_OFFSET);
378 reader.skipBytes(SIZE_OF_BLOCK_OFFSET);
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/replication/server/changelog/file/
H A DBlockLogReader.java64 static final int SIZE_OF_BLOCK_OFFSET = 4; field in class:BlockLogReader
277 final byte[] offsetData = new byte[SIZE_OF_BLOCK_OFFSET];
320 reader.skipBytes(SIZE_OF_BLOCK_OFFSET);
323 currentPosition += distanceToBlockStart + SIZE_OF_BLOCK_OFFSET;
325 distanceToBlockStart = blockSize - SIZE_OF_BLOCK_OFFSET;
356 totalLength += SIZE_OF_BLOCK_OFFSET;
357 final int remainingBlocks = (recordLength - distanceToBlockStart -1) / (blockSize - SIZE_OF_BLOCK_OFFSET);
358 totalLength += remainingBlocks * SIZE_OF_BLOCK_OFFSET;
371 reader.skipBytes(SIZE_OF_BLOCK_OFFSET);
379 reader.skipBytes(SIZE_OF_BLOCK_OFFSET);
[all...]

Completed in 24 milliseconds