/third_party/lz4/examples/ |
D | fileCompress.c | 156 char inpFilename[256] = { 0 }; in main() local 165 snprintf(inpFilename, 256, "%s", argv[1]); in main() 169 printf("inp = [%s]\n", inpFilename); in main() 174 { FILE* const inpFp = fopen(inpFilename, "rb"); in main() 176 printf("compress : %s -> %s\n", inpFilename, lz4Filename); in main() 187 inpFilename, in main() 188 get_file_size(inpFilename), in main() 190 (double)get_file_size(lz4Filename) / get_file_size(inpFilename) * 100); in main() 215 { FILE* const inpFp = fopen(inpFilename, "rb"); in main() 218 printf("verify : %s <-> %s\n", inpFilename, decFilename); in main()
|
D | blockStreaming_doubleBuffer.c | 141 char inpFilename[256] = { 0 }; in main() local 150 snprintf(inpFilename, 256, "%s", argv[1]); in main() 154 printf("inp = [%s]\n", inpFilename); in main() 160 FILE* inpFp = fopen(inpFilename, "rb"); in main() 163 printf("compress : %s -> %s\n", inpFilename, lz4Filename); in main() 186 FILE* inpFp = fopen(inpFilename, "rb"); in main() 189 printf("verify : %s <-> %s\n", inpFilename, decFilename); in main()
|
D | dictionaryRandomAccess.c | 200 char inpFilename[256] = { 0 }; in main() local 214 snprintf(inpFilename, 256, "%s", argv[1]); in main() 221 printf("inp = [%s]\n", inpFilename); in main() 237 FILE* inpFp = fopen(inpFilename, "rb"); in main() 240 printf("compress : %s -> %s\n", inpFilename, lz4Filename); in main() 263 FILE* inpFp = fopen(inpFilename, "rb"); in main() 267 printf("verify : %s <-> %s\n", inpFilename, decFilename); in main()
|
D | blockStreaming_ringBuffer.c | 137 char inpFilename[256] = { 0 }; in main() local 146 snprintf(inpFilename, 256, "%s", argv[1]); in main() 150 printf("inp = [%s]\n", inpFilename); in main() 155 { FILE* const inpFp = fopen(inpFilename, "rb"); in main() 175 { FILE* const inpFp = fopen(inpFilename, "rb"); in main()
|
D | blockStreaming_lineByLine.c | 155 char inpFilename[256] = { 0 }; in main() local 165 snprintf(inpFilename, 256, "%s", argv[1]); in main() 169 printf("inp = [%s]\n", inpFilename); in main() 175 FILE* inpFp = fopen(inpFilename, "rb"); in main() 197 FILE* inpFp = fopen(inpFilename, "rb"); in main()
|
D | frameCompress.c | 381 char inpFilename[256] = { 0 }; in main() local 394 snprintf(inpFilename, 256, "%s", argv[1]); in main() 416 printf("inp = [%s]\n", inpFilename); in main() 425 { FILE* const inpFp = fopen(inpFilename, "rb"); in main() 429 printf("compress : %s -> %s\n", inpFilename, lz4Filename); in main() 444 inpFilename, in main() 468 { FILE* const inpFp = fopen(inpFilename, "rb"); in main() 472 printf("verify : %s <-> %s\n", inpFilename, decFilename); in main()
|
D | HCStreaming_ringBuffer.c | 168 char inpFilename[256] = { 0 }; in main() local 182 snprintf(inpFilename, 256, "%s", argv[fileID]); in main() 186 printf("input = [%s]\n", inpFilename); in main() 191 { FILE* const inpFp = fopen(inpFilename, "rb"); in main() 211 { FILE* const inpFp = fopen(inpFilename, "rb"); in main()
|