Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for npidle (0.25 sec)

  1. cmd/metrics-resource.go

    	interfaceTxErrors MetricName = "tx_errors"
    
    	// cpu stats
    	cpuUser       MetricName = "user"
    	cpuSystem     MetricName = "system"
    	cpuIOWait     MetricName = "iowait"
    	cpuIdle       MetricName = "idle"
    	cpuNice       MetricName = "nice"
    	cpuSteal      MetricName = "steal"
    	cpuLoad1      MetricName = "load1"
    	cpuLoad5      MetricName = "load5"
    	cpuLoad15     MetricName = "load15"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 15:15:13 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. src/runtime/string_test.go

    	// See issue 25864.
    	haystack := []byte("hello")
    	needle := "ll"
    	n := testing.AllocsPerRun(1000, func() {
    		if strings.Index(string(haystack), needle) != 2 {
    			t.Fatalf("needle not found")
    		}
    	})
    	if n != 0 {
    		t.Fatalf("want 0 allocs, got %v", n)
    	}
    }
    
    func TestStringIndexNeedle(t *testing.T) {
    	// See issue 25864.
    	haystack := "hello"
    	needle := []byte("ll")
    	n := testing.AllocsPerRun(1000, func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 13 14:05:23 UTC 2022
    - 13.3K bytes
    - Viewed (0)
  3. src/runtime/crash_test.go

    	}
    	t.Logf("stderr output:\n%s", errOut.String())
    	needle := "yzzyx\n"
    	if n := strings.Count(errOut.String(), needle); n != 1 {
    		t.Fatalf("did not find expected panic message %q\n(exit status %v)", needle, err)
    	}
    }
    
    // Test that panic message is not clobbered.
    // See issue 30150.
    func TestDoublePanic(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 27K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/runtime/mstats.go

    	GCIdleTime      int64 // GC idle mark workers
    	GCPauseTime     int64 // GC pauses (all GOMAXPROCS, even if just 1 is running)
    	GCTotalTime     int64
    
    	ScavengeAssistTime int64 // background scavenger
    	ScavengeBgTime     int64 // scavenge assists
    	ScavengeTotalTime  int64
    
    	IdleTime int64 // Time Ps spent in _Pidle.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
Back to top