Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for emitCompleteSegments (0.11 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/internal/BufferMockResponseBody.kt

    internal class BufferMockResponseBody(
      val buffer: Buffer,
    ) : MockResponseBody {
      override val contentLength = buffer.size
    
      override fun writeTo(sink: BufferedSink) {
        buffer.copyTo(sink.buffer)
        sink.emitCompleteSegments()
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

                  cacheBody.close() // The cache response is complete!
                }
                return -1
              }
    
              sink.copyTo(cacheBody.buffer, sink.size - bytesRead, bytesRead)
              cacheBody.emitCompleteSegments()
              return bytesRead
            }
    
            override fun timeout(): Timeout = source.timeout()
    
            @Throws(IOException::class)
            override fun close() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Mar 22 07:09:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. okhttp-android/src/main/baseline-prof.txt

    HSPLokio/Path;->resolve(Ljava/lang/String;)Lokio/Path;
    HSPLokio/Path;->volumeLetter()Ljava/lang/Character;
    HSPLokio/RealBufferedSink;-><init>(Lokio/Sink;)V
    HSPLokio/RealBufferedSink;->close()V
    HSPLokio/RealBufferedSink;->emitCompleteSegments()Lokio/BufferedSink;
    HSPLokio/RealBufferedSink;->flush()V
    HSPLokio/RealBufferedSink;->write(Lokio/Buffer;J)V
    HSPLokio/RealBufferedSink;->write(Lokio/ByteString;)Lokio/BufferedSink;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
Back to top