Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Enumerations | |
enum | { BLOCK_BYTES = 1024 * 8 } |
Functions | |
size_t | write_int (FILE *fp, int i) |
size_t | write_bin (FILE *fp, const void *array, size_t arrayBytes) |
size_t | read_int (FILE *fp, int *i) |
size_t | read_bin (FILE *fp, void *array, size_t arrayBytes) |
void | test_compress (FILE *outFp, FILE *inpFp) |
void | test_decompress (FILE *outFp, FILE *inpFp) |
int | compare (FILE *fp0, FILE *fp1) |
int | main (int argc, char *argv[]) |
anonymous enum |
int compare | ( | FILE * | fp0, |
FILE * | fp1 | ||
) |
Definition at line 115 of file blockStreaming_doubleBuffer.c.
References b1, int, r0, r1, and read_bin().
Referenced by main().
Definition at line 139 of file blockStreaming_doubleBuffer.c.
References argv, BLOCK_BYTES, cmp(), compare(), benchmark::FILE, printf(), snprintf, test_compress(), and test_decompress().
Definition at line 34 of file blockStreaming_doubleBuffer.c.
Referenced by compare(), test_compress(), and test_decompress().
Definition at line 30 of file blockStreaming_doubleBuffer.c.
References i.
Referenced by test_decompress().
void test_compress | ( | FILE * | outFp, |
FILE * | inpFp | ||
) |
Definition at line 39 of file blockStreaming_doubleBuffer.c.
References BLOCK_BYTES, int, LZ4_compress_fast_continue(), LZ4_COMPRESSBOUND, LZ4_initStream(), read_bin(), write_bin(), and write_int().
Referenced by main().
void test_decompress | ( | FILE * | outFp, |
FILE * | inpFp | ||
) |
Definition at line 74 of file blockStreaming_doubleBuffer.c.
References BLOCK_BYTES, LZ4_COMPRESSBOUND, LZ4_decompress_safe_continue(), LZ4_setStreamDecode(), NULL, read_bin(), read_int(), and write_bin().
Referenced by main().
Definition at line 26 of file blockStreaming_doubleBuffer.c.
Referenced by test_compress(), and test_decompress().
Definition at line 22 of file blockStreaming_doubleBuffer.c.
References i.
Referenced by test_compress().