Top Fields Constructors Methods
org.tukaani.xz.lz

pack-priv final Class Hash234

extends CRC32Hash
Class Inheritance
Imports
org.tukaani.xz.ArrayCache

Field Summary

Modifier and TypeField and Description
private final int[]
private int
private final int[]
private int
private final int
private final int
private final int[]
private int
private static final int
private static final int
private static final int
private static final int
Inherited from org.tukaani.xz.lz.CRC32Hash:
crcTable

Constructor Summary

AccessConstructor and Description
pack-priv
Hash234(int dictSize, ArrayCache arrayCache)

Method Summary

Modifier and TypeMethod and Description
pack-priv void
calcHashes(byte[] buf, int off)

pack-priv int
pack-priv int
pack-priv int
pack-priv static int
getHash4Size(int dictSize)

pack-priv static int
getMemoryUsage(int dictSize)

pack-priv void
normalize(int normalizationOffset)

pack-priv void
pack-priv void
updateTables(int pos)

Field Detail

hash2Tableback to summary
private final int[] hash2Table
hash2Valueback to summary
private int hash2Value
hash3Tableback to summary
private final int[] hash3Table
hash3Valueback to summary
private int hash3Value
hash4Maskback to summary
private final int hash4Mask
hash4Sizeback to summary
private final int hash4Size
hash4Tableback to summary
private final int[] hash4Table
hash4Valueback to summary
private int hash4Value
HASH_2_MASKback to summary
private static final int HASH_2_MASK
HASH_2_SIZEback to summary
private static final int HASH_2_SIZE
HASH_3_MASKback to summary
private static final int HASH_3_MASK
HASH_3_SIZEback to summary
private static final int HASH_3_SIZE

Constructor Detail

Hash234back to summary
pack-priv Hash234(int dictSize, ArrayCache arrayCache)

Method Detail

calcHashesback to summary
pack-priv void calcHashes(byte[] buf, int off)
getHash2Posback to summary
pack-priv int getHash2Pos()
getHash3Posback to summary
pack-priv int getHash3Pos()
getHash4Posback to summary
pack-priv int getHash4Pos()
getHash4Sizeback to summary
pack-priv static int getHash4Size(int dictSize)
getMemoryUsageback to summary
pack-priv static int getMemoryUsage(int dictSize)
normalizeback to summary
pack-priv void normalize(int normalizationOffset)
putArraysToCacheback to summary
pack-priv void putArraysToCache(ArrayCache arrayCache)
updateTablesback to summary
pack-priv void updateTables(int pos)