Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 115 for npidle (0.18 sec)

  1. 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)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r22/ClientShutdownCrossVersionSpec.groovy

            given:
            toolingApi.close()
    
            when:
            toolingApi.withConnection {}
    
            then:
            thrown(IllegalStateException)
        }
    
        def "cleans up idle daemons when tooling API session is shutdown"() {
            withConnection { connection ->
                connection.model(GradleBuild).setJvmArguments(buildJvmArguments).get()
            }
            toolingApi.daemons.daemon.assertIdle()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

          sink: MutableCollection<in T>,
          maxElements: Int,
        ) = error("unsupported")
      }
    
      /** Returns true if no tasks have been scheduled. This runs the coordinator for confirmation. */
      fun isIdle() = taskRunner.activeQueues().isEmpty()
    
      override fun close() {
        tasksExecutor.shutdownNow()
      }
    
      companion object {
        var instance = 0
    
        @JvmField
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DefaultDaemonConnector.java

            final Pair<Collection<DaemonInfo>, Collection<DaemonInfo>> idleBusy = partitionByState(daemonRegistry.getAll(), Idle);
            final Collection<DaemonInfo> idleDaemons = idleBusy.getLeft();
            final Collection<DaemonInfo> busyDaemons = idleBusy.getRight();
    
            // Check to see if there are any compatible idle daemons
            DaemonClientConnection connection = connectToIdleDaemon(idleDaemons, constraint);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  5. releasenotes/notes/add-idle-timeout-to-destination-rule-tcp-settings.yaml

    Jacek Ewertowski <******@****.***> 1702999098 +0100
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 15:18:18 UTC 2023
    - 189 bytes
    - Viewed (0)
  6. src/net/http/export_test.go

    	return t.closeIdle
    }
    
    func (t *Transport) QueueForIdleConnForTesting() {
    	t.queueForIdleConn(nil)
    }
    
    // PutIdleTestConn reports whether it was able to insert a fresh
    // persistConn for scheme, addr into the idle connection pool.
    func (t *Transport) PutIdleTestConn(scheme, addr string) bool {
    	c, _ := net.Pipe()
    	key := connectMethodKey{"", scheme, addr, false}
    
    	if t.MaxConnsPerHost > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:11:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. src/runtime/metrics_test.go

    		if cpu.gcDedicated <= 0 && cpu.gcAssist <= 0 && cpu.gcIdle <= 0 {
    			t.Errorf("found no time spent on GC work: %#v", cpu)
    		}
    		if cpu.gcPause <= 0 {
    			t.Errorf("found no GC pauses: %f", cpu.gcPause)
    		}
    		if cpu.idle <= 0 {
    			t.Errorf("found no idle time: %f", cpu.idle)
    		}
    		if total := cpu.gcDedicated + cpu.gcAssist + cpu.gcIdle + cpu.gcPause; !withinEpsilon(cpu.gcTotal, total, 0.001) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/NormalizingExcludeFactoryTest.groovy

            def operand29 = moduleId('quicksand', 'eyes')
            def operand30 = moduleId('crib', 'thumb')
            def operand31 = module('church')
            def operand32 = moduleId('needle', 'celery')
            def operand33 = moduleId('crib', 'competition')
            def operand34 = moduleId('metal', 'box')
            def operand35 = moduleId('root', 'industry')
            def operand36 = group('brother')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 17K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

      // CHECK-SAME: f = @add
      // CHECK-SAME: device = "noodle"
      %4 = "tf.Case"(%2, %arg0, %arg1) {branches = [@sub, @add], output_shapes = [#tf_type.shape<>], device = "noodle", is_stateless = false} : (tensor<i32>, tensor<f32>, tensor<f32>) -> tensor<f32>
      // CHECK: PartitionedCall
      // CHECK-SAME: f = @sub
      // CHECK-SAME: _cluster_launch = "not_ready"
      // CHECK-SAME: device = "noodle"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/networkfilter_test.go

    	cases := []struct {
    		name        string
    		idleTimeout string
    		expected    *durationpb.Duration
    	}{
    		{
    			"no idle timeout",
    			"",
    			nil,
    		},
    		{
    			"invalid timeout",
    			"invalid-30s",
    			nil,
    		},
    		{
    			"valid idle timeout 30s",
    			"30s",
    			durationpb.New(30 * time.Second),
    		},
    	}
    
    	services := []*model.Service{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top