Home
last modified time | relevance | path

Searched full:a (Results 1 – 25 of 92) sorted by relevance

1234

/lz4-3.4.0-2.7.6/doc/
Dlz4_Block_format.md11 LZ4 is an LZ77-type compressor with a fixed, byte-oriented encoding.
30 A sequence is a suite of literals (not-compressed bytes),
31 followed by a match copy.
33 Each sequence starts with a `token`.
34 The `token` is a one byte value, separated into two 4-bits fields.
43 Each additional byte then represent a value from 0 to 255,
44 which is added to the previous value to produce a total length.
47 (Side note : this is why a not-compressible input block is expanded by 0.4%).
49 Example 1 : A literal length of 48 will be represented as :
54 Example 2 : A literal length of 280 will be represented as :
[all …]
Dlz4frame_manual.html9 <a name="Contents"></a><h2>Contents</h2>
11 <li><a href="#Chapter1">Introduction</a></li>
12 <li><a href="#Chapter2">Compiler specifics</a></li>
13 <li><a href="#Chapter3">Error management</a></li>
14 <li><a href="#Chapter4">Frame compression types</a></li>
15 <li><a href="#Chapter5">Simple compression function</a></li>
16 <li><a href="#Chapter6">Advanced compression functions</a></li>
17 <li><a href="#Chapter7">Resource Management</a></li>
18 <li><a href="#Chapter8">Compression</a></li>
19 <li><a href="#Chapter9">Decompression functions</a></li>
[all …]
Dlz4_manual.html9 <a name="Contents"></a><h2>Contents</h2>
11 <li><a href="#Chapter1">Introduction</a></li>
12 <li><a href="#Chapter2">Version</a></li>
13 <li><a href="#Chapter3">Tuning parameter</a></li>
14 <li><a href="#Chapter4">Simple Functions</a></li>
15 <li><a href="#Chapter5">Advanced Functions</a></li>
16 <li><a href="#Chapter6">Streaming Compression Functions</a></li>
17 <li><a href="#Chapter7">Streaming Decompression Functions</a></li>
18 <li><a href="#Chapter8">Experimental section</a></li>
19 <li><a href="#Chapter9">Private Definitions</a></li>
[all …]
Dlz4_Frame_format.md25 The purpose of this document is to define a lossless compressed data format,
33 using only an a priori bounded amount of intermediate storage,
44 The text of the specification assumes a basic background in programming
48 a compliant compressor must produce data sets
52 A compliant decompressor must be able to decompress
56 Whenever it does not support a specific parameter within the compressed stream,
57 it must produce a non-ambiguous error code
95 digesting the original (decoded) data as input, and a seed of zero.
117 within a single stream or file
130 The descriptor uses a minimum of 3 bytes,
[all …]
/lz4-3.4.0-2.7.6/tests/
DCOPYING33 For example, if you distribute copies of such a program, whether
34 gratis or for a fee, you must give the recipients all the rights that
51 patents. We wish to avoid the danger that redistributors of a free
63 a notice placed by the copyright holder saying it may be distributed
65 refers to any such program or work, and a "work based on the Program"
67 that is to say, a work containing the Program or a portion of it,
75 is covered only if its contents constitute a work based on the
84 and give any other recipients of the Program a copy of this License
87 You may charge a fee for the physical act of transferring a copy, and
88 you may at your option offer warranty protection in exchange for a fee.
[all …]
/lz4-3.4.0-2.7.6/programs/
DCOPYING33 For example, if you distribute copies of such a program, whether
34 gratis or for a fee, you must give the recipients all the rights that
51 patents. We wish to avoid the danger that redistributors of a free
63 a notice placed by the copyright holder saying it may be distributed
65 refers to any such program or work, and a "work based on the Program"
67 that is to say, a work containing the Program or a portion of it,
75 is covered only if its contents constitute a work based on the
84 and give any other recipients of the Program a copy of this License
87 You may charge a fee for the physical act of transferring a copy, and
88 you may at your option offer warranty protection in exchange for a fee.
[all …]
Dlz4.123 \fBlz4\fR supports a command line syntax similar \fIbut not identical\fR to \fBgzip(1)\fR\. Differe…
26 \fBlz4\fR compresses a single file by default (see \fB\-m\fR for multiple files)
38 \fBlz4\fR shows real\-time notification statistics during compression or decompression of a single …
44 … \fB\-c\fR ensures that output will be \fBstdout\fR\. Conversely, providing a destination name, or…
52 …s become disabled by default (use \fB\-v\fR to enable them)\. This mode has a behavior which more …
66 …\.lz4\fR files as is\. \fBlz4\fR will decompress such files as if they were a single \fB\.lz4\fR f…
85 … to \fB\-dc\fR\. Long commands cannot be concatenated\. They must be clearly separated by a space\.
88 When multiple contradictory commands are issued on a same command line, only the latest one will be…
94 …R implies \fB\-\-decompress\fR), nor from the input file name (for example, a file extension \fB\.…
120 …tting overrides compression level if one was set previously\. Similarly, if a compression level is…
[all …]
Dlz4.1.md31 `lz4` supports a command line syntax similar _but not identical_ to `gzip(1)`.
34 * `lz4` compresses a single file by default (see `-m` for multiple files)
39 during compression or decompression of a single file
49 Conversely, providing a destination name, or using `-m`
57 This mode has a behavior which more closely mimics `gzip` command line,
67 `lz4` will decompress such files as if they were a single `.lz4` file.
84 Long commands cannot be concatenated. They must be clearly separated by a space.
88 When multiple contradictory commands are issued on a same command line,
99 (for example, a file extension `.lz4` implies `--decompress` by default).
136 Similarly, if a compression level is set after `--fast`, it overrides it.
[all …]
/lz4-3.4.0-2.7.6/examples/
DCOPYING33 For example, if you distribute copies of such a program, whether
34 gratis or for a fee, you must give the recipients all the rights that
51 patents. We wish to avoid the danger that redistributors of a free
63 a notice placed by the copyright holder saying it may be distributed
65 refers to any such program or work, and a "work based on the Program"
67 that is to say, a work containing the Program or a portion of it,
75 is covered only if its contents constitute a work based on the
84 and give any other recipients of the Program a copy of this License
87 You may charge a fee for the physical act of transferring a copy, and
88 you may at your option offer warranty protection in exchange for a fee.
[all …]
Dsimple_buffer.c30 // Below we will have a Compression and Decompression section to demonstrate. in main()
31 // There are a few important notes before we start: in main()
33 // Read lz4.h if you're unsure what a given code means. in main()
40 // We'll store some text into a variable pointed to by *src to be compressed later. in main()
42 …// The compression function needs to know how many bytes exist. Since we're using a string, we ca… in main()
44 …// LZ4 provides a function that will tell you the maximum size of compressed output based on input… in main()
56 …run_screaming("A 0 or negative result from LZ4_compress_default() indicates a failure trying to co… in main()
60 …// Not only does a positive return_value mean success, the value returned == the number of bytes r… in main()
71 // but in a real-world scenario, metadata must be transmitted to the decompression side. in main()
75 // First, let's create a *new_src location of size src_size since we know that value. in main()
[all …]
DMakefile14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # You should have received a copy of the GNU General Public License along
46 $(LZ4DIR)/liblz4.a: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c $(LZ4DIR)/lz4frame.c $(LZ4DIR)/lz4.h $(LZ4DIR…
47 $(MAKE) -C $(LZ4DIR) liblz4.a
49 printVersion: printVersion.c $(LZ4DIR)/liblz4.a
52 doubleBuffer: blockStreaming_doubleBuffer.c $(LZ4DIR)/liblz4.a
55 dictionaryRandomAccess: dictionaryRandomAccess.c $(LZ4DIR)/liblz4.a
58 ringBuffer : blockStreaming_ringBuffer.c $(LZ4DIR)/liblz4.a
61 ringBufferHC: HCStreaming_ringBuffer.c $(LZ4DIR)/liblz4.a
64 lineCompress: blockStreaming_lineByLine.c $(LZ4DIR)/liblz4.a
[all …]
Dcompress_functions.c5 …* Description: A program to demonstrate the various compression functions involved in when using L…
19 …* Despite its name, it's not a "fast" version of compression. It simply decides if…
20 …* allocates memory on the heap for a struct or creates the struct directly on the s…
24 …* LZ4_compress_generic should be invoked; specifically: can the source fit into a s…
29 …s, but you really need to know what you're doing AND what you're asking lz4 to do! You also need a
41 …* Again, despite its name it's not a "fast" version of decompression. It simply f…
45 …rectly is not advised, period. Furthermore, it is a static inline function in lz4.c, so there isn…
49 …4_decompress_safe() function protects against malicious (user) input. If you are using data from a
50 …urce, or if your program is the producer (P) as well as its consumer (C) in a PC or MPMC setup, yo…
76 /* Create a crude set of test IDs so we can switch on them later (Can't switch() on a char[] or ch…
[all …]
/lz4-3.4.0-2.7.6/lib/
Dlz4.h22 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
56 - a single step (described as Simple Functions)
57 - a single step, reusing a context (described in Advanced Functions)
61 Decompressing such a compressed block requires additional metadata.
70 Frames bundle both blocks and metadata in a specified manner.
72 Frame format is delivered through a companion API, declared in lz4frame.h.
81 * Enable exporting of functions when building a Windows DLL
95 …_VISIBILITY /* It isn't required but allows to generate better code, saving a function pointer loa…
138 * It also runs faster, so it's a recommended setting.
139 * If the function cannot compress 'src' into a more limited 'dst' budget,
[all …]
Dlz4hc.h21 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
77 …* Memory segment must be aligned on 8-bytes boundaries (which a normal malloc() should do properl…
106 * A same state can be used multiple times consecutively,
107 * starting with LZ4_resetStreamHC_fast() to start a new stream of blocks.
122 Selecting the compression level can be done with LZ4_resetStreamHC_fast() (starts a new stream)
127 After reset, a first "fictional block" can be designated as initial dictionary,
147 it's possible to copy the last blocks into a more stable memory space, using LZ4_saveDictHC().
150 After completing a streaming compression,
151 it's possible to start a new stream of blocks, using the same LZ4_streamHC_t state,
232 * This can be used to allocate statically, on state, or as part of a larger structure.
[all …]
Dlz4frame.h21 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
35 /* LZ4F is a stand-alone API able to create and decode LZ4 frames
68 * Enable exporting of functions when building a Windows DLL
105 LZ4FLIB_API unsigned LZ4F_isError(LZ4F_errorCode_t code); /**< tells when a function result is…
182 …LZ4F_blockChecksum_t blockChecksumFlag; /* 1: each block followed by a checksum of block's com…
218 * Compress an entire srcBuffer into a valid LZ4 frame.
246 …* The first thing to do is to create a compressionContext object, which will be used in all compre…
247 * This is achieved using LZ4F_createCompressionContext(), which takes as argument a version.
249 * The function will provide a pointer to a fully allocated LZ4F_cctx object.
262 /* Size in bytes of a block header in little-endian format. Highest bit indicates if block data is …
[all …]
Dxxhash.h22 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
40 Comparison (single thread, Windows Seven 32 bits, using SMHasher on a Core 2 Duo @3GHz)
45 MumurHash 3a 2.7 GB/s 10 Austin Appleby
56 Q.Score is a measure of quality of the hash function.
58 10 is a perfect score.
60 A 64-bit version, named XXH64, is available since r35.
93 * It's not useful to compile and link it as a separate module.
125 # define XXH_CAT(A,B) A##B argument
126 # define XXH_NAME2(A,B) XXH_CAT(A,B) argument
188 * Start a new hash by initializing state with a seed, using XXH*_reset().
[all …]
DREADME.md51 - `LZ4_FAST_DEC_LOOP` : this triggers a speed optimized decompression loop, more powerful on modern…
60 hence will produce a worse compression ratio.
61 …However, a smaller max distance can allow compatibility with specific decoders using limited memor…
64 - `LZ4_DISABLE_DEPRECATE_WARNINGS` : invoking a deprecated function will make the compiler generate…
66 Should this be a problem, it's generally possible to make the compiler ignore these warnings,
85 passed as argument to become a compression state is suitably aligned.
91 lz4 source code can be amalgamated into a single file.
110 `dll\liblz4.dll` are required to compile a project using gcc/MinGW.
112 It means that if a project that uses LZ4 consists of a single `test-dll.c`
/lz4-3.4.0-2.7.6/build/VS2010/
Dlz4.sln15 …11-00A0C91BC942}") = "datagen", "datagen\datagen.vcxproj", "{D745AE2F-596A-403A-9B91-81A8C6779243}"
78 {D745AE2F-596A-403A-9B91-81A8C6779243}.Debug|Win32.ActiveCfg = Debug|Win32
79 {D745AE2F-596A-403A-9B91-81A8C6779243}.Debug|Win32.Build.0 = Debug|Win32
80 {D745AE2F-596A-403A-9B91-81A8C6779243}.Debug|x64.ActiveCfg = Debug|x64
81 {D745AE2F-596A-403A-9B91-81A8C6779243}.Debug|x64.Build.0 = Debug|x64
82 {D745AE2F-596A-403A-9B91-81A8C6779243}.Release|Win32.ActiveCfg = Release|Win32
83 {D745AE2F-596A-403A-9B91-81A8C6779243}.Release|Win32.Build.0 = Release|Win32
84 {D745AE2F-596A-403A-9B91-81A8C6779243}.Release|x64.ActiveCfg = Release|x64
85 {D745AE2F-596A-403A-9B91-81A8C6779243}.Release|x64.Build.0 = Release|x64
/lz4-3.4.0-2.7.6/contrib/snap/
DREADME.md4 This directory contains the config required to generate a snap package
7 distribution by publishing it to https://snapcraft.io/. A key attribute
8 of a snap package is that it is (ideally) confined such that it
9 executes within a controlled environmenti with all its dependencies
11 package on the system (with a couple of minor exceptions).
19 * push snap/* changes to the repo (excluding any crud generated by a build of course)
/lz4-3.4.0-2.7.6/build/VS2017/
Dlz4.sln15 …11-00A0C91BC942}") = "datagen", "datagen\datagen.vcxproj", "{D745AE2F-596A-403A-9B91-81A8C6779243}"
72 {D745AE2F-596A-403A-9B91-81A8C6779243}.Debug|Win32.ActiveCfg = Debug|Win32
73 {D745AE2F-596A-403A-9B91-81A8C6779243}.Debug|Win32.Build.0 = Debug|Win32
74 {D745AE2F-596A-403A-9B91-81A8C6779243}.Debug|x64.ActiveCfg = Debug|x64
75 {D745AE2F-596A-403A-9B91-81A8C6779243}.Debug|x64.Build.0 = Debug|x64
76 {D745AE2F-596A-403A-9B91-81A8C6779243}.Release|Win32.ActiveCfg = Release|Win32
77 {D745AE2F-596A-403A-9B91-81A8C6779243}.Release|Win32.Build.0 = Release|Win32
78 {D745AE2F-596A-403A-9B91-81A8C6779243}.Release|x64.ActiveCfg = Release|x64
79 {D745AE2F-596A-403A-9B91-81A8C6779243}.Release|x64.Build.0 = Release|x64
/lz4-3.4.0-2.7.6/contrib/gen_manual/
DREADME.md1 gen_manual - a program for automatic generation of manual from source code
6 This simple C++ program generates a single-page HTML manual from `lz4.h`.
9 - comments of type `/*!` mean: this is a function declaration; switch comments with declarations
10 - comments of type `/**` and `/*-` mean: this is a comment; use a `<H2>` header for the first line
11 - comments of type `/*=` and `/**=` mean: use a `<H3>` header and show also all functions until fir…
/lz4-3.4.0-2.7.6/ossfuzz/
Dfuzz_helpers.h32 #define MIN(a,b) ( (a) < (b) ? (a) : (b) ) argument
33 #define MAX(a,b) ( (a) > (b) ? (a) : (b) ) argument
60 * Deterministically constructs a seed based on the fuzz input.
84 /* Returns a random numer in the range [min, max]. */
/lz4-3.4.0-2.7.6/lib/dll/example/
DREADME.md32 `fullbench-dll` uses a dynamic LZ4 library from the `dll` directory.
33 `fullbench-lib` uses a static LZ4 library from the `lib` directory.
39 are required to compile a project using gcc/MinGW.
41 It means that if a project that uses LZ4 consists of a single `test-dll.c`
51 Open `example\fullbench-dll.sln` to compile `fullbench-dll` that uses a
60 are required to compile a project using Visual C++.
66 If one will provide only the name `liblz4.lib` without a full path to the library
/lz4-3.4.0-2.7.6/.circleci/
Dconfig.yml1 # This configuration was automatically generated from a CircleCI 1.0 config.
7 # configuration as a reference rather than using it in production, though in most
23 …# In CircleCI 1.0 we used a pre-configured image with a large number of languages and other packag…
26 # We have selected a pre-built image that mirrors the build environment we use on
28 # of each job. For more information on choosing an image (or alternatively using a
29 # VM instead of a container) see https://circleci.com/docs/2.0/executor-types/
37 …In 1.0 we did this implicitly. In 2.0 you can choose where in the course of a job your code should…
44 # This would typically be a build job when using workflows, possibly combined with build
/lz4-3.4.0-2.7.6/.github/ISSUE_TEMPLATE/
Dfeature_request.md10 **Is your feature request related to a problem? Please describe.**
11 A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
14 A clear and concise description of what you want to happen.
17 A clear and concise description of any alternative solutions or features you've considered.

1234