Searched defs:distanceToBlockStart (Results 1 - 3 of 3) sorted by relevance
/forgerock/opendj2/src/server/org/opends/server/replication/server/changelog/file/ |
H A D | BlockLogReader.java | 302 int distanceToBlockStart = getDistanceToNextBlockStart(filePosition, blockSize); 303 final int recordLength = readRecordLength(distanceToBlockStart); 307 distanceToBlockStart = getDistanceToNextBlockStart(currentPosition, blockSize); 309 new ByteStringBuilder(getLengthOfStoredRecord(recordLength, distanceToBlockStart)); 311 while (distanceToBlockStart < remainingBytesToRead) 313 if (distanceToBlockStart != 0) 315 recordBytes.append(reader, distanceToBlockStart); 321 currentPosition += distanceToBlockStart + SIZE_OF_BLOCK_OFFSET; 322 remainingBytesToRead -= distanceToBlockStart; 323 distanceToBlockStart 349 getLengthOfStoredRecord(int recordLength, int distanceToBlockStart) argument 362 readRecordLength(final int distanceToBlockStart) argument [all...] |
/forgerock/opendj2-hg/src/server/org/opends/server/replication/server/changelog/file/ |
H A D | BlockLogReader.java | 302 int distanceToBlockStart = getDistanceToNextBlockStart(filePosition, blockSize); 303 final int recordLength = readRecordLength(distanceToBlockStart); 307 distanceToBlockStart = getDistanceToNextBlockStart(currentPosition, blockSize); 309 new ByteStringBuilder(getLengthOfStoredRecord(recordLength, distanceToBlockStart)); 311 while (distanceToBlockStart < remainingBytesToRead) 313 if (distanceToBlockStart != 0) 315 recordBytes.append(reader, distanceToBlockStart); 321 currentPosition += distanceToBlockStart + SIZE_OF_BLOCK_OFFSET; 322 remainingBytesToRead -= distanceToBlockStart; 323 distanceToBlockStart 349 getLengthOfStoredRecord(int recordLength, int distanceToBlockStart) argument 362 readRecordLength(final int distanceToBlockStart) argument [all...] |
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/replication/server/changelog/file/ |
H A D | BlockLogReader.java | 304 int distanceToBlockStart = getDistanceToNextBlockStart(filePosition, blockSize); 305 final int recordLength = readRecordLength(distanceToBlockStart); 309 distanceToBlockStart = getDistanceToNextBlockStart(currentPosition, blockSize); 311 new ByteStringBuilder(getLengthOfStoredRecord(recordLength, distanceToBlockStart)); 313 while (distanceToBlockStart < remainingBytesToRead) 315 if (distanceToBlockStart != 0) 317 recordBytes.appendBytes(reader, distanceToBlockStart); 323 currentPosition += distanceToBlockStart + SIZE_OF_BLOCK_OFFSET; 324 remainingBytesToRead -= distanceToBlockStart; 325 distanceToBlockStart 351 getLengthOfStoredRecord(int recordLength, int distanceToBlockStart) argument 364 readRecordLength(final int distanceToBlockStart) argument [all...] |
Completed in 545 milliseconds