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

  /external/okhttp/okio/src/test/java/okio/
ReadUtf8LineTest.java 45 assertTrue(source.exhausted());
GzipSourceTest.java 163 assertFalse(exhaustableSource.exhausted);
165 assertTrue(exhaustableSource.exhausted);
213 private boolean exhausted; field in class:GzipSourceTest.ExhaustableSource
221 if (result == -1) exhausted = true;
  /external/okhttp/okio/src/main/java/okio/
BufferedSource.java 32 * until there are bytes to read or the source is definitely exhausted.
34 boolean exhausted() throws IOException; method in interface:BufferedSource
38 * an {@link java.io.EOFException} if the source is exhausted before the
66 * {@link java.io.EOFException} if the source is exhausted before the
88 * source is exhausted. Use this for human-generated data, where a trailing
108 * Returns -1 if the stream is exhausted before the requested byte is found.
RealBufferedSource.java 56 @Override public boolean exhausted() throws IOException { method in class:RealBufferedSource
58 return buffer.exhausted() && source.read(buffer, Segment.SIZE) == -1;

Completed in 170 milliseconds