Parolin
0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
val
xcx_lz5
new_release_of_lz4_1.10.0
lz4
programs
lz4conf.h
Go to the documentation of this file.
1
/*
2
LZ4conf.h - compile-time parameters
3
Copyright (C) Yann Collet 2011-2024
4
GPL v2 License
5
6
This program is free software; you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation; either version 2 of the License, or
9
(at your option) any later version.
10
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License along
17
with this program; if not, write to the Free Software Foundation, Inc.,
18
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
20
You can contact the author at :
21
- LZ4 source repository : https://github.com/lz4/lz4
22
- LZ4 public forum : https://groups.google.com/forum/#!forum/lz4c
23
*/
24
25
#ifndef LZ4CONF_H_32432
26
#define LZ4CONF_H_32432
27
28
29
/* Default compression level.
30
* Can be overridden by environment variable LZ4_CLEVEL.
31
* Is overridden at runtime by command -# */
32
#ifndef LZ4_CLEVEL_DEFAULT
33
# define LZ4_CLEVEL_DEFAULT 1
34
#endif
35
36
/* Determines if multithreading is enabled or not
37
* Default: enabled on Windows, disabled on other platforms */
38
#ifndef LZ4IO_MULTITHREAD
39
# ifdef _WIN32
40
/* Windows supports Completion Ports */
41
# define LZ4IO_MULTITHREAD 1
42
# else
43
/* Requires <pthread> support.
44
* Can't be reliably and portably tested at source code level
45
* so must be set a build level */
46
# define LZ4IO_MULTITHREAD 0
47
# endif
48
#endif
49
50
/* Determines default nb of threads for compression
51
* Default value is 0, which means "auto" :
52
* nb of threads is determined from detected local cpu.
53
* Can be overridden by Environment Variable LZ4_NBWORKERS.
54
* Can be overridden at runtime using -T# command */
55
#ifndef LZ4_NBWORKERS_DEFAULT
56
# define LZ4_NBWORKERS_DEFAULT 0
57
#endif
58
59
/* Maximum nb of compression threads selectable at runtime */
60
#ifndef LZ4_NBWORKERS_MAX
61
# define LZ4_NBWORKERS_MAX 200
62
#endif
63
64
/* Determines default lz4 block size when none provided.
65
* Default value is 7, which represents 4 MB.
66
* Can be overridden at runtime using -B# command */
67
#ifndef LZ4_BLOCKSIZEID_DEFAULT
68
# define LZ4_BLOCKSIZEID_DEFAULT 7
69
#endif
70
71
72
#endif
/* LZ4CONF_H_32432 */
Generated by
1.12.0