Searched refs:SmallBlockInputStream (Results 1 – 2 of 2) sorted by relevance
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | CodedInputStreamTest.java | 72 private static final class SmallBlockInputStream extends FilterInputStream { class in CodedInputStreamTest 75 public SmallBlockInputStream(byte[] data, int blockSize) { in SmallBlockInputStream() method in CodedInputStreamTest.SmallBlockInputStream 79 public SmallBlockInputStream(InputStream in, int blockSize) { in SmallBlockInputStream() method in CodedInputStreamTest.SmallBlockInputStream 125 new SmallBlockInputStream(data, blockSize)); in assertReadVarint() 130 new SmallBlockInputStream(data, blockSize)); in assertReadVarint() 135 new SmallBlockInputStream(data, blockSize)); in assertReadVarint() 140 new SmallBlockInputStream(data, blockSize)); in assertReadVarint() 248 new SmallBlockInputStream(data, blockSize)); in assertReadLittleEndian32() 267 new SmallBlockInputStream(data, blockSize)); in assertReadLittleEndian64() 328 new SmallBlockInputStream(rawBytes, blockSize)); in testReadWholeMessage() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | CodedInputStreamTest.cs | 72 input = new CodedInputStream(new SmallBlockInputStream(data, bufferSize)); in AssertReadVarint() 75 input = new CodedInputStream(new SmallBlockInputStream(data, bufferSize)); in AssertReadVarint() 163 new SmallBlockInputStream(data, blockSize)); in AssertReadLittleEndian32() 183 new SmallBlockInputStream(data, blockSize)); in AssertReadLittleEndian64() 242 … message2 = TestAllTypes.Parser.ParseFrom(new SmallBlockInputStream(rawBytes, blockSize)); in ReadWholeMessage_VaryingBlockSizes() 367 private sealed class SmallBlockInputStream : MemoryStream class in Google.Protobuf.CodedInputStreamTest 371 public SmallBlockInputStream(byte[] data, int blockSize) in SmallBlockInputStream() method in Google.Protobuf.CodedInputStreamTest.SmallBlockInputStream
|