dcapwell commented on code in PR #4837:
URL: https://github.com/apache/cassandra/pull/4837#discussion_r3290870662
##########
test/unit/org/apache/cassandra/utils/AccordGenerators.java:
##########
@@ -111,6 +111,32 @@ private AccordGenerators()
{
}
+ /**
+ * Generates a random byte array whose size is determined by the given
size generator.
+ * Fills 8 bytes at a time using {@code nextLong()} for efficiency, then
fills any remaining bytes individually.
+ */
+ public static Gen<byte[]> byteArray(Gen.IntGen sizeGen)
Review Comment:
didn't have a good place to put this... i really need to get rid of
QuickTheories...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]