Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DNioByteStringTest.java61 private final ByteBuffer backingBuffer = ByteBuffer.wrap(BYTES.clone()); field in NioByteStringTest
62 private final ByteString testString = new NioByteString(backingBuffer);
204 backingBuffer, myBuffer); in testCopyTo_ByteBuffer()
210 assertEquals(backingBuffer, myBuffer); in testCopyTo_ByteBuffer()
363 Arrays.equals(allZeros, backingBuffer.array())); in testWriteToInternalShouldExposeInternalBufferToOutputStream()
398 Arrays.equals(allZeros, backingBuffer.array())); in testWriteToShouldExposeInternalBufferToByteOutput()
466 testString, new NioByteString(backingBuffer)); in testEquals()
528 ByteString newString = new NioByteString(backingBuffer); in testPeekCachedHashCode()