Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 676 for aloop (0.07 sec)

  1. src/cmd/go/internal/modload/import.go

    				return err == nil && !fi.IsDir()
    			})
    
    			if haveGoMod {
    				return "", false, nil
    			}
    			parent := filepath.Dir(d)
    			if parent == d {
    				// Break the loop, as otherwise we'd loop
    				// forever if d=="." and mdir=="".
    				break
    			}
    			d = parent
    		}
    	}
    
    	// Now committed to returning dir (not "").
    
    	// Are there Go source files in the directory?
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  2. cmd/kube-controller-manager/app/controllermanager.go

    		Long: `The Kubernetes controller manager is a daemon that embeds
    the core control loops shipped with Kubernetes. In applications of robotics and
    automation, a control loop is a non-terminating loop that regulates the state of
    the system. In Kubernetes, a controller is a control loop that watches the shared
    state of the cluster through the apiserver and makes changes attempting to move the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:53 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  3. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator.go

    }
    
    // NewDesiredStateOfWorldPopulator returns a new instance of
    // DesiredStateOfWorldPopulator.
    //
    // kubeClient - used to fetch PV and PVC objects from the API server
    // loopSleepDuration - the amount of time the populator loop sleeps between
    // successive executions
    //
    // podManager - the kubelet podManager that is the source of truth for the pods
    // that exist on this host
    //
    // desiredStateOfWorld - the cache to populate
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/lex/input.go

    		// Macro has arguments. Scan list of formals.
    		acceptArg := true
    		args = []string{} // Zero length but not nil.
    	Loop:
    		for {
    			tok = in.Stack.Next()
    			switch tok {
    			case ')':
    				tok = in.Stack.Next() // First token of macro definition.
    				break Loop
    			case ',':
    				if acceptArg {
    					in.Error("bad syntax in definition for macro:", name)
    				}
    				acceptArg = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AggregateFuture.java

          // Note that if all the futures on the list are done prior to completing this loop, the last
          // call to addListener() will callback to setOneValue(), transitively call our cleanup
          // listener, and set this.futures to null.
          // This is not actually a problem, since the foreach only needs this.futures to be non-null
          // at the beginning of the loop.
          int i = 0;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. src/sort/zsortfunc.go

    	// if data[a:m] only contains one element.
    	if m-a == 1 {
    		// Use binary search to find the lowest index i
    		// such that data[i] >= data[a] for m <= i < b.
    		// Exit the search loop with i == b in case no such index exists.
    		i := m
    		j := b
    		for i < j {
    			h := int(uint(i+j) >> 1)
    			if data.Less(h, a) {
    				i = h + 1
    			} else {
    				j = h
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 13 20:16:24 UTC 2022
    - 11.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/wait/loop_test.go

    		t.Fatalf("should still be waiting for condition")
    	}
    	fakeClock.Step(2 * time.Millisecond)
    
    	select {
    	case <-doneCh:
    	case <-time.After(time.Second):
    		t.Fatalf("should have exited after a single loop")
    	}
    	if attempt != 1 {
    		t.Fatalf("expected attempt")
    	}
    }
    
    func Test_loopConditionUntilContext_semantic(t *testing.T) {
    	defaultCallback := func(_ int) (bool, error) {
    		return false, nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 19 02:48:08 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/etcd3.go

    }
    
    func newETCD3Check(c storagebackend.Config, timeout time.Duration, stopCh <-chan struct{}) (func() error, error) {
    	// constructing the etcd v3 client blocks and times out if etcd is not available.
    	// retry in a loop in the background until we successfully create the client, storing the client or error encountered
    
    	lock := sync.RWMutex{}
    	var prober *etcd3ProberMonitor
    	clientErr := fmt.Errorf("etcd client connection not yet established")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 07:56:39 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  9. src/cmd/doc/main.go

    	telemetry.CountFlags("doc/flag:", *flag.CommandLine)
    	if chdir != "" {
    		if err := os.Chdir(chdir); err != nil {
    			return err
    		}
    	}
    	var paths []string
    	var symbol, method string
    	// Loop until something is printed.
    	dirs.Reset()
    	for i := 0; ; i++ {
    		buildPackage, userPath, sym, more := parseArgs(flagSet.Args())
    		if i > 0 && !more { // Ignore the "more" bit on the first iteration.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. src/sort/zsortinterface.go

    	// if data[a:m] only contains one element.
    	if m-a == 1 {
    		// Use binary search to find the lowest index i
    		// such that data[i] >= data[a] for m <= i < b.
    		// Exit the search loop with i == b in case no such index exists.
    		i := m
    		j := b
    		for i < j {
    			h := int(uint(i+j) >> 1)
    			if data.Less(h, a) {
    				i = h + 1
    			} else {
    				j = h
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 13 20:16:24 UTC 2022
    - 11.2K bytes
    - Viewed (0)
Back to top