static final class LZ4.HCHashTable
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
base |
private short[] |
chainTable |
private int[] |
hashTable |
(package private) static int |
MASK |
(package private) static int |
MAX_ATTEMPTS |
(package private) int |
nextToUpdate |
Constructor and Description |
---|
HCHashTable() |
Modifier and Type | Method and Description |
---|---|
private void |
addHash(byte[] bytes,
int off) |
private int |
hashPointer(byte[] bytes,
int off) |
(package private) void |
insert(int off,
byte[] bytes) |
(package private) boolean |
insertAndFindBestMatch(byte[] buf,
int off,
int matchLimit,
LZ4.Match match) |
(package private) boolean |
insertAndFindWiderMatch(byte[] buf,
int off,
int startLimit,
int matchLimit,
int minLen,
LZ4.Match match) |
private int |
next(int off) |
private void |
reset(int base) |
static final int MAX_ATTEMPTS
static final int MASK
int nextToUpdate
private int base
private final int[] hashTable
private final short[] chainTable
private void reset(int base)
private int hashPointer(byte[] bytes, int off)
private int next(int off)
private void addHash(byte[] bytes, int off)
void insert(int off, byte[] bytes)
boolean insertAndFindBestMatch(byte[] buf, int off, int matchLimit, LZ4.Match match)
boolean insertAndFindWiderMatch(byte[] buf, int off, int startLimit, int matchLimit, int minLen, LZ4.Match match)