Searched refs:newPreFilledByteArray (Results 1 – 7 of 7) sorted by relevance
41 byte[] expected = newPreFilledByteArray(100); in testCopyChannel()102 assertEquals(newPreFilledByteArray(10), b); in testReadFully()110 byte[] bytes = newPreFilledByteArray(100); in testSkipFully()418 return new ByteArrayInputStream(newPreFilledByteArray(n)); in newTestStream()436 final byte[] array = newPreFilledByteArray(1000); in testReadBytes()458 byte[] array = newPreFilledByteArray(6000); in testByteProcessorStopEarly()466 newPreFilledByteArray(4096)); in testByteProcessorStopEarly()490 byte[] big = newPreFilledByteArray(5); in testLimit()521 byte[] big = newPreFilledByteArray(5); in testLimit_mark()542 byte[] big = newPreFilledByteArray(5); in testLimit_skip()[all …]
45 byte[] data = newPreFilledByteArray(100); in testFinalizeDeletesFile()79 byte[] data = newPreFilledByteArray(dataSize); in testThreshold()128 byte[] data = newPreFilledByteArray(100); in testWriteErrorAfterClose()149 byte[] data = newPreFilledByteArray(100); in testReset()
148 static byte[] newPreFilledByteArray(int size) { in newPreFilledByteArray() method in IoTestCase149 return newPreFilledByteArray(0, size); in newPreFilledByteArray()155 static byte[] newPreFilledByteArray(int offset, int size) { in newPreFilledByteArray() method in IoTestCase
100 return new ByteArrayInputStream(newPreFilledByteArray(0, 50)) { in testSkip()118 return new ByteArrayInputStream(newPreFilledByteArray(start, size)); in newByteSource()
61 private static final byte[] bytes = newPreFilledByteArray(10000);181 ByteSource fewerBytes = new TestByteSource(newPreFilledByteArray(bytes.length / 2)); in testContentEquals()230 byte[] expected = newPreFilledByteArray(offset, expectRead); in assertCorrectSlice()232 ByteSource source = new TestByteSource(newPreFilledByteArray(input)); in assertCorrectSlice()
37 private final byte[] bytes = newPreFilledByteArray(10000);
181 byte[] data = newPreFilledByteArray(2000); in testWriteBytes()588 byte[] bytes = newPreFilledByteArray(size); in testMap()620 byte[] bytes = newPreFilledByteArray(1024); in testMap_readWrite()641 byte[] expectedBytes = newPreFilledByteArray(1024); in testMap_readWrite_creates()