Lines Matching refs:MESSAGE_MAX_BYTES
31 MESSAGE_MAX_BYTES = 1024,
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
64 // Read random length ([1,MESSAGE_MAX_BYTES]) data to the ring buffer.
66 const int randomLength = (rand() % MESSAGE_MAX_BYTES) + 1;
71 char cmpBuf[LZ4_COMPRESSBOUND(MESSAGE_MAX_BYTES)];
81 if(inpOffset >= RING_BUFFER_BYTES - MESSAGE_MAX_BYTES)
100 char cmpBuf[LZ4_COMPRESSBOUND(MESSAGE_MAX_BYTES)];
116 lz4StreamDecode, cmpBuf, decPtr, cmpBytes, MESSAGE_MAX_BYTES);
124 if(decOffset >= DEC_BUFFER_BYTES - MESSAGE_MAX_BYTES)