Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
static size_t | write_uint16 (FILE *fp, uint16_t i) |
static size_t | write_bin (FILE *fp, const void *array, int arrayBytes) |
static size_t | read_uint16 (FILE *fp, uint16_t *i) |
static size_t | read_bin (FILE *fp, void *array, int arrayBytes) |
static void | test_compress (FILE *outFp, FILE *inpFp, size_t messageMaxBytes, size_t ringBufferBytes) |
static void | test_decompress (FILE *outFp, FILE *inpFp, size_t messageMaxBytes, size_t ringBufferBytes) |
static int | compare (FILE *f0, FILE *f1) |
int | main (int argc, char *argv[]) |
|
static |
Definition at line 148 of file blockStreaming_lineByLine.c.
References argv, cmp(), compare(), benchmark::FILE, MESSAGE_MAX_BYTES, printf(), RING_BUFFER_BYTES, snprintf, test_compress(), and test_decompress().
Definition at line 31 of file blockStreaming_lineByLine.c.
Referenced by test_compress(), and test_decompress().
Definition at line 26 of file blockStreaming_lineByLine.c.
References i.
Referenced by test_decompress().
|
static |
Definition at line 37 of file blockStreaming_lineByLine.c.
References free(), int, LZ4_compress_fast_continue(), LZ4_COMPRESSBOUND, LZ4_createStream(), LZ4_freeStream(), malloc(), read_bin(), write_bin(), and write_uint16().
Referenced by main().
|
static |
Definition at line 86 of file blockStreaming_lineByLine.c.
References free(), LZ4_COMPRESSBOUND, LZ4_createStreamDecode(), LZ4_decompress_safe_continue(), LZ4_freeStreamDecode(), malloc(), read_bin(), read_uint16(), and write_bin().
Referenced by main().
Definition at line 21 of file blockStreaming_lineByLine.c.
Referenced by test_compress(), and test_decompress().
Definition at line 16 of file blockStreaming_lineByLine.c.
References i.
Referenced by test_compress().