Home
last modified time | relevance | path

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

/external/protobuf/java/src/test/java/com/google/protobuf/
DByteStringTest.java61 static byte[] getTestBytes(int size, long seed) { in getTestBytes() method in ByteStringTest
68 private byte[] getTestBytes(int size) { in getTestBytes() method in ByteStringTest
69 return getTestBytes(size, 445566L); in getTestBytes()
72 private byte[] getTestBytes() { in getTestBytes() method in ByteStringTest
73 return getTestBytes(1000); in getTestBytes()
91 byte[] bytes = getTestBytes(); in testSubstring_BeginIndex()
98 byte[] bytes = getTestBytes(); in testCopyFrom_BytesOffsetSize()
105 byte[] bytes = getTestBytes(); in testCopyFrom_Bytes()
112 byte[] bytes = getTestBytes(); in testCopyFrom_ByteBufferSize()
122 byte[] bytes = getTestBytes(); in testCopyFrom_ByteBuffer()
[all …]
DRopeByteStringTest.java51 referenceBytes = ByteStringTest.getTestBytes(22341, 22337766L); in setUp()
69 byte[] testBytes = ByteStringTest.getTestBytes(numberOfPieces * pieceSize, 113377L); in testBalance()
DBoundedByteStringTest.java47 byte[] sourceBytes = ByteStringTest.getTestBytes(2341, 11337766L); in setUp()
DRopeByteStringSubstringTest.java47 byte[] sourceBytes = ByteStringTest.getTestBytes(22341, 22337766L); in setUp()
DLiteralByteStringTest.java63 referenceBytes = ByteStringTest.getTestBytes(1234, 11337766L); in setUp()