/dports/sysutils/aptly/aptly-1.4.0/vendor/github.com/kjk/lzma/ |
H A D | lzma_len_coder.go | 31 res = lc.lowCoder[posState].decode(rd) 37 k := lc.midCoder[posState].decode(rd) 51 lc.lowCoder[posState].encode(re, symbol) 105 for posState := uint32(0); posState < numPosStates; posState++ { 106 pc.updateTable(posState) 112 pc.lc.setPrices(pc.prices, posState, pc.tableSize, posState*kNumLenSymbols) 113 pc.counters[posState] = pc.tableSize 121 pc.lc.encode(re, symbol, posState) 122 pc.counters[posState]-- 123 if pc.counters[posState] == 0 { [all …]
|
/dports/archivers/upx/upx-3.96/src/lzma-sdk/C/7zip/Compress/LZMA/ |
H A D | LZMAEncoder.h | 153 UInt32 GetPrice(UInt32 symbol, UInt32 posState) const { return _prices[posState][symbol]; } in GetPrice() argument 154 void UpdateTable(UInt32 posState) in UpdateTable() argument 156 SetPrices(posState, _tableSize, _prices[posState]); in UpdateTable() 157 _counters[posState] = _tableSize; in UpdateTable() 161 for (UInt32 posState = 0; posState < numPosStates; posState++) in UpdateTables() local 162 UpdateTable(posState); in UpdateTables() 166 CEncoder::Encode(rangeEncoder, symbol, posState); in Encode() 168 if (--_counters[posState] == 0) in Encode() 169 UpdateTable(posState); in Encode() 294 GetPureRepPrice(repIndex, state, posState); in GetRepPrice() [all …]
|
/dports/sysutils/afflib/AFFLIBv3-3.7.16/lzma443/C/7zip/Compress/LZMA/ |
H A D | LZMAEncoder.h | 153 UInt32 GetPrice(UInt32 symbol, UInt32 posState) const { return _prices[posState][symbol]; } in GetPrice() argument 154 void UpdateTable(UInt32 posState) in UpdateTable() argument 156 SetPrices(posState, _tableSize, _prices[posState]); in UpdateTable() 157 _counters[posState] = _tableSize; in UpdateTable() 161 for (UInt32 posState = 0; posState < numPosStates; posState++) in UpdateTables() local 162 UpdateTable(posState); in UpdateTables() 166 CEncoder::Encode(rangeEncoder, symbol, posState); in Encode() 168 if (--_counters[posState] == 0) in Encode() 169 UpdateTable(posState); in Encode() 294 GetPureRepPrice(repIndex, state, posState); in GetRepPrice() [all …]
|
/dports/games/criticalmass/CriticalMass-1.5/utils/lzma/SRC/7zip/Compress/LZMA/ |
H A D | LZMAEncoder.h | 167 UInt32 GetPrice(UInt32 symbol, UInt32 posState) const in GetPrice() argument 168 { return _prices[symbol][posState]; } in GetPrice() 169 void UpdateTable(UInt32 posState) in UpdateTable() argument 172 _prices[len][posState] = CEncoder::GetPrice(len, posState); in UpdateTable() 173 _counters[posState] = _tableSize; in UpdateTable() 177 for (UInt32 posState = 0; posState < numPosStates; posState++) in UpdateTables() local 178 UpdateTable(posState); in UpdateTables() 182 CEncoder::Encode(rangeEncoder, symbol, posState); in Encode() 183 if (--_counters[posState] == 0) in Encode() 184 UpdateTable(posState); in Encode() [all …]
|
/dports/archivers/lzmalib/lzmalib-0.0.1/7zip/Compress/LZMA/ |
H A D | LZMAEncoder.h | 167 UInt32 GetPrice(UInt32 symbol, UInt32 posState) const in GetPrice() argument 168 { return _prices[symbol][posState]; } in GetPrice() 169 void UpdateTable(UInt32 posState) in UpdateTable() argument 172 _prices[len][posState] = CEncoder::GetPrice(len, posState); in UpdateTable() 173 _counters[posState] = _tableSize; in UpdateTable() 177 for (UInt32 posState = 0; posState < numPosStates; posState++) in UpdateTables() local 178 UpdateTable(posState); in UpdateTables() 182 CEncoder::Encode(rangeEncoder, symbol, posState); in Encode() 183 if (--_counters[posState] == 0) in Encode() 184 UpdateTable(posState); in Encode() [all …]
|
/dports/games/libretro-yabause/yabause-ea5b118/yabause/src/libchdr/deps/lzma-16.04/Java/SevenZip/Compression/LZMA/ |
H A D | Encoder.java | 177 for (int posState = 0; posState < Base.kNumPosStatesEncodingMax; posState++) in LenEncoder() 188 for (int posState = 0; posState < numPosStates; posState++) in Init() 190 _lowCoder[posState].Init(); in Init() 191 _midCoder[posState].Init(); in Init() 259 void UpdateTable(int posState) in UpdateTable() argument 261 SetPrices(posState, _tableSize, _prices, posState * Base.kNumLenSymbols); in UpdateTable() 262 _counters[posState] = _tableSize; in UpdateTable() 267 for (int posState = 0; posState < numPosStates; posState++) in UpdateTables() 268 UpdateTable(posState); in UpdateTables() 274 if (--_counters[posState] == 0) in Encode() [all …]
|
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/deps/Dependencies/lzmasdk-18.05/Java/SevenZip/Compression/LZMA/ |
H A D | Encoder.java | 177 for (int posState = 0; posState < Base.kNumPosStatesEncodingMax; posState++) in LenEncoder() 188 for (int posState = 0; posState < numPosStates; posState++) in Init() 190 _lowCoder[posState].Init(); in Init() 191 _midCoder[posState].Init(); in Init() 259 void UpdateTable(int posState) in UpdateTable() argument 261 SetPrices(posState, _tableSize, _prices, posState * Base.kNumLenSymbols); in UpdateTable() 262 _counters[posState] = _tableSize; in UpdateTable() 267 for (int posState = 0; posState < numPosStates; posState++) in UpdateTables() 268 UpdateTable(posState); in UpdateTables() 274 if (--_counters[posState] == 0) in Encode() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/other-licenses/7zstub/src/Java/SevenZip/Compression/LZMA/ |
H A D | Encoder.java | 177 for (int posState = 0; posState < Base.kNumPosStatesEncodingMax; posState++) in SetLcLpPb() 188 for (int posState = 0; posState < numPosStates; posState++) in SetLcLpPb() 190 _lowCoder[posState].Init(); in SetLcLpPb() 191 _midCoder[posState].Init(); in SetLcLpPb() 259 void UpdateTable(int posState) 261 SetPrices(posState, _tableSize, _prices, posState * Base.kNumLenSymbols); 262 _counters[posState] = _tableSize; 267 for (int posState = 0; posState < numPosStates; posState++) 268 UpdateTable(posState); 274 if (--_counters[posState] == 0) [all …]
|
/dports/emulators/mess/mame-mame0226/3rdparty/lzma/Java/SevenZip/Compression/LZMA/ |
H A D | Encoder.java | 177 for (int posState = 0; posState < Base.kNumPosStatesEncodingMax; posState++) in LenEncoder() 188 for (int posState = 0; posState < numPosStates; posState++) in Init() 190 _lowCoder[posState].Init(); in Init() 191 _midCoder[posState].Init(); in Init() 259 void UpdateTable(int posState) in UpdateTable() argument 261 SetPrices(posState, _tableSize, _prices, posState * Base.kNumLenSymbols); in UpdateTable() 262 _counters[posState] = _tableSize; in UpdateTable() 267 for (int posState = 0; posState < numPosStates; posState++) in UpdateTables() 268 UpdateTable(posState); in UpdateTables() 274 if (--_counters[posState] == 0) in Encode() [all …]
|
/dports/archivers/lzma/lzma-19.00/Java/SevenZip/Compression/LZMA/ |
H A D | Encoder.java | 177 for (int posState = 0; posState < Base.kNumPosStatesEncodingMax; posState++) in LenEncoder() 188 for (int posState = 0; posState < numPosStates; posState++) in Init() 190 _lowCoder[posState].Init(); in Init() 191 _midCoder[posState].Init(); in Init() 259 void UpdateTable(int posState) in UpdateTable() argument 261 SetPrices(posState, _tableSize, _prices, posState * Base.kNumLenSymbols); in UpdateTable() 262 _counters[posState] = _tableSize; in UpdateTable() 267 for (int posState = 0; posState < numPosStates; posState++) in UpdateTables() 268 UpdateTable(posState); in UpdateTables() 274 if (--_counters[posState] == 0) in Encode() [all …]
|
/dports/emulators/mame/mame-mame0226/3rdparty/lzma/Java/SevenZip/Compression/LZMA/ |
H A D | Encoder.java | 177 for (int posState = 0; posState < Base.kNumPosStatesEncodingMax; posState++) in LenEncoder() 188 for (int posState = 0; posState < numPosStates; posState++) in Init() 190 _lowCoder[posState].Init(); in Init() 191 _midCoder[posState].Init(); in Init() 259 void UpdateTable(int posState) in UpdateTable() argument 261 SetPrices(posState, _tableSize, _prices, posState * Base.kNumLenSymbols); in UpdateTable() 262 _counters[posState] = _tableSize; in UpdateTable() 267 for (int posState = 0; posState < numPosStates; posState++) in UpdateTables() 268 UpdateTable(posState); in UpdateTables() 274 if (--_counters[posState] == 0) in Encode() [all …]
|
/dports/www/firefox/firefox-99.0/other-licenses/7zstub/src/Java/SevenZip/Compression/LZMA/ |
H A D | Encoder.java | 177 for (int posState = 0; posState < Base.kNumPosStatesEncodingMax; posState++) in LenEncoder() 188 for (int posState = 0; posState < numPosStates; posState++) in Init() 190 _lowCoder[posState].Init(); in Init() 191 _midCoder[posState].Init(); in Init() 259 void UpdateTable(int posState) in UpdateTable() argument 261 SetPrices(posState, _tableSize, _prices, posState * Base.kNumLenSymbols); in UpdateTable() 262 _counters[posState] = _tableSize; in UpdateTable() 267 for (int posState = 0; posState < numPosStates; posState++) in UpdateTables() 268 UpdateTable(posState); in UpdateTables() 274 if (--_counters[posState] == 0) in Encode() [all …]
|
/dports/sysutils/squashfs-tools/Java/SevenZip/Compression/LZMA/ |
H A D | Encoder.java | 177 for (int posState = 0; posState < Base.kNumPosStatesEncodingMax; posState++) in LenEncoder() 188 for (int posState = 0; posState < numPosStates; posState++) in Init() 190 _lowCoder[posState].Init(); in Init() 191 _midCoder[posState].Init(); in Init() 259 void UpdateTable(int posState) in UpdateTable() argument 261 SetPrices(posState, _tableSize, _prices, posState * Base.kNumLenSymbols); in UpdateTable() 262 _counters[posState] = _tableSize; in UpdateTable() 267 for (int posState = 0; posState < numPosStates; posState++) in UpdateTables() 268 UpdateTable(posState); in UpdateTables() 274 if (--_counters[posState] == 0) in Encode() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/other-licenses/7zstub/src/Java/SevenZip/Compression/LZMA/ |
H A D | Encoder.java | 177 for (int posState = 0; posState < Base.kNumPosStatesEncodingMax; posState++) in LenEncoder() 188 for (int posState = 0; posState < numPosStates; posState++) in Init() 190 _lowCoder[posState].Init(); in Init() 191 _midCoder[posState].Init(); in Init() 259 void UpdateTable(int posState) in UpdateTable() argument 261 SetPrices(posState, _tableSize, _prices, posState * Base.kNumLenSymbols); in UpdateTable() 262 _counters[posState] = _tableSize; in UpdateTable() 267 for (int posState = 0; posState < numPosStates; posState++) in UpdateTables() 268 UpdateTable(posState); in UpdateTables() 274 if (--_counters[posState] == 0) in Encode() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/other-licenses/7zstub/src/Java/SevenZip/Compression/LZMA/ |
H A D | Encoder.java | 177 for (int posState = 0; posState < Base.kNumPosStatesEncodingMax; posState++) in LenEncoder() 188 for (int posState = 0; posState < numPosStates; posState++) in Init() 190 _lowCoder[posState].Init(); in Init() 191 _midCoder[posState].Init(); in Init() 259 void UpdateTable(int posState) in UpdateTable() argument 261 SetPrices(posState, _tableSize, _prices, posState * Base.kNumLenSymbols); in UpdateTable() 262 _counters[posState] = _tableSize; in UpdateTable() 267 for (int posState = 0; posState < numPosStates; posState++) in UpdateTables() 268 UpdateTable(posState); in UpdateTables() 274 if (--_counters[posState] == 0) in Encode() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/other-licenses/7zstub/src/Java/SevenZip/Compression/LZMA/ |
H A D | Encoder.java | 177 for (int posState = 0; posState < Base.kNumPosStatesEncodingMax; posState++) in LenEncoder() 188 for (int posState = 0; posState < numPosStates; posState++) in Init() 190 _lowCoder[posState].Init(); in Init() 191 _midCoder[posState].Init(); in Init() 259 void UpdateTable(int posState) in UpdateTable() argument 261 SetPrices(posState, _tableSize, _prices, posState * Base.kNumLenSymbols); in UpdateTable() 262 _counters[posState] = _tableSize; in UpdateTable() 267 for (int posState = 0; posState < numPosStates; posState++) in UpdateTables() 268 UpdateTable(posState); in UpdateTables() 274 if (--_counters[posState] == 0) in Encode() [all …]
|
/dports/games/libretro-yabause/yabause-ea5b118/yabause/src/libchdr/deps/lzma-16.04/CS/7zip/Compress/LZMA/ |
H A D | LzmaEncoder.cs | 177 for (UInt32 posState = 0; posState < Base.kNumPosStatesEncodingMax; posState++) in LenEncoder() 188 for (UInt32 posState = 0; posState < numPosStates; posState++) in Init() 190 _lowCoder[posState].Init(); in Init() 191 _midCoder[posState].Init(); in Init() 259 void UpdateTable(UInt32 posState) in UpdateTable() argument 261 SetPrices(posState, _tableSize, _prices, posState * Base.kNumLenSymbols); in UpdateTable() 262 _counters[posState] = _tableSize; in UpdateTable() 267 for (UInt32 posState = 0; posState < numPosStates; posState++) in UpdateTables() 268 UpdateTable(posState); in UpdateTables() 274 if (--_counters[posState] == 0) in Encode() [all …]
|
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/deps/Dependencies/lzmasdk-18.05/CS/7zip/Compress/LZMA/ |
H A D | LzmaEncoder.cs | 177 for (UInt32 posState = 0; posState < Base.kNumPosStatesEncodingMax; posState++) in LenEncoder() 188 for (UInt32 posState = 0; posState < numPosStates; posState++) in Init() 190 _lowCoder[posState].Init(); in Init() 191 _midCoder[posState].Init(); in Init() 259 void UpdateTable(UInt32 posState) in UpdateTable() argument 261 SetPrices(posState, _tableSize, _prices, posState * Base.kNumLenSymbols); in UpdateTable() 262 _counters[posState] = _tableSize; in UpdateTable() 267 for (UInt32 posState = 0; posState < numPosStates; posState++) in UpdateTables() 268 UpdateTable(posState); in UpdateTables() 274 if (--_counters[posState] == 0) in Encode() [all …]
|
/dports/emulators/mess/mame-mame0226/3rdparty/lzma/CS/7zip/Compress/LZMA/ |
H A D | LzmaEncoder.cs | 177 for (UInt32 posState = 0; posState < Base.kNumPosStatesEncodingMax; posState++) in LenEncoder() 188 for (UInt32 posState = 0; posState < numPosStates; posState++) in Init() 190 _lowCoder[posState].Init(); in Init() 191 _midCoder[posState].Init(); in Init() 259 void UpdateTable(UInt32 posState) in UpdateTable() argument 261 SetPrices(posState, _tableSize, _prices, posState * Base.kNumLenSymbols); in UpdateTable() 262 _counters[posState] = _tableSize; in UpdateTable() 267 for (UInt32 posState = 0; posState < numPosStates; posState++) in UpdateTables() 268 UpdateTable(posState); in UpdateTables() 274 if (--_counters[posState] == 0) in Encode() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/other-licenses/7zstub/src/CS/7zip/Compress/LZMA/ |
H A D | LzmaEncoder.cs | 177 for (UInt32 posState = 0; posState < Base.kNumPosStatesEncodingMax; posState++) in LenEncoder() 188 for (UInt32 posState = 0; posState < numPosStates; posState++) in Init() 190 _lowCoder[posState].Init(); in Init() 191 _midCoder[posState].Init(); in Init() 259 void UpdateTable(UInt32 posState) in UpdateTable() argument 261 SetPrices(posState, _tableSize, _prices, posState * Base.kNumLenSymbols); in UpdateTable() 262 _counters[posState] = _tableSize; in UpdateTable() 267 for (UInt32 posState = 0; posState < numPosStates; posState++) in UpdateTables() 268 UpdateTable(posState); in UpdateTables() 274 if (--_counters[posState] == 0) in Encode() [all …]
|
/dports/archivers/lzma/lzma-19.00/CS/7zip/Compress/LZMA/ |
H A D | LzmaEncoder.cs | 177 for (UInt32 posState = 0; posState < Base.kNumPosStatesEncodingMax; posState++) in LenEncoder() 188 for (UInt32 posState = 0; posState < numPosStates; posState++) in Init() 190 _lowCoder[posState].Init(); in Init() 191 _midCoder[posState].Init(); in Init() 259 void UpdateTable(UInt32 posState) in UpdateTable() argument 261 SetPrices(posState, _tableSize, _prices, posState * Base.kNumLenSymbols); in UpdateTable() 262 _counters[posState] = _tableSize; in UpdateTable() 267 for (UInt32 posState = 0; posState < numPosStates; posState++) in UpdateTables() 268 UpdateTable(posState); in UpdateTables() 274 if (--_counters[posState] == 0) in Encode() [all …]
|
/dports/emulators/mame/mame-mame0226/3rdparty/lzma/CS/7zip/Compress/LZMA/ |
H A D | LzmaEncoder.cs | 177 for (UInt32 posState = 0; posState < Base.kNumPosStatesEncodingMax; posState++) in LenEncoder() 188 for (UInt32 posState = 0; posState < numPosStates; posState++) in Init() 190 _lowCoder[posState].Init(); in Init() 191 _midCoder[posState].Init(); in Init() 259 void UpdateTable(UInt32 posState) in UpdateTable() argument 261 SetPrices(posState, _tableSize, _prices, posState * Base.kNumLenSymbols); in UpdateTable() 262 _counters[posState] = _tableSize; in UpdateTable() 267 for (UInt32 posState = 0; posState < numPosStates; posState++) in UpdateTables() 268 UpdateTable(posState); in UpdateTables() 274 if (--_counters[posState] == 0) in Encode() [all …]
|
/dports/www/firefox/firefox-99.0/other-licenses/7zstub/src/CS/7zip/Compress/LZMA/ |
H A D | LzmaEncoder.cs | 177 for (UInt32 posState = 0; posState < Base.kNumPosStatesEncodingMax; posState++) in LenEncoder() 188 for (UInt32 posState = 0; posState < numPosStates; posState++) in Init() 190 _lowCoder[posState].Init(); in Init() 191 _midCoder[posState].Init(); in Init() 259 void UpdateTable(UInt32 posState) in UpdateTable() argument 261 SetPrices(posState, _tableSize, _prices, posState * Base.kNumLenSymbols); in UpdateTable() 262 _counters[posState] = _tableSize; in UpdateTable() 267 for (UInt32 posState = 0; posState < numPosStates; posState++) in UpdateTables() 268 UpdateTable(posState); in UpdateTables() 274 if (--_counters[posState] == 0) in Encode() [all …]
|
/dports/sysutils/squashfs-tools/CS/7zip/Compress/LZMA/ |
H A D | LzmaEncoder.cs | 177 for (UInt32 posState = 0; posState < Base.kNumPosStatesEncodingMax; posState++) in LenEncoder() 188 for (UInt32 posState = 0; posState < numPosStates; posState++) in Init() 190 _lowCoder[posState].Init(); in Init() 191 _midCoder[posState].Init(); in Init() 259 void UpdateTable(UInt32 posState) in UpdateTable() argument 261 SetPrices(posState, _tableSize, _prices, posState * Base.kNumLenSymbols); in UpdateTable() 262 _counters[posState] = _tableSize; in UpdateTable() 267 for (UInt32 posState = 0; posState < numPosStates; posState++) in UpdateTables() 268 UpdateTable(posState); in UpdateTables() 274 if (--_counters[posState] == 0) in Encode() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/other-licenses/7zstub/src/CS/7zip/Compress/LZMA/ |
H A D | LzmaEncoder.cs | 177 for (UInt32 posState = 0; posState < Base.kNumPosStatesEncodingMax; posState++) in LenEncoder() 188 for (UInt32 posState = 0; posState < numPosStates; posState++) in Init() 190 _lowCoder[posState].Init(); in Init() 191 _midCoder[posState].Init(); in Init() 259 void UpdateTable(UInt32 posState) in UpdateTable() argument 261 SetPrices(posState, _tableSize, _prices, posState * Base.kNumLenSymbols); in UpdateTable() 262 _counters[posState] = _tableSize; in UpdateTable() 267 for (UInt32 posState = 0; posState < numPosStates; posState++) in UpdateTables() 268 UpdateTable(posState); in UpdateTables() 274 if (--_counters[posState] == 0) in Encode() [all …]
|