Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 100 for timeEnd (0.33 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      //     }
    
      public static long SHORT_DELAY_MS;
      public static long SMALL_DELAY_MS;
      public static long MEDIUM_DELAY_MS;
      public static long LONG_DELAY_MS;
    
      /**
       * Returns the shortest timed delay. This could be reimplemented to use for example a Property.
       */
      protected long getShortDelay() {
        return 50;
      }
    
      /** Sets delays as multiples of SHORT_DELAY. */
      protected void setDelays() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  2. 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)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_discovery_controller.go

    	defer c.queue.ShutDown()
    	defer klog.Info("Shutting down DiscoveryController")
    
    	klog.Info("Starting DiscoveryController")
    
    	if !cache.WaitForCacheSync(stopCh, c.crdsSynced) {
    		utilruntime.HandleError(fmt.Errorf("timed out waiting for caches to sync"))
    		return
    	}
    
    	// initially sync all group versions to make sure we serve complete discovery
    	if err := wait.PollImmediateUntil(time.Second, func() (bool, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 21 11:40:03 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. pkg/proxy/config/config_test.go

    				return
    			}
    		// Unittests will hard timeout in 5m with a stack trace, prevent that
    		// and surface a clearer reason for failure.
    		case <-time.After(wait.ForeverTestTimeout):
    			t.Errorf("Timed out. Expected %#v, Got %#v", expectedServices, services)
    			return
    		}
    	}
    }
    
    type sortedEndpointSlices []*discoveryv1.EndpointSlice
    
    func (s sortedEndpointSlices) Len() int {
    	return len(s)
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

       * the request completes normally or when it fails due to an exception, in which case [e] should
       * be non-null.
       *
       * If the exchange was canceled or timed out, this will wrap [e] in an exception that provides
       * that additional context. Otherwise [e] is returned as-is.
       */
      internal fun <E : IOException?> messageDone(
        exchange: Exchange,
        requestDone: Boolean,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top