Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for skipAll (0.07 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

    /**
     * Reads until this is exhausted or the deadline has been reached. This is careful to not extend the
     * deadline if one exists already.
     */
    @Throws(IOException::class)
    internal fun Source.skipAll(
      duration: Int,
      timeUnit: TimeUnit,
    ): Boolean {
      val nowNs = System.nanoTime()
      val originalDurationNs =
        if (timeout().hasDeadline()) {
          timeout().deadlineNanoTime() - nowNs
        } else {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.3K bytes
    - Click Count (1)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

    import okhttp3.internal.http.promisesBody
    import okhttp3.internal.http.receiveHeaders
    import okhttp3.internal.http1.Http1ExchangeCodec.Companion.TRAILERS_RESPONSE_BODY_TRUNCATED
    import okhttp3.internal.skipAll
    import okio.Buffer
    import okio.ForwardingTimeout
    import okio.Sink
    import okio.Source
    import okio.Timeout
    
    /**
     * A socket connection that can be used to send HTTP/1.1 messages. This class strictly enforces the
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 17.6K bytes
    - Click Count (7)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

    /** Run [block] until it either throws an [IOException] or completes. */
    internal inline fun ignoreIoExceptions(block: () -> Unit) {
      try {
        block()
      } catch (_: IOException) {
      }
    }
    
    internal fun Buffer.skipAll(b: Byte): Int {
      var count = 0
      while (!exhausted() && this[0] == b) {
        count++
        readByte()
      }
      return count
    }
    
    /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  4. fastapi/.agents/skills/fastapi/SKILL.md

    ---
    
    # FastAPI
    
    Official FastAPI skill to write code with best practices, keeping up to date with new versions and features.
    
    ## Use the `fastapi` CLI
    
    Run the development server on localhost with reload:
    
    ```bash
    fastapi dev
    ```
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  5. LICENSES/vendor/cyphar.com/go-pathrs/LICENSE

    be placed in a text file included with all distributions of the Covered
    Software under this License. Except to the extent prohibited by statute
    or regulation, such description must be sufficiently detailed for a
    recipient of ordinary skill to be able to understand it.
    
    5. Termination
    --------------
    
    5.1. The rights granted under this License will terminate automatically
    if You fail to comply with any of its terms. However, if You become
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Nov 12 14:46:31 GMT 2025
    - 16.5K bytes
    - Click Count (0)
Back to Top