Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for intersectWith (0.17 sec)

  1. okhttp/src/main/kotlin/okhttp3/MultipartReader.kt

            check(currentPart == this) { "closed" }
    
            source.timeout().intersectWith(timeout) {
              return when (val limit = currentPartBytesRemaining(maxResult = byteCount)) {
                0L -> -1L // No more bytes in this part.
                else -> source.read(sink, limit)
              }
            }
    
            error("unreachable") // TODO(jwilson): fix intersectWith() to return T.
          }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.1K bytes
    - Viewed (0)
Back to top