MCPcopy Create free account

hub / github.com/coderforlife/ms-compress / functions

Functions127 in github.com/coderforlife/ms-compress

↓ 24 callersFunction_ptr
(buf, off=0)
test/compressors.py:40
↓ 14 callersFunction_get_buf
(buf, default_size=10*1024*1024)
test/compressors.py:27
↓ 11 callersFunction_prep
(f, args)
test/compressors.py:137
↓ 6 callersFunctionHashUpdate
include/mscomp/XpressDictionary.h:60
↓ 5 callersMethodFill
Fills the dictionary, ready to start a new chunk This should also be called before any Find
include/mscomp/LZNT1Dictionary.h:93
↓ 5 callersFunctionWindowPos
include/mscomp/XpressDictionary.h:54
↓ 4 callersMethodFind
include/mscomp/LZNT1Dictionary.h:114
↓ 3 callersMethodEncodeSymbol
include/mscomp/HuffmanEncoder.h:228
↓ 3 callersFunctionlznt1_decompress_chunk
////////////// Decompression Functions ///////////////////////////////////
src/lznt1_decompress.cpp:37
↓ 3 callersFunctionset_bits_are_highest
This function checks that a number is of the form 1..10..0 - basically all 1 bits are more significant than all 0 bits (also allowed are all 1s and al
src/xpress_decompress.cpp:41
↓ 2 callersMethodCompress
(self, input, output_buf=None)
test/compressors.py:154
↓ 2 callersMethodCreateCodes
include/mscomp/HuffmanEncoder.h:58
↓ 2 callersMethodCreateCodesSlow
include/mscomp/HuffmanEncoder.h:129
↓ 2 callersMethodDecodeSymbol
include/mscomp/HuffmanDecoder.h:93
↓ 2 callersMethodDecompress
(self, input, output_buf=None)
test/compressors.py:160
↓ 2 callersFunctionGetMatchLength
include/mscomp/XpressDictionary.h:74
↓ 2 callersFunctiondecompress
(fullpath, data, compressed, name1, compressor, name2)
test/test_accuracy.py:38
↓ 2 callersFunctiondecompress_stream
(fullpath, data, compressed, name1, compressor, name2)
test/test_accuracy.py:49
↓ 2 callersFunctionlznt1_is_possible_stream_end
src/lznt1_decompress.cpp:225
↓ 2 callersFunctionmerge_sort
T is either uint32_t or byte
include/mscomp/sorting.h:43
↓ 2 callersFunctionxh_calc_compressed_len
src/xpress_huff_compress.cpp:181
↓ 2 callersFunctionxh_calc_compressed_len_no_matching
src/xpress_huff_compress.cpp:189
↓ 2 callersFunctionxh_compress_encode
src/xpress_huff_compress.cpp:195
↓ 2 callersFunctionxh_compress_lz77
src/xpress_huff_compress.cpp:52
↓ 2 callersFunctionxh_compress_no_matching
src/xpress_huff_compress.cpp:155
↓ 1 callersMethodCompressStream
(self, input, output, input_buf=None, output_buf=None)
test/compressors.py:338
↓ 1 callersMethodDecodeSymbolFast
include/mscomp/HuffmanDecoder.h:105
↓ 1 callersMethodDecompressStream
(self, input, output, input_buf=None, output_buf=None)
test/compressors.py:353
↓ 1 callersFunctionINFLATE_FAST
src/xpress_decompress.cpp:420
↓ 1 callersMethodSetCodeLengths
include/mscomp/HuffmanDecoder.h:42
↓ 1 callersMethodadd
include/mscomp/LZNT1Dictionary.h:46
↓ 1 callersMethoddata
include/mscomp/Array.h:56
↓ 1 callersFunctioninsertion_sort
T is either uint32_t or byte
include/mscomp/sorting.h:28
↓ 1 callersFunctionxpress_huff_decompress_chunk
///////////////////////// Decompression Functions /////////////////////////////////////////////
src/xpress_huff_decompress.cpp:39
FunctionAdd
include/mscomp/XpressDictionary.h:120
MethodArray
include/mscomp/Array.h:40
MethodCompress
Compress and return the input data. If output_buf is provided, it is used to store the output data temporarily (otherwise a buffer is
test/compressors.py:68
MethodCompress
(self, input, output_buf=None)
test/compressors.py:246
MethodCompress
(self, input, output_buf=None)
test/compressors.py:328
MethodCompress
(self, input, output_buf=None)
test/compressors.py:376
MethodCompressStream
Compresses the data from the file-like object input to the file-like object output. The input object must support the method readinto
test/compressors.py:92
MethodCompressStream
(self, input, output, input_buf=None, output_buf=None)
test/compressors.py:260
MethodDecompress
Decompress and return the input data. If output_buf is provided, it is used to store the output data temporarily (otherwise a buffer
test/compressors.py:76
MethodDecompress
(self, input, output_buf=None)
test/compressors.py:253
MethodDecompress
(self, input, output_buf=None)
test/compressors.py:333
MethodDecompress
(self, input, output_buf=None)
test/compressors.py:382
MethodDecompressStream
Decompresses the data from the file-like object input to the file-like object output. The input object must support the method readin
test/compressors.py:101
MethodDecompressStream
(self, input, output, input_buf=None, output_buf=None)
test/compressors.py:283
FunctionFORCE_INLINE byte_swap
include/mscomp/internal.h:289
FunctionFORCE_INLINE count_bits_set
include/mscomp/internal.h:232
FunctionFORCE_INLINE count_leading_zeros
include/mscomp/internal.h:236
FunctionFORCE_INLINE log2
include/mscomp/internal.h:240
FunctionFORCE_INLINE rotl
include/mscomp/internal.h:227
FunctionFill
include/mscomp/XpressDictionary.h:104
MethodFill
include/mscomp/LZNT1Dictionary_SA.h:407
FunctionFind
include/mscomp/XpressDictionary.h:145
MethodFind
include/mscomp/LZNT1Dictionary_SA.h:428
FunctionFinish
include/mscomp/Bitstream.h:143
MethodLMSsort
include/mscomp/LZNT1Dictionary_SA.h:56
MethodLZNT1Dictionary
include/mscomp/LZNT1Dictionary_SA.h:406
MethodLZNT1Dictionary
include/mscomp/LZNT1Dictionary.h:79
FunctionMSCompStatus lznt1_compress
src/lznt1_compress.cpp:233
FunctionMSCompStatus lznt1_decompress
NOTE: the "optimized" version is actually slower!
src/lznt1_decompress.cpp:293
FunctionMSCompStatus ms_compress
src/mscomp.cpp:113
FunctionMSCompStatus ms_decompress
src/mscomp.cpp:128
FunctionMSCompStatus xpress_compress
src/xpress_compress.cpp:240
FunctionMSCompStatus xpress_decompress
src/xpress_decompress.cpp:405
FunctionMSCompStatus xpress_deflate
src/xpress_compress.cpp:75
FunctionMSCompStatus xpress_huff_compress
src/xpress_huff_compress.cpp:247
FunctionMSCompStatus xpress_huff_decompress
src/xpress_huff_decompress.cpp:136
FunctionMaskIsZero
we can't do a single shift because if n is 0 then a shift by 32 is undefined Check if all pre-read bits are 0, essentially Peek(AvailableBits()) == 0
include/mscomp/Bitstream.h:58
MethodMaxCompressedSize
(self, input_len)
test/compressors.py:241
FunctionPeek
Peeking Functions ///// Peek at the next n bits of the stream Assumption: n <= 16 && n <= this->bits
include/mscomp/Bitstream.h:55
FunctionRawStream
include/mscomp/Bitstream.h:34
FunctionReadBits
Reading Functions ///// Read the next n bits of the stream, where n <= 16 (essentially Peek(n); Skip(n)) Assumption: n <= 16 && n <= this->bits
include/mscomp/Bitstream.h:93
FunctionReadBits_Fast
Fast Reading Functions ///// Equivalent to the reading functions but do not do bounds checks Read the next n bits of the stream, where n <= 16 (essent
include/mscomp/Bitstream.h:99
FunctionReadRawByte
Raw Reading Functions ///// Get the next integer from the underlying stream, not the pre-read bits. These assume that this->RemainingRawBytes() >= siz
include/mscomp/Bitstream.h:104
FunctionReadRawUInt16
include/mscomp/Bitstream.h:105
FunctionReadRawUInt32
include/mscomp/Bitstream.h:106
FunctionRemainingRawBytes
Get the remaining number of raw bytes (disregards pre-read bits)
include/mscomp/Bitstream.h:50
FunctionSkip
Skipping Functions ///// Skip the next n bits of the stream Assumption: n <= 16 && n <= this->bits
include/mscomp/Bitstream.h:63
FunctionSkip_Fast
Skip the next n bits of the stream without bounds checks Assumption: n <= 16
include/mscomp/Bitstream.h:77
FunctionWriteBits
include/mscomp/Bitstream.h:126
FunctionWriteRawByte
include/mscomp/Bitstream.h:140
FunctionWriteRawUInt16
include/mscomp/Bitstream.h:141
FunctionWriteRawUInt32
include/mscomp/Bitstream.h:142
Method__init__
(self, format, engine=CompressionEngine.Maximum)
test/compressors.py:146
Method__init__
(self, format)
test/compressors.py:238
Method__init__
(self, format)
test/compressors.py:325
Function_errchk
(status, func, args)
test/compressors.py:133
Methodcalc_lcp
LCP Array Construction ///// Creates the LCP (longest common prefix) array from the suffix array in O(n) time with 4n memory (~16kb). Uses the Phi alg
include/mscomp/LZNT1Dictionary_SA.h:361
Functioncapacity
include/mscomp/CircularBuffer.h:46
Functionclear
include/mscomp/CircularBuffer.h:106
Functioncopy
First we give some simple no-compression 'compression' functions
src/mscomp.cpp:26
Functioncopy
include/mscomp/CircularBuffer.h:48
Functioncopy_deflate
src/mscomp.cpp:35
Functioncopy_inflate
src/mscomp.cpp:48
Functioncopy_max_size
src/mscomp.cpp:33
Functioncopy_xxflate_end
src/mscomp.cpp:61
Functioncopy_xxflate_init
src/mscomp.cpp:34
next →1–100 of 127, ranked by callers