#include "platform.h"
#include "util.h"
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <string.h>
#include <time.h>
#include "lz4.h"
#include "lz4hc.h"
#include "lz4frame.h"
#include "xxhash.h"
|
void * | LZ4_malloc (size_t s) |
|
void * | LZ4_calloc (size_t n, size_t s) |
|
void | LZ4_free (void *p) |
|
int | LZ4_compress_forceExtDict (LZ4_stream_t *LZ4_stream, const char *source, char *dest, int inputSize) |
|
int | LZ4_decompress_safe_forceExtDict (const char *in, char *out, int inSize, int outSize, const void *dict, size_t dictSize) |
|
int | LZ4_decompress_safe_partial_forceExtDict (const char *in, char *out, int inSize, int targetOutputSize, int dstCapacity, const void *dict, size_t dictSize) |
|
int | fullSpeedBench (const char **fileNamesTable, int nbFiles) |
|
int | main (int argc, const char **argv) |
|
◆ ALL_COMPRESSORS
#define ALL_COMPRESSORS 0 |
◆ ALL_DECOMPRESSORS
#define ALL_DECOMPRESSORS 0 |
◆ ARRAY_SIZE
Value:(
sizeof(
a) / (
sizeof((
a)[0])))
#define a(i)
Definition sha256.c:41
◆ AUTHOR
#define AUTHOR "Yann Collet" |
◆ DEFAULT_CHUNKSIZE
#define DEFAULT_CHUNKSIZE (4 MB) |
◆ DISPLAY
Value:fprintf(stderr, __VA_ARGS__)
◆ GB
◆ KB
◆ KNUTH
#define KNUTH 2654435761U |
◆ LZ4_DISABLE_DEPRECATE_WARNINGS
◆ MAX_MEM
#define MAX_MEM (1920 MB) |
◆ MB
◆ NB_COMPRESSION_ALGORITHMS
#define NB_COMPRESSION_ALGORITHMS ARRAY_SIZE(compDescArray) |
◆ NB_DECOMPRESSION_ALGORITHMS
#define NB_DECOMPRESSION_ALGORITHMS ARRAY_SIZE(decDescArray) |
◆ NBLOOPS
◆ PROGRAM_DESCRIPTION
#define PROGRAM_DESCRIPTION "LZ4 speed analyzer" |
◆ PROGRESS
Value:g_noPrompt ? 0 :
DISPLAY(__VA_ARGS__)
#define DISPLAY(...)
Definition fullbench.c:91
◆ TIMELOOP
#define TIMELOOP (CLOCKS_PER_SEC * 19 / 10) |
◆ WELCOME_MESSAGE
◆ fullSpeedBench()
int fullSpeedBench |
( |
const char ** | fileNamesTable, |
|
|
int | nbFiles ) |
◆ LZ4_calloc()
void * LZ4_calloc |
( |
size_t | n, |
|
|
size_t | s ) |
◆ LZ4_compress_forceExtDict()
◆ LZ4_decompress_safe_forceExtDict()
int LZ4_decompress_safe_forceExtDict |
( |
const char * | in, |
|
|
char * | out, |
|
|
int | inSize, |
|
|
int | outSize, |
|
|
const void * | dict, |
|
|
size_t | dictSize ) |
|
extern |
◆ LZ4_decompress_safe_partial_forceExtDict()
int LZ4_decompress_safe_partial_forceExtDict |
( |
const char * | in, |
|
|
char * | out, |
|
|
int | inSize, |
|
|
int | targetOutputSize, |
|
|
int | dstCapacity, |
|
|
const void * | dict, |
|
|
size_t | dictSize ) |
|
extern |
◆ LZ4_free()
void LZ4_free |
( |
void * | p | ) |
|
◆ LZ4_malloc()
void * LZ4_malloc |
( |
size_t | s | ) |
|
◆ main()
◆ g_cctx
◆ LZ4_streamHC