Class FSPackedNumbersStream
java.lang.Object
org.tmatesoft.svn.core.internal.io.fs.index.FSPackedNumbersStream
public class FSPackedNumbersStream
extends java.lang.Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final byte[]private static final intprivate intprivate intprivate booleanprivate final FSFileprivate longprivate static final intprivate final long[]private static final intprivate intprivate final int[]private intprivate long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate longdecodeSigned(long value) booleanisEof()longposition()longread()private booleanlongvoidseek(long offset) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
MAX_BYTES_PER_NUMER
private static final int MAX_BYTES_PER_NUMER- See Also:
-
NUMBERS_BUFFER_SIZE
private static final int NUMBERS_BUFFER_SIZE- See Also:
-
BYTES_BUFFER_SIZE
private static final int BYTES_BUFFER_SIZE- See Also:
-
bytes
private final byte[] bytes -
numbers
private final long[] numbers -
numbersLengths
private final int[] numbersLengths -
input
-
bytesStart
private int bytesStart -
bytesLength
private int bytesLength -
numbersStart
private int numbersStart -
numbersLength
private int numbersLength -
eof
private boolean eof -
inputStartPosition
private long inputStartPosition -
prefetchedBytesCount
private long prefetchedBytesCount
-
-
Constructor Details
-
FSPackedNumbersStream
-
-
Method Details
-
isEof
public boolean isEof() -
readSigned
- Throws:
SVNException
-
decodeSigned
private long decodeSigned(long value) -
read
- Throws:
SVNException
-
readNextNumbersBlock
private boolean readNextNumbersBlock() throws java.io.IOException- Throws:
java.io.IOException
-
seek
public void seek(long offset) -
position
public long position()
-