Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for remove (0.47 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

            return removeSnapshot!!
          }
    
          override fun remove() {
            val removeSnapshot = this.removeSnapshot
            checkNotNull(removeSnapshot) { "remove() before next()" }
            try {
              this@DiskLruCache.remove(removeSnapshot.key())
            } catch (_: IOException) {
              // Nothing useful to do here. We failed to remove from the cache. Most likely that's
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

          } else {
            readyQueues.remove(taskQueue)
          }
        }
    
        if (coordinatorWaiting) {
          backend.coordinatorNotify(this@TaskRunner)
        } else {
          startAnotherThread()
        }
      }
    
      private fun beforeRun(task: Task) {
        lock.assertHeld()
    
        task.nextExecuteNanoTime = -1L
        val queue = task.queue!!
        queue.futureTasks.remove(task)
        readyQueues.remove(queue)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt

        assertThat(allCipherSuites.equals(null)).isFalse()
        assertThat(set.remove(ConnectionSpec.MODERN_TLS)).isTrue()
        assertThat(set.remove(ConnectionSpec.COMPATIBLE_TLS))
          .isTrue()
        assertThat(set.remove(ConnectionSpec.CLEARTEXT)).isTrue()
        assertThat(set.remove(allTlsVersions)).isTrue()
        assertThat(set.remove(allCipherSuites)).isTrue()
        assertThat(set).isEmpty()
        allTlsVersions.hashCode()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Request.kt

         */
        open fun addHeader(
          name: String,
          value: String,
        ) = commonAddHeader(name, value)
    
        /** Removes all headers named [name] on this builder. */
        open fun removeHeader(name: String) = commonRemoveHeader(name)
    
        /** Removes all headers on this builder and adds [headers]. */
        open fun headers(headers: Headers) = commonHeaders(headers)
    
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:17:44 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  5. ci/devinfra/docker_windows/Dockerfile

        Start-Process C:/TEMP/go_install.msi -ArgumentList "/quiet", "/log", "C:/TEMP/go_install_log.txt", \
            "InstallAllUsers=1", "PrependPath=1" -wait; \
        Remove-Item C:/TEMP/go_install.msi; \
        Remove-Item C:/TEMP/go_install_log.txt
    
    # Install Python 3.
    RUN Invoke-WebRequest "https://www.python.org/ftp/python/3.10.4/python-3.10.4-amd64.exe" \
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Fri Aug 18 17:24:20 GMT 2023
    - 13.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

                currentPushRequests.remove(streamId)
              }
            }
          }
        }
      }
    
      internal fun pushResetLater(
        streamId: Int,
        errorCode: ErrorCode,
      ) {
        pushQueue.execute("$connectionName[$streamId] onReset") {
          pushObserver.onReset(streamId, errorCode)
          this.withLock {
            currentPushRequests.remove(streamId)
          }
        }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Cache.kt

            val result = nextUrl!!
            nextUrl = null
            canRemove = true
            return result
          }
    
          override fun remove() {
            check(canRemove) { "remove() before next()" }
            delegate.remove()
          }
        }
      }
    
      @Synchronized fun writeAbortCount(): Int = writeAbortCount
    
      @Synchronized fun writeSuccessCount(): Int = writeSuccessCount
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  8. doc/godebug.md

    Go 1.19 made it an error for path lookups to resolve to binaries in the current directory,
    controlled by the [`execerrdot` setting](/pkg/os/exec#hdr-Executables_in_the_current_directory).
    There is no plan to remove this setting.
    
    ### Go 1.18
    
    Go 1.18 removed support for SHA1 in most X.509 certificates,
    controlled by the [`x509sha1` setting](/pkg/crypto/x509#InsecureAlgorithmError).
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

       * removed from the pool and should be closed.
       */
      fun connectionBecameIdle(connection: RealConnection): Boolean {
        connection.lock.assertHeld()
    
        return if (connection.noNewExchanges || maxIdleConnections == 0) {
          connection.noNewExchanges = true
          connections.remove(connection)
          if (connections.isEmpty()) cleanupQueue.cancelAll()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          while (openClientSocket.hasNext()) {
            openClientSocket.next().closeQuietly()
            openClientSocket.remove()
          }
    
          val httpConnection = openConnections.iterator()
          while (httpConnection.hasNext()) {
            httpConnection.next().closeQuietly()
            httpConnection.remove()
          }
          dispatcher.shutdown()
        }
      }
    
      @Throws(Exception::class)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
Back to top