Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 21 of 21 for minOf (0.03 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

      ) : Sink {
        val buffer = Buffer()
        var receivedByteCount = 0L
    
        @Throws(IOException::class)
        override fun write(
          source: Buffer,
          byteCount: Long,
        ) {
          val toRead = minOf(remainingByteCount, byteCount)
          if (toRead > 0L) {
            source.read(buffer, toRead)
          }
          val toSkip = byteCount - toRead
          if (toSkip > 0L) {
            source.skip(toSkip)
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
Back to top