Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for timeEnd (0.1 sec)

  1. pkg/kubelet/pluginmanager/plugin_manager_test.go

    				return true, nil
    			}
    			t.Logf("expected %#v, got %#v, will retry", expected, fakePluginHandler.events)
    			return false, nil
    		},
    	)
    	if err != nil {
    		t.Fatalf("Timed out waiting for plugin to be added to actual state of world cache.")
    	}
    }
    
    func retryWithExponentialBackOff(initialDuration time.Duration, fn wait.ConditionFunc) error {
    	backoff := wait.Backoff{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/AbstractDaemonLifecycleSpec.groovy

                                    System.exit(1)
                                }
                                if (System.currentTimeMillis() > sanityCheck) {
                                    println "timed out waiting for stop file, failing"
                                    throw new RuntimeException("It seems the stop file was never created")
                                }
                            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:32:55 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. pkg/util/filesystem/util_windows.go

    				"filePath", filePath, "err", lastSocketErr, "socketDialRetryPeriod",
    				socketDialRetryPeriod)
    			return false, nil
    		})
    
    	// PollImmediate will return "timed out waiting for the condition" if the function it
    	// invokes never returns true
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 17:13:59 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. src/internal/trace/batchcursor.go

    // into e. It does not try to interpret the arguments
    // but it does validate that the event is a regular
    // event with a timestamp (vs. a structural event).
    //
    // It requires that the event its reading be timed, which must
    // be the case for every event in a plain EventBatch.
    func readTimedBaseEvent(b []byte, e *baseEvent) (int, timestamp, error) {
    	// Get the event type.
    	typ := event.Type(b[0])
    	specs := go122.Specs()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/runtime/netpoll_kqueue.go

    		// see https://go.dev/issue/59679 for details.
    		if n != -_EINTR && n != -_ETIMEDOUT {
    			println("runtime: kevent on fd", kq, "failed with", -n)
    			throw("runtime: netpoll failed")
    		}
    		// If a timed sleep was interrupted, just return to
    		// recalculate how long we should sleep now.
    		if delay > 0 {
    			return gList{}, 0
    		}
    		goto retry
    	}
    	var toRun gList
    	delta := int32(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/dra/plugin/plugin.go

    		return nil, err
    	}
    
    	ctx, cancel := context.WithTimeout(context.Background(), time.Second)
    	defer cancel()
    
    	if ok := conn.WaitForStateChange(ctx, connectivity.Connecting); !ok {
    		return nil, errors.New("timed out waiting for gRPC connection to be ready")
    	}
    
    	p.conn = conn
    	return p.conn, nil
    }
    
    // RegistrationHandler is the handler which is fed to the pluginwatcher API.
    type RegistrationHandler struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 16:27:05 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapiv3/controller.go

    	klog.Infof("Starting OpenAPI V3 controller")
    
    	c.openAPIV3Service = openAPIV3Service
    
    	if !cache.WaitForCacheSync(stopCh, c.crdsSynced) {
    		utilruntime.HandleError(fmt.Errorf("timed out waiting for caches to sync"))
    		return
    	}
    
    	crds, err := c.crdLister.List(labels.Everything())
    	if err != nil {
    		utilruntime.HandleError(fmt.Errorf("failed to initially list all CRDs: %v", err))
    		return
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. src/internal/trace/base.go

    // has 5 arguments and needs to smuggle in a 6th. Figure out a way to
    // shrink this in the future.
    const maxArgs = 6
    
    // timedEventArgs is an array that is able to hold the arguments for any
    // timed event.
    type timedEventArgs [maxArgs - 1]uint64
    
    // baseEvent is the basic unprocessed event. This serves as a common
    // fundamental data structure across.
    type baseEvent struct {
    	typ  event.Type
    	time Time
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. pilot/pkg/xds/pushqueue_test.go

    		result <- con
    	}()
    	select {
    	case got := <-result:
    		if got != expected {
    			t.Fatalf("Expected proxy %v, got %v", expected, got)
    		}
    	case <-time.After(time.Millisecond * 500):
    		t.Fatalf("Timed out")
    	}
    }
    
    func TestProxyQueue(t *testing.T) {
    	proxies := make([]*Connection, 0, 100)
    	for p := 0; p < 100; p++ {
    		conn := newConnection("", nil)
    		conn.SetID(fmt.Sprintf("proxy-%d", p))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/controller.go

    	klog.Infof("Starting OpenAPI controller")
    
    	c.staticSpec = staticSpec
    	c.openAPIService = openAPIService
    
    	if !cache.WaitForCacheSync(stopCh, c.crdsSynced) {
    		utilruntime.HandleError(fmt.Errorf("timed out waiting for caches to sync"))
    		return
    	}
    
    	// create initial spec to avoid merging once per CRD on startup
    	crds, err := c.crdLister.List(labels.Everything())
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top