public long position() { return input.position() - inputStartPosition - prefetchedBytesCount; } }
public FSPackedNumbersStream(FSFile input) { this.input = input; this.bytes = new byte[BYTES_BUFFER_SIZE]; this.numbers = new long[NUMBERS_BUFFER_SIZE]; this.numbersLengths = new int[NUMBERS_BUFFER_SIZE]; this.bytesStart = 0; this.bytesLength = 0; this.numbersStart = 0; this.numbersLength = 0; this.eof = false; this.inputStartPosition = input.position(); this.prefetchedBytesCount = 0; }
myCombiner.skipWindow(curState.myFile); curState.myChunkIndex++; curState.myOffset = curState.myFile.position(); if (curState.myOffset >= curState.myEnd) { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.FS_CORRUPT, "Reading one svndiff window read beyond the end of the representation"); ByteBuffer target = myCombiner.addWindow(window); curState.myChunkIndex++; curState.myOffset = curState.myFile.position(); if (target != null) { myBuffer = target;
myCombiner.skipWindow(curState.myFile); curState.myChunkIndex++; curState.myOffset = curState.myFile.position(); if (curState.myOffset >= curState.myEnd) { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.FS_CORRUPT, "Reading one svndiff window read beyond the end of the representation"); ByteBuffer target = myCombiner.addWindow(window); curState.myChunkIndex++; curState.myOffset = curState.myFile.position(); if (target != null) { myBuffer = target;
myCombiner.skipWindow(curState.myFile); curState.myChunkIndex++; curState.myOffset = curState.myFile.position(); if (curState.myOffset >= curState.myEnd) { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.FS_CORRUPT, "Reading one svndiff window read beyond the end of the representation"); ByteBuffer target = myCombiner.addWindow(window); curState.myChunkIndex++; curState.myOffset = curState.myFile.position(); if (target != null) { myBuffer = target;
myCombiner.skipWindow(curState.myFile); curState.myChunkIndex++; curState.myOffset = curState.myFile.position(); if (curState.myOffset >= curState.myEnd) { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.FS_CORRUPT, "Reading one svndiff window read beyond the end of the representation"); ByteBuffer target = myCombiner.addWindow(window); curState.myChunkIndex++; curState.myOffset = curState.myFile.position(); if (target != null) { myBuffer = target;
FSRepresentationState repState = readRepresentationLine(file); repState.myFile = file; repState.myStart = file.position(); repState.myOffset = repState.myStart; repState.myEnd = repState.myStart + rep.getSize();
FSRepresentationState repState = readRepresentationLine(file); repState.myFile = file; repState.myStart = file.position(); repState.myOffset = repState.myStart; repState.myEnd = repState.myStart + rep.getSize();
FSRepresentationState repState = readRepresentationLine(file); repState.myFile = file; repState.myStart = file.position(); repState.myOffset = repState.myStart; repState.myEnd = repState.myStart + rep.getSize();
FSRepresentationState repState = readRepresentationLine(file); repState.myFile = file; repState.myStart = file.position(); repState.myOffset = repState.myStart; repState.myEnd = repState.myStart + rep.getSize();
long position = 0; try { position = file.position(); file.read(myReadWindowBuffer); } catch (IOException e) {
long position = 0; try { position = file.position(); file.read(myReadWindowBuffer); } catch (IOException e) {
long position = 0; try { position = file.position(); file.read(myReadWindowBuffer); } catch (IOException e) {
long position = 0; try { position = file.position(); file.read(myReadWindowBuffer); } catch (IOException e) {
long position = 0; try { position = file.position(); file.read(myReadWindowBuffer); } catch (IOException e) {
long position = 0; try { position = file.position(); file.read(myReadWindowBuffer); } catch (IOException e) {
long position = 0; try { position = file.position(); file.read(myReadWindowBuffer); } catch (IOException e) {
long position = 0; try { position = file.position(); file.read(myReadWindowBuffer); } catch (IOException e) {