Home
last modified time | relevance | path

Searched refs:array (Results 1 – 6 of 6) sorted by relevance

/lz4-3.4.0-2.7.6/examples/
DblockStreaming_ringBuffer.c35 size_t write_bin(FILE* fp, const void* array, int arrayBytes) { in write_bin() argument
36 return fwrite(array, 1, arrayBytes, fp); in write_bin()
43 size_t read_bin(FILE* fp, void* array, int arrayBytes) { in read_bin() argument
44 return fread(array, 1, arrayBytes, fp); in read_bin()
DblockStreaming_doubleBuffer.c26 size_t write_bin(FILE* fp, const void* array, size_t arrayBytes) { in write_bin() argument
27 return fwrite(array, 1, arrayBytes, fp); in write_bin()
34 size_t read_bin(FILE* fp, void* array, size_t arrayBytes) { in read_bin() argument
35 return fread(array, 1, arrayBytes, fp); in read_bin()
DblockStreaming_lineByLine.c21 static size_t write_bin(FILE* fp, const void* array, int arrayBytes) in write_bin() argument
23 return fwrite(array, 1, arrayBytes, fp); in write_bin()
31 static size_t read_bin(FILE* fp, void* array, int arrayBytes) in read_bin() argument
33 return fread(array, 1, arrayBytes, fp); in read_bin()
DHCStreaming_ringBuffer.c42 size_t write_bin(FILE* fp, const void* array, int arrayBytes) { in write_bin() argument
44 return fwrite(array, 1, (size_t)arrayBytes, fp); in write_bin()
51 size_t read_bin(FILE* fp, void* array, int arrayBytes) { in read_bin() argument
53 return fread(array, 1, (size_t)arrayBytes, fp); in read_bin()
DdictionaryRandomAccess.c35 void write_bin(FILE* fp, const void* array, size_t arrayBytes) { in write_bin() argument
36 size_t written = fwrite(array, 1, arrayBytes, fp); in write_bin()
45 size_t read_bin(FILE* fp, void* array, size_t arrayBytes) { in read_bin() argument
46 size_t read = fread(array, 1, arrayBytes, fp); in read_bin()
DdictionaryRandomAccess.md60 - Read each offset into an array.