Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 127 for 1000ms (0.12 sec)

  1. pkg/util/async/bounded_frequency_runner_test.go

    	// Advance and do the deferred run
    	timer.advance(1 * time.Millisecond) // abs=2000ms, rel=1000ms
    	waitForRun("fourth run", t, timer, obj)
    
    	// Run again, once burst has fully replenished.
    	timer.advance(2 * time.Second) // abs=4000ms, rel=2000ms
    	runner.Run()
    	waitForRun("fifth run", t, timer, obj)
    	runner.Run()
    	waitForRun("sixth run", t, timer, obj)
    	runner.Run()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 15 09:36:26 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  2. src/runtime/testdata/testprog/gc.go

    	// them rapidly.
    	//
    	// OpenBSD's scheduler makes every usleep() take at least
    	// 20ms, so we need a long time to ensure all goroutines have
    	// run. If they haven't run after 30ms, give it another 1000ms
    	// and check again.
    	time.Sleep(30 * time.Millisecond)
    	var fail bool
    	for i := range count {
    		if atomic.LoadInt64(&count[i]) == 0 {
    			fail = true
    		}
    	}
    	if fail {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  3. plugin/pkg/auth/authorizer/node/node_authorizer_test.go

    		atomic.StoreInt32(&shouldWrite, 0)
    		if testWriteContention {
    			b.Logf("graph modifications during contention test: %d", writes)
    			b.Logf("<1ms=%d, <10ms=%d, <25ms=%d, <50ms=%d, <100ms=%d, <250ms=%d, <500ms=%d, <1000ms=%d, >1000ms=%d", _1ms, _10ms, _25ms, _50ms, _100ms, _250ms, _500ms, _1000ms, _1s)
    		} else {
    			b.Logf("graph modifications during non-contention test: %d", writes)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        server.webSocket!!.close(1000, "Hello!")
        client.processNextFrame()
        client.listener.assertClosing(1000, "Hello!")
        assertThat(client.webSocket!!.close(1000, "Bye!")).isTrue()
        client.webSocket!!.finishReader()
        taskFaker.runTasks()
        client.listener.assertClosed(1000, "Hello!")
        server.processNextFrame()
        server.listener.assertClosing(1000, "Bye!")
        server.webSocket!!.finishReader()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    	// The etcd server waits until it cannot find a leader for 3 election
    	// timeouts to cancel existing streams. 3 is currently a hard coded
    	// constant. The election timeout defaults to 1000ms. If the cluster is
    	// healthy, when the leader is stopped, the leadership transfer should be
    	// smooth. (leader transfers its leadership before stopping). If leader is
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperHttpIntegrationTest.groovy

            def failure = wrapperExecuter.runWithFailure()
    
            then:
            failure.assertHasErrorOutput("Downloading from ${getDefaultBaseUrl()}/$TEST_DISTRIBUTION_URL failed: timeout (10000ms)")
            failure.assertHasErrorOutput('Read timed out')
        }
    
        @Issue('https://github.com/gradle/gradle-private/issues/3032')
        def "does not leak credentials when download times out"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/helpers_linux_test.go

    			quota:    int64(5000),
    			period:   int64(100000),
    			expected: int64(50),
    		},
    		{
    			name:     "750m",
    			quota:    int64(75000),
    			period:   int64(100000),
    			expected: int64(750),
    		},
    		{
    			name:     "1000m",
    			quota:    int64(100000),
    			period:   int64(100000),
    			expected: int64(1000),
    		},
    		{
    			name:     "1500m",
    			quota:    int64(150000),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. operator/pkg/translate/translate_value_test.go

        resources:
          requests:
            cpu: 1000m
            memory: 1G
        enabled: true
    `,
    			want: `
    hub: docker.io/istio
    tag: 1.2.3
    components:
      pilot:
        enabled: true
      ingressGateways:
      - name: istio-ingressgateway
        enabled: true
        k8s:
          resources:
            requests:
              cpu: 1000m
              memory: 1G
          strategy:
            rollingUpdate:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 06 02:56:54 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/imagelocality/image_locality_test.go

    			// Node1
    			// Image: gcr.io/40:latest 40MB, gcr.io/300:latest 300MB, gcr.io/2000:latest 2000MB
    			// Score: 100 * (300M * 1/2 - 23M) / (1000M * 2 - 23M) = 6
    
    			// Node2
    			// Image: gcr.io/20:latest 20MB, gcr.io/30:latest 30MB, gcr.io/40:latest 40MB
    			// Score: 100 * (30M * 1/2  - 23M) / (1000M * 2 - 23M) = 0
    			pod:          &v1.Pod{Spec: test30Init300},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 06:17:57 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/noderesources/most_allocated_test.go

    				Req(map[v1.ResourceName]string{"cpu": "1000", "memory": "2000"}).
    				Req(map[v1.ResourceName]string{"cpu": "2000", "memory": "3000"}).
    				Obj(),
    			nodes: []*v1.Node{
    				st.MakeNode().Name("node1").Capacity(map[v1.ResourceName]string{"cpu": "4000", "memory": "10000"}).Obj(),
    				st.MakeNode().Name("node2").Capacity(map[v1.ResourceName]string{"cpu": "6000", "memory": "10000"}).Obj(),
    			},
    			existingPods:   nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 16K bytes
    - Viewed (0)
Back to top