Class SVNXDeltaAlgorithm
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.delta.SVNDeltaAlgorithm
-
- org.tmatesoft.svn.core.internal.delta.SVNXDeltaAlgorithm
-
public class SVNXDeltaAlgorithm extends SVNDeltaAlgorithm
- Version:
- 1.3
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
SVNXDeltaAlgorithm.Match
private static class
SVNXDeltaAlgorithm.PseudoAdler32
-
Field Summary
Fields Modifier and Type Field Description private static int
ADLER32_MASK
private static int
MATCH_BLOCK_SIZE
-
Constructor Summary
Constructors Constructor Description SVNXDeltaAlgorithm()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
-
-
-
-
Field Detail
-
MATCH_BLOCK_SIZE
private static final int MATCH_BLOCK_SIZE
- See Also:
- Constant Field Values
-
ADLER32_MASK
private static int ADLER32_MASK
-
-
Method Detail
-
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)
-
-