Searched refs:isArrayRange (Results 1 – 1 of 1) sorted by relevance
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | ByteStringTest.java | 78 private boolean isArrayRange(byte[] left, byte[] right, int rightOffset, int length) { in isArrayRange() method in ByteStringTest 88 return left.length == right.length && isArrayRange(left, right, 0, left.length); in isArray() 95 isArrayRange(substring.toByteArray(), bytes, 500, bytes.length - 500)); in testSubstring_BeginIndex() 102 isArrayRange(byteString.toByteArray(), bytes, 500, 200)); in testCopyFrom_BytesOffsetSize() 119 isArrayRange(byteString.toByteArray(), bytes, 500, 200)); in testCopyFrom_ByteBufferSize() 129 isArrayRange(byteString.toByteArray(), bytes, 500, bytes.length - 500)); in testCopyFrom_ByteBuffer() 137 isArrayRange(byteString.toByteArray(), testBytes, 0, testBytes.length)); in testCopyFrom_StringEncoding() 145 isArrayRange(byteString.toByteArray(), testBytes, 0, testBytes.length)); in testCopyFrom_Utf8() 154 isArrayRange(byteString.toByteArray(), testBytes, 0, testBytes.length)); in testCopyFrom_Iterable() 172 isArrayRange(bytes, target, 400, bytes.length)); in testCopyTo_TargetOffset() [all …]
|