Home
last modified time | relevance | path

Searched refs:CONCATENATE_BY_COPY_SIZE (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DByteStringTest.java204 assertReadFrom(getTestBytes(ByteString.CONCATENATE_BY_COPY_SIZE - 1)); in testReadFrom_mediumStream()
205 assertReadFrom(getTestBytes(ByteString.CONCATENATE_BY_COPY_SIZE)); in testReadFrom_mediumStream()
206 assertReadFrom(getTestBytes(ByteString.CONCATENATE_BY_COPY_SIZE + 1)); in testReadFrom_mediumStream()
721 final int dataSize = ByteString.CONCATENATE_BY_COPY_SIZE + 1; in testWriteToOutputStream()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DRopeByteString.java165 if (newLength < ByteString.CONCATENATE_BY_COPY_SIZE) { in concatenate()
173 if (leftRope.right.size() + right.size() < CONCATENATE_BY_COPY_SIZE) { in concatenate()
DByteString.java76 static final int CONCATENATE_BY_COPY_SIZE = 128; field in ByteString
915 return new Output(CONCATENATE_BY_COPY_SIZE); in newOutput()