OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:RING_BUFFER_BYTES
(Results
1 - 3
of
3
) sorted by null
/external/lz4/examples/
HCStreaming_ringBuffer.c
32
RING_BUFFER_BYTES
= 1024 * 8 + MESSAGE_MAX_BYTES,
33
DEC_BUFFER_BYTES =
RING_BUFFER_BYTES
+ MESSAGE_MAX_BYTES // Intentionally larger to test unsynchronized ring buffers
59
static char inpBuf[
RING_BUFFER_BYTES
];
81
if(inpOffset >=
RING_BUFFER_BYTES
- MESSAGE_MAX_BYTES)
blockStreaming_ringBuffer.c
29
RING_BUFFER_BYTES
= 1024 * 8 + MESSAGE_MAX_BYTES,
30
DECODE_RING_BUFFER =
RING_BUFFER_BYTES
+ MESSAGE_MAX_BYTES // Intentionally larger, to test unsynchronized ring buffers
56
static char inpBuf[
RING_BUFFER_BYTES
];
76
if(inpOffset >=
RING_BUFFER_BYTES
- MESSAGE_MAX_BYTES) inpOffset = 0;
blockStreaming_lineByLine.c
148
RING_BUFFER_BYTES
= 1024 * 256 + MESSAGE_MAX_BYTES,
174
test_compress(outFp, inpFp, MESSAGE_MAX_BYTES,
RING_BUFFER_BYTES
);
185
test_decompress(outFp, inpFp, MESSAGE_MAX_BYTES,
RING_BUFFER_BYTES
);
Completed in 50 milliseconds