public class SVNXDeltaAlgorithm extends SVNDeltaAlgorithm
Modifier and Type | Class and Description |
---|---|
private static class |
SVNXDeltaAlgorithm.Match |
private static class |
SVNXDeltaAlgorithm.PseudoAdler32 |
Modifier and Type | Field and Description |
---|---|
private static int |
ADLER32_MASK |
private static int |
MATCH_BLOCK_SIZE |
Constructor and Description |
---|
SVNXDeltaAlgorithm() |
Modifier and Type | Method and 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) |
copyFromNewData, copyFromSource, copyFromTarget, getData, getInstructionsLength, getNewDataLength, reset
private static final int MATCH_BLOCK_SIZE
private static int ADLER32_MASK
public void computeDelta(byte[] a, int aLength, byte[] b, int bLength)
computeDelta
in class SVNDeltaAlgorithm
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)
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)