1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 06:38:10 +00:00
serenity/Userland/Libraries/LibCompress
Nico Weber 26230f2ffd LibCompress: Order branches in Deflate's decode_codes() numerically
deflate_special_code_length_copy has value 16, so it should be
before the two zero-filling branches for codes 17 and 18.

Also, the initial if also refers to deflate_special_code_length_copy
as well, so if it's repeated right in the next else, one has to keep
it on the mental stack for shorter when reading this code.

No behavior change.
2023-04-04 19:16:06 +02:00
..
Brotli.cpp AK: Rename Stream::{read,write} to Stream::{read_some,write_some} 2023-03-13 15:16:20 +00:00
Brotli.h AK: Rename Stream::{read,write} to Stream::{read_some,write_some} 2023-03-13 15:16:20 +00:00
BrotliDictionary.cpp Everywhere: Add support for compilation under emscripten 2022-11-26 02:23:15 +03:30
BrotliDictionary.h LibCompress: Implement Brotli decompressor 2022-05-21 22:41:40 +02:00
BrotliDictionaryData.bin LibCompress: Implement Brotli decompressor 2022-05-21 22:41:40 +02:00
CMakeLists.txt LibCompress: Add support for XZ 2023-03-21 10:25:13 +01:00
Deflate.cpp LibCompress: Order branches in Deflate's decode_codes() numerically 2023-04-04 19:16:06 +02:00
Deflate.h LibCompress: Make CanonicalCode::from_bytes() return ErrorOr<> 2023-04-02 06:19:46 +02:00
DeflateTables.h LibCompress: Add missing header to DeflateTables.h 2021-10-06 23:52:40 +01:00
Gzip.cpp LibCompress: Add a utility to GZIP compress an entire file 2023-04-01 08:15:49 +02:00
Gzip.h LibCompress: Add a utility to GZIP compress an entire file 2023-04-01 08:15:49 +02:00
Lzma.cpp LibCompress: Use LZMA context from preexisting dictionary 2023-03-30 14:39:31 +02:00
Lzma.h LibCompress: Use the correct LZMA repetition offset in all cases 2023-03-30 14:39:31 +02:00
Lzma2.cpp LibCompress: Avoid overflowing the size of uncompressed LZMA2 chunks 2023-03-30 14:39:31 +02:00
Lzma2.h LibCompress: Add support for LZMA2 2023-03-21 10:25:13 +01:00
Xz.cpp LibCompress: Implement block size validation for XZ streams 2023-04-01 13:57:54 +02:00
Xz.h LibCompress: Implement block size validation for XZ streams 2023-04-01 13:57:54 +02:00
Zlib.cpp Everywhere: Remove unintentional partial stream reads and writes 2023-03-13 15:16:20 +00:00
Zlib.h AK: Rename Stream::{read,write} to Stream::{read_some,write_some} 2023-03-13 15:16:20 +00:00