Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 478 for Prevent (0.24 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

          val increment = (m - n) * (h + 1)
          if (delta > Int.MAX_VALUE - increment) return false // Prevent overflow.
          delta += increment
    
          n = m
    
          for (c in input) {
            if (c < n) {
              if (delta == Int.MAX_VALUE) return false // Prevent overflow.
              delta++
            } else if (c == n) {
              var q = delta
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 03:04:50 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Bytes.java

        @Override
        public boolean contains(@CheckForNull Object target) {
          // Overridden to prevent a ton of boxing
          return (target instanceof Byte) && Bytes.indexOf(array, (Byte) target, start, end) != -1;
        }
    
        @Override
        public int indexOf(@CheckForNull Object target) {
          // Overridden to prevent a ton of boxing
          if (target instanceof Byte) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/policy/v1/generated.proto

    message PodDisruptionBudgetSpec {
      // An eviction is allowed if at least "minAvailable" pods selected by
      // "selector" will still be available after the eviction, i.e. even in the
      // absence of the evicted pod.  So for example you can prevent all voluntary
      // evictions by specifying "100%".
      // +optional
      optional k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;
    
      // Label query over pods whose evictions are managed by the disruption
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/concurrent/Task.kt

     * ------------
     *
     * Tasks may be canceled while they are waiting to be executed, or while they are executing.
     *
     * Canceling a task that is waiting to execute prevents that upcoming execution. Canceling a task
     * that is currently executing does not impact the ongoing run, but it does prevent a recurrence
     * from being scheduled.
     *
     * Tasks may opt-out of cancellation with `cancelable = false`. Such tasks will recur until they
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

       */
      internal val isMultiplexed: Boolean
        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]. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpDebugLogging.kt

    import java.util.logging.SimpleFormatter
    import kotlin.reflect.KClass
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.http2.Http2
    
    object OkHttpDebugLogging {
      // Keep references to loggers to prevent their configuration from being GC'd.
      private val configuredLoggers = CopyOnWriteArraySet<Logger>()
    
      fun enableHttp2() = enable(Http2::class)
    
      fun enableTaskRunner() = enable(TaskRunner::class)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

      }
    
      fun newClientBuilder(): OkHttpClient.Builder {
        return newClient().newBuilder()
      }
    
      @Synchronized private fun addEvent(event: String) {
        if (recordEvents) {
          logger?.info(event)
    
          synchronized(clientEventsList) {
            clientEventsList.add(event)
          }
        }
      }
    
      @Synchronized private fun initUncaughtException(throwable: Throwable) {
        if (uncaughtException == null) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  8. internal/kms/config.go

    	EnvKESKeyCacheInterval = "MINIO_KMS_KEY_CACHE_INTERVAL" // Period between polls of the KES KMS Master Key cache, to prevent it from being unused and purged
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 07:42:50 GMT 2024
    - 2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

                bufferedRequestBody.close()
              }
            } else {
              exchange.noRequestBody()
              if (!exchange.connection.isMultiplexed) {
                // If the "Expect: 100-continue" expectation wasn't met, prevent the HTTP/1 connection
                // from being reused. Otherwise we're still obligated to transmit the request body to
                // leave the connection in a consistent state.
                exchange.noNewExchangesOnConnection()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.3K bytes
    - Viewed (1)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

        }
    
        /**
         * Aggregating mojo executions (possibly) modify all MavenProjects, including those that are currently in use
         * by concurrently running mojo executions. To prevent race conditions, an aggregating execution will block
         * all other executions until finished.
         * We also lock on a given project to forbid a forked lifecycle to be executed concurrently with the project.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
Back to top