Lines Matching defs:read
40 * SpdyDataSource#read}), but not yet acknowledged by sending a {@code
362 @Override public long read(OkBuffer sink, long byteCount)
366 long read;
372 // Move bytes from the read buffer into the caller's buffer.
373 read = readBuffer.read(sink, Math.min(byteCount, readBuffer.size()));
376 unacknowledgedBytesRead += read;
386 connection.unacknowledgedBytesRead += read;
394 return read;
399 * a {@link SocketTimeoutException} if the read timeout elapses before
450 long read = in.read(receiveBuffer, byteCount);
451 if (read == -1) throw new EOFException();
452 byteCount -= read;
454 // Move the received data to the read buffer to the reader can read it.