We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing AbstractLZ4Test.Tester.BYTE_BUFFER to use slicing demonstrates the problem:
AbstractLZ4Test.Tester.BYTE_BUFFER
public static final Tester<ByteBuffer> BYTE_BUFFER = new Tester<ByteBuffer>() { @Override public ByteBuffer allocate(int length) { ByteBuffer bb; int slice = randomInt(5); if (randomBoolean()) { bb = ByteBuffer.allocate(length + slice); } else { bb = ByteBuffer.allocateDirect(length + slice); } bb.position(slice); bb = bb.slice(); if (randomBoolean()) { bb.order(ByteOrder.LITTLE_ENDIAN); } else { bb.order(ByteOrder.BIG_ENDIAN); } return bb; }
The text was updated successfully, but these errors were encountered:
Solved by #65. Thanks!
Sorry, something went wrong.
No branches or pull requests
Changing
AbstractLZ4Test.Tester.BYTE_BUFFER
to use slicing demonstrates the problem:The text was updated successfully, but these errors were encountered: