Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for Ridley (0.18 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

    import okhttp3.internal.platform.Platform
    import okio.IOException
    
    class RealConnectionPool(
      private val taskRunner: TaskRunner,
      /**
       * The maximum number of idle connections across all addresses.
       * Connections needed to satisfy a [ConnectionPool.AddressPolicy] are not considered idle.
       */
      private val maxIdleConnections: Int,
      keepAliveDuration: Long,
      timeUnit: TimeUnit,
      internal val connectionListener: ConnectionListener,
    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)
  2. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.util.concurrent.SequentialExecutor.WorkerRunningState.IDLE;
    import static com.google.common.util.concurrent.SequentialExecutor.WorkerRunningState.QUEUED;
    import static com.google.common.util.concurrent.SequentialExecutor.WorkerRunningState.QUEUING;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

          TF_EXCLUSIVE_LOCKS_REQUIRED(execution_mutex_);
    
      enum class ExecutionState {
        kReadyToExecute,
        kHasResult,
        kIdle,
        kShuttingDown,
      };
    
      tensorflow::mutex execution_mutex_;
      ExecutionState execution_state_ TF_GUARDED_BY(execution_mutex_) =
          ExecutionState::kIdle;
      // Tells the worker thread that there is new work.
      tensorflow::condition_variable start_execute_;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  4. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

          if (!inputExhausted) {
            responseBodyComplete()
          }
          closed = true
        }
      }
    
      companion object {
        private const val NO_CHUNK_YET = -1L
    
        private const val STATE_IDLE = 0 // Idle connections are ready to write request headers.
        private const val STATE_OPEN_REQUEST_BODY = 1
        private const val STATE_WRITING_REQUEST_BODY = 2
        private const val STATE_READ_RESPONSE_HEADERS = 3
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/DispatcherTest.kt

      }
    
      @Test
      fun idleCallbackInvokedWhenIdle() {
        val idle = AtomicBoolean()
        dispatcher.idleCallback = Runnable { idle.set(true) }
        client.newCall(newRequest("http://a/1")).enqueue(callback)
        client.newCall(newRequest("http://a/2")).enqueue(callback)
        executor.finishJob("http://a/1")
        assertThat(idle.get()).isFalse()
        val ready = CountDownLatch(1)
        val proceed = CountDownLatch(1)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  6. cmd/metrics-resource.go

    				if ts != nil {
    					tot := ts.User + ts.System + ts.Idle + ts.Iowait + ts.Nice + ts.Steal
    					cpuUserVal := math.Round(ts.User/tot*100*100) / 100
    					updateResourceMetrics(cpuSubsystem, cpuUser, cpuUserVal, labels, false)
    					cpuSystemVal := math.Round(ts.System/tot*100*100) / 100
    					updateResourceMetrics(cpuSubsystem, cpuSystem, cpuSystemVal, labels, false)
    					cpuIdleVal := math.Round(ts.Idle/tot*100*100) / 100
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * task immediately, and postpone by 100 seconds future requests, thus we allow for work to get
       * done in the meantime instead of waiting idly.
       *
       * This has important consequences: it means that the RateLimiter doesn't remember the time of the
       * _last_ request, but it remembers the (expected) time of the _next_ request. This also enables
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  8. cmd/server-main.go

    		EnvVar: "MINIO_SHUTDOWN_TIMEOUT",
    		Hidden: true,
    	},
    	cli.DurationFlag{
    		Name:   "idle-timeout",
    		Value:  xhttp.DefaultIdleTimeout,
    		Usage:  "idle timeout is the maximum amount of time to wait for the next request when keep-alive are enabled",
    		EnvVar: "MINIO_IDLE_TIMEOUT",
    		Hidden: true,
    	},
    	cli.DurationFlag{
    		Name:   "read-header-timeout",
    		Value:  xhttp.DefaultReadHeaderTimeout,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  9. src/main/java/jcifs/util/transport/Transport.java

                long firstKey = doSend(request, response, params, timeout);
    
                if ( Thread.currentThread() == this.thread ) {
                    // we are in the transport thread, ie. on idle disconnecting
                    // this is synchronous operation
                    // This does not handle compound requests
                    synchronized ( this.inLock ) {
                        Long peekKey = peekKey();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

        // Connections are replaced if they idle out or are evicted from the pool
        evictAllConnections(pool)
        assertThat(pool.connectionCount()).isEqualTo(2)
        forceConnectionsToExpire(pool, expireTime)
        assertThat(pool.connectionCount()).isEqualTo(2)
    
        // Excess connections aren't removed until they idle out, even if no longer needed
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 12.7K bytes
    - Viewed (0)
Back to top