- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 93 for timeEnd (0.25 sec)
-
pkg/scheduler/schedule_one.go
// We need to call DonePod here because we don't call AddUnschedulableIfNotPresent in this case. } else { // In the case of extender, the pod may have been bound successfully, but timed out returning its response to the scheduler. // It could result in the live version to carry .spec.nodeName, and that's inconsistent with the internal-queued version. if len(cachedPod.Spec.NodeName) != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 13:28:08 UTC 2024 - 43.4K bytes - Viewed (0) -
pkg/controller/disruption/disruption_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 50K bytes - Viewed (0) -
src/runtime/export_test.go
if released == 0 { s.scavenger.park() continue } s.released.Add(released) s.scavenger.sleep(workTime) } }() if !s.BlockUntilParked(1e9 /* 1 second */) { panic("timed out waiting for scavenger to get ready") } } // BlockUntilParked blocks until the scavenger parks, or until // timeout is exceeded. Returns true if the scavenger parked. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:50:53 UTC 2024 - 46.1K bytes - Viewed (0) -
src/crypto/tls/handshake_server_test.go
case connOrError := <-connChan: if err, ok := connOrError.(error); ok { return nil, nil, err } tcpConn = connOrError.(net.Conn) case <-time.After(2 * time.Second): return nil, nil, errors.New("timed out waiting for connection from child process") } record := &recordingConn{ Conn: tcpConn, } return record, cmd, nil } func (test *serverTest) dataPath() string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 64.7K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/manager_test.go
as.Nil(err) runContainerOpts, err := testManager.GetDeviceRunContainerOptions(pod, &pod.Spec.Containers[0]) as.Nil(err) var initializedDevs []string select { case <-time.After(time.Second): t.Fatalf("Timed out while waiting on channel for response from PreStartContainer RPC stub") case initializedDevs = <-ch: break } as.Contains(initializedDevs, "dev1") as.Contains(initializedDevs, "dev2")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 65K bytes - Viewed (0) -
src/time/time.go
// monotonic clock reading. // // For example, this code always computes a positive elapsed time of // approximately 20 milliseconds, even if the wall clock is changed during // the operation being timed: // // start := time.Now() // ... operation that takes 20 milliseconds ... // t := time.Now() // elapsed := t.Sub(start) // // Other idioms, such as [time.Since](start), [time.Until](deadline), and
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 50.7K bytes - Viewed (0) -
src/runtime/pprof/pprof_test.go
if deadline, ok := t.Deadline(); ok { if d := time.Until(deadline); d > 1*time.Second { timer := time.AfterFunc(d-1*time.Second, func() { debug.SetTraceback("all") panic(fmt.Sprintf("timed out waiting for %#q", re)) }) defer timer.Stop() } } buf := make([]byte, 64<<10) for { runtime.Gosched() n := runtime.Stack(buf, true) if n == len(buf) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 68.8K bytes - Viewed (0) -
pkg/kubelet/kubelet_node_status_test.go
done := make(chan struct{}) go func() { kubelet.registerWithAPIServer() done <- struct{}{} }() select { case <-time.After(wait.ForeverTestTimeout): assert.Fail(t, "timed out waiting for registration") case <-done: return } } func TestTryRegisterWithApiServer(t *testing.T) { alreadyExists := &apierrors.StatusError{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 08 19:23:19 UTC 2024 - 115.8K bytes - Viewed (0) -
src/cmd/go/internal/test/test.go
// overhead, and scale it up from there proportional to the overall test // timeout on the assumption that the time to write and read a goroutine // dump from a timed-out test process scales roughly with the overall // running time of the test. // // This is probably too generous when the timeout is very long, but it seems
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 71.9K bytes - Viewed (0) -
src/net/http/transport.go
panic("net/http: internal error: connCount underflow") } // Can we hand this count to a goroutine still waiting to dial? // (Some goroutines on the wait list may have timed out or // gotten a connection another way. If they're all gone, // we don't want to kick off any spurious dial operations.) if q := t.connsPerHostWait[key]; q.len() > 0 { done := false for q.len() > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 91K bytes - Viewed (0)