Home | History | Annotate | Download | only in programs

Lines Matching full:messagesize

732             U32 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1;
743 while (iNext + messageSize < testCompressedSize)
745 XXH64_update(&xxhOrig, testInput + iNext, messageSize);
748 memcpy (ringBuffer + rNext, testInput + iNext, messageSize);
749 messageSize, testCompressedSize-ringBufferSize);
752 result = LZ4_decompress_safe_continue(&decodeState, testCompressed, testVerify + dNext, result, messageSize);
753 FUZ_CHECKTEST(result!=(int)messageSize, "ringBuffer : LZ4_decompress_safe() test failed");
755 XXH64_update(&xxhNew, testVerify + dNext, messageSize);
760 iNext += messageSize;
761 rNext += messageSize;
762 dNext += messageSize;
763 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1;
764 if (rNext + messageSize > ringBufferSize) rNext = 0;
765 if (dNext + messageSize > dBufferSize) dNext = 0;
895 U32 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1;
906 while (iNext + messageSize < testCompressedSize)
908 XXH64_update(&xxhOrig, testInput + iNext, messageSize);
911 memcpy (ringBuffer + rNext, testInput + iNext, messageSize);
912 result = LZ4_compressHC_limitedOutput_continue(&sHC, ringBuffer + rNext, testCompressed, messageSize, testCompressedSize-ringBufferSize);
915 result = LZ4_decompress_safe_continue(&decodeState, testCompressed, testVerify + dNext, result, messageSize);
916 FUZ_CHECKTEST(result!=(int)messageSize, "ringBuffer : LZ4_decompress_safe() test failed");
918 XXH64_update(&xxhNew, testVerify + dNext, messageSize);
923 iNext += messageSize;
924 rNext += messageSize;
925 dNext += messageSize;
926 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1;
927 if (rNext + messageSize > ringBufferSize) rNext = 0;
928 if (dNext + messageSize > dBufferSize) dNext = 0;
939 U32 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1;
952 XXH64_update(&xxhOrig, testInput + iNext, messageSize);
955 result = LZ4_compressHC_limitedOutput_continue(&sHC, testInput + iNext, testCompressed, messageSize, testCompressedSize-ringBufferSize);
958 result = LZ4_decompress_safe_continue(&decodeState, testCompressed, testVerify + dNext, result, messageSize);
959 FUZ_CHECKTEST(result!=(int)messageSize, "ringBuffer : LZ4_decompress_safe() test failed");
961 XXH64_update(&xxhNew, testVerify + dNext, messageSize);
966 dNext += messageSize;
967 totalMessageSize += messageSize;
968 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1;
970 if (dNext + messageSize > dBufferSize) dNext = 0;