HomeSort by relevance Sort by last modified time
    Searched refs:expectRead (Results 1 - 4 of 4) sorted by null

  /prebuilts/go/darwin-x86/src/io/
multi_test.go 29 expectRead := func(size int, expected string, eerr error) {
48 expectRead(2, "fo", nil)
49 expectRead(5, "o ", nil)
50 expectRead(5, "bar", nil)
51 expectRead(5, "", EOF)
54 expectRead(4, "foo ", nil)
55 expectRead(1, "b", nil)
56 expectRead(3, "ar", nil)
57 expectRead(1, "", EOF)
60 expectRead(5, "foo ", nil
    [all...]
  /prebuilts/go/linux-x86/src/io/
multi_test.go 29 expectRead := func(size int, expected string, eerr error) {
48 expectRead(2, "fo", nil)
49 expectRead(5, "o ", nil)
50 expectRead(5, "bar", nil)
51 expectRead(5, "", EOF)
54 expectRead(4, "foo ", nil)
55 expectRead(1, "b", nil)
56 expectRead(3, "ar", nil)
57 expectRead(1, "", EOF)
60 expectRead(5, "foo ", nil
    [all...]
  /external/guava/guava-tests/test/com/google/common/io/
LineBufferTest.java 65 List<String> expectRead = Lists.transform(expectProcess,
76 assertEquals(expectRead, readUsingJava(input, chunk));
77 assertEquals(expectRead, readUsingReader(input, chunk, true));
78 assertEquals(expectRead, readUsingReader(input, chunk, false));
ByteSourceTest.java 224 * @param expectRead the number of bytes we expect to read
227 int input, int offset, long length, int expectRead) throws IOException {
228 checkArgument(expectRead == (int) Math.max(0, Math.min(input, offset + length) - offset));
230 byte[] expected = newPreFilledByteArray(offset, expectRead);

Completed in 137 milliseconds