Home
last modified time | relevance | path

Searched refs:getTestBytes (Results 1 – 6 of 6) sorted by relevance

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DByteStringTest.java62 static byte[] getTestBytes(int size, long seed) { in getTestBytes() method in ByteStringTest
69 private byte[] getTestBytes(int size) { in getTestBytes() method in ByteStringTest
70 return getTestBytes(size, 445566L); in getTestBytes()
73 private byte[] getTestBytes() { in getTestBytes() method in ByteStringTest
74 return getTestBytes(1000); in getTestBytes()
92 byte[] bytes = getTestBytes(); in testSubstring_BeginIndex()
99 byte[] bytes = getTestBytes(); in testCopyFrom_BytesOffsetSize()
106 byte[] bytes = getTestBytes(); in testCopyFrom_Bytes()
113 byte[] bytes = getTestBytes(); in testCopyFrom_ByteBufferSize()
123 byte[] bytes = getTestBytes(); in testCopyFrom_ByteBuffer()
[all …]
DRopeByteStringTest.java56 referenceBytes = ByteStringTest.getTestBytes(22341, 22337766L); in setUp()
74 byte[] testBytes = ByteStringTest.getTestBytes(numberOfPieces * pieceSize, 113377L); in testBalance()
DBoundedByteStringTest.java52 byte[] sourceBytes = ByteStringTest.getTestBytes(2341, 11337766L); in setUp()
DRopeByteStringSubstringTest.java47 byte[] sourceBytes = ByteStringTest.getTestBytes(22341, 22337766L); in setUp()
DLiteralByteStringTest.java67 referenceBytes = ByteStringTest.getTestBytes(1234, 11337766L); in setUp()
DNioByteStringTest.java58 private static final byte[] BYTES = ByteStringTest.getTestBytes(1234, 11337766L);