Home
last modified time | relevance | path

Searched refs:maxTableSize (Results 1 – 2 of 2) sorted by relevance

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lzw/
DLZWInputStream.java136 final int maxTableSize = 1 << maxCodeSize; in initializeTables() local
138 …long memoryUsageInBytes = (long) maxTableSize * 6;//(4 (prefixes) + 1 (characters) +1 (outputStack… in initializeTables()
153 final int maxTableSize = 1 << maxCodeSize; in initializeTables() local
154 prefixes = new int[maxTableSize]; in initializeTables()
155 characters = new byte[maxTableSize]; in initializeTables()
156 outputStack = new byte[maxTableSize]; in initializeTables()
157 outputStackLocation = maxTableSize; in initializeTables()
185 protected int addEntry(final int previousCode, final byte character, final int maxTableSize) { in addEntry() argument
186 if (tableSize < maxTableSize) { in addEntry()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/z/
DZCompressorInputStream.java105 final int maxTableSize = 1 << getCodeSize(); in addEntry() local
106 final int r = addEntry(previousCode, character, maxTableSize); in addEntry()
107 if (getTableSize() == maxTableSize && getCodeSize() < maxCodeSize) { in addEntry()