Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for Keping (0.27 sec)

  1. docs/changelogs/changelog_4x.md

     *  Fix: Reliably update and invalidate the disk cache on windows. As originally designed our
        internal `DiskLruCache` assumes an inode-like file system, where it's fine to delete files that
        are currently being read or written. On Windows the file system forbids this so we must be more
        careful when deleting and renaming files.
    
     *  Fix: Don't crash on Java 8u252 which introduces an API previously found only on Java 9 and
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

        get() = http2Connection != null
    
      /** Prevent further exchanges from being created on this connection. */
      override fun noNewExchanges() {
        this.withLock {
          noNewExchanges = true
        }
        connectionListener.noNewExchanges(this)
      }
    
      /** Prevent this connection from being used for hosts other than the one in [route]. */
      internal fun noCoalescedConnections() {
        this.withLock {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

          this.type = Http2.TYPE_RST_STREAM
          this.streamId = streamId
          this.errorCode = errorCode
        }
    
        override fun ping(
          ack: Boolean,
          payload1: Int,
          payload2: Int,
        ) {
          check(type == -1)
          type = Http2.TYPE_PING
          this.ack = ack
          this.payload1 = payload1
          this.payload2 = payload2
        }
    
        override fun goAway(
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

       * This method is safe to be called concurrently, but provides limited guarantees. If a transport
       * layer connection has been established (such as a HTTP/2 stream) that is terminated. Otherwise
       * if a socket connection is being established, that is terminated.
       */
      override fun cancel() {
        if (canceled) return // Already canceled.
    
        canceled = true
        exchange?.cancel()
        for (plan in plansToCancel) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  5. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

        }
      }
    
      /**
       * Reads a message body into across one or more frames. Control frames that occur between
       * fragments will be processed. If the message payload is masked this will unmask as it's being
       * processed.
       */
      @Throws(IOException::class)
      private fun readMessage() {
        while (true) {
          if (closed) throw IOException("closed")
    
          if (frameLength > 0L) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

     * at one time; if a value is not available to be edited then [edit] will return null.
     *
     *  * When an entry is being **created** it is necessary to supply a full set of values; the empty
     *    value should be used as a placeholder if necessary.
     *
     *  * When an entry is being **edited**, it is not necessary to supply data for every value; values
     *    default to their previous value.
     *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.kt

       * request bodies.
       */
      open fun peek(): MockResponse {
        return MockResponse(socketPolicy = KeepOpen)
      }
    
      /**
       * Release any resources held by this dispatcher. Any requests that are currently being dispatched
       * should return immediately. Responses returned after shutdown will not be transmitted: their
       * socket connections have already been closed.
       */
      open fun shutdown() {}
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

      const val TYPE_RST_STREAM = 0x3
      const val TYPE_SETTINGS = 0x4
      const val TYPE_PUSH_PROMISE = 0x5
      const val TYPE_PING = 0x6
      const val TYPE_GOAWAY = 0x7
      const val TYPE_WINDOW_UPDATE = 0x8
      const val TYPE_CONTINUATION = 0x9
    
      const val FLAG_NONE = 0x0
      const val FLAG_ACK = 0x1 // Used for settings and ping.
      const val FLAG_END_STREAM = 0x1 // Used for headers and data.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

          object : Task("$okHttpName ConnectionPool connection opener") {
            override fun runOnce(): Long = openConnections(this@scheduleOpener)
          },
        )
      }
    
      /**
       * Holding the lock of the connection being added or removed when mutating this, and check its
       * [RealConnection.noNewExchanges] property. This defends against races where a connection is
       * simultaneously adopted and removed.
       */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

            }
    
            else -> {
              // All other codes cannot be cached.
              return false
            }
          }
    
          // A 'no-store' directive on request or response prevents the response from being cached.
          return !response.cacheControl.noStore && !request.cacheControl.noStore
        }
      }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
Back to top