Class SVNXDeltaAlgorithm
java.lang.Object
org.tmatesoft.svn.core.internal.delta.SVNDeltaAlgorithm
org.tmatesoft.svn.core.internal.delta.SVNXDeltaAlgorithm
- Version:
- 1.3
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
private static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static int
private static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
computeDelta
(byte[] a, int aLength, byte[] b, int bLength) private static java.util.Map
createMatchesTable
(byte[] data, int dataLength, int blockLength, SVNXDeltaAlgorithm.PseudoAdler32 adler32) private static boolean
equals
(byte[] a, int aLength, int aPos, int length, byte[] b, int bLength, int bPos) private static SVNXDeltaAlgorithm.Match
findMatch
(java.util.Map matchesTable, SVNXDeltaAlgorithm.PseudoAdler32 checksum, byte[] a, int aLength, byte[] b, int bLength, int bPos, SVNXDeltaAlgorithm.Match previousInsertion) Methods inherited from class org.tmatesoft.svn.core.internal.delta.SVNDeltaAlgorithm
copyFromNewData, copyFromSource, copyFromTarget, getData, getInstructionsLength, getNewDataLength, reset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
MATCH_BLOCK_SIZE
private static final int MATCH_BLOCK_SIZE- See Also:
-
ADLER32_MASK
private static int ADLER32_MASK
-
-
Constructor Details
-
SVNXDeltaAlgorithm
public SVNXDeltaAlgorithm()
-
-
Method Details
-
computeDelta
public void computeDelta(byte[] a, int aLength, byte[] b, int bLength) - Specified by:
computeDelta
in classSVNDeltaAlgorithm
-
findMatch
private static SVNXDeltaAlgorithm.Match findMatch(java.util.Map matchesTable, SVNXDeltaAlgorithm.PseudoAdler32 checksum, byte[] a, int aLength, byte[] b, int bLength, int bPos, SVNXDeltaAlgorithm.Match previousInsertion) -
createMatchesTable
private static java.util.Map createMatchesTable(byte[] data, int dataLength, int blockLength, SVNXDeltaAlgorithm.PseudoAdler32 adler32) -
equals
private static boolean equals(byte[] a, int aLength, int aPos, int length, byte[] b, int bLength, int bPos)
-