Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,363 for aloop (0.04 sec)

  1. pkg/kubelet/pluginmanager/operationexecutor/operation_executor_test.go

    func isOperationRunSerially(ch <-chan interface{}, quit chan<- interface{}) bool {
    	defer close(quit)
    	numOperationsStarted := 0
    loop:
    	for {
    		select {
    		case <-ch:
    			numOperationsStarted++
    			if numOperationsStarted > 1 {
    				return false
    			}
    		case <-time.After(5 * time.Second):
    			break loop
    		}
    	}
    	return true
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/range.go

    		// or the other of hp and hu as the loop proceeds.
    		//
    		// hp is live during most of the body of the loop. But it isn't live
    		// at the very top of the loop, when we haven't checked i<n yet, and
    		// it could point off the end of the backing store.
    		// hu is live only at the very top and very bottom of the loop.
    		// In particular, only when it cannot possibly be live across a call.
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:33 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue9400/asm_arm.s

    	// Ask signaller to setgid
    	MOVW	$·Baton(SB), R2
    storeloop:
    	MOVW	0(R2), R0
    	MOVW	$1, R1
    	BL	cas<>(SB)
    	BCC	storeloop
    
    	// Wait for setgid completion
    loop:
    	MOVW	$0, R0
    	MOVW	$0, R1
    	BL	cas<>(SB)
    	BCC	loop
    
    	// Restore stack
    	SUB	$(1024 * 8), R13
    
    	MOVW	R4, R14
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 758 bytes
    - Viewed (0)
  4. doc/next/2-language.md

    The "range" clause in a "for-range" loop now accepts iterator functions of the following types
    
    	func(func() bool)
    	func(func(K) bool)
    	func(func(K, V) bool)
    
    as range expressions.
    Calls of the iterator argument function produce the iteration values for the "for-range" loop.
    For details see the [language spec](/ref/spec#For_statements).
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 19:56:43 UTC 2024
    - 757 bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/loopbce.go

    // findIndVar finds induction variables in a function.
    //
    // Look for variables and blocks that satisfy the following
    //
    //	 loop:
    //	   ind = (Phi min nxt),
    //	   if ind < max
    //	     then goto enter_loop
    //	     else goto exit_loop
    //
    //	   enter_loop:
    //		do something
    //	      nxt = inc + ind
    //		goto loop
    //
    //	 exit_loop:
    func findIndVar(f *Func) []indVar {
    	var iv []indVar
    	sdom := f.Sdom()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 17:37:47 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  6. pkg/util/async/bounded_frequency_runner.go

    	}
    	return bfr
    }
    
    // Loop handles the periodic timer and run requests.  This is expected to be
    // called as a goroutine.
    func (bfr *BoundedFrequencyRunner) Loop(stop <-chan struct{}) {
    	klog.V(3).Infof("%s Loop running", bfr.name)
    	bfr.timer.Reset(bfr.maxInterval)
    	for {
    		select {
    		case <-stop:
    			bfr.stop()
    			klog.V(3).Infof("%s Loop stopping", bfr.name)
    			return
    		case <-bfr.timer.C():
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 15 09:36:26 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  7. pkg/controller/nodeipam/ipam/sync/sync_test.go

    		cidr, _ := cidrset.NewCIDRSet(clusterCIDRRange, 24)
    		tc.fake.logger = logger
    		sync := New(&tc.fake, &tc.fake, &tc.fake, tc.mode, "node1", cidr)
    		doneChan := make(chan struct{})
    
    		// Do a single step of the loop.
    		go sync.Loop(logger, doneChan)
    		sync.Update(tc.node)
    		close(sync.opChan)
    		<-doneChan
    		tc.fake.dumpTrace()
    
    		if !reflect.DeepEqual(tc.fake.events, tc.events) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/x86/pcrelative_test.go

    			// check that RET wasn't overwritten.
    			if bytes.Contains(data[idx], []byte("RET")) {
    				if testing.Short() {
    					break LOOP
    				}
    				continue LOOP
    			}
    		}
    		t.Errorf("VMOVUPS zeros<>(SB), %s overwrote RET", reg)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 23:16:01 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/copyelim.go

    // ultimate source of v.  v must be a copy op.
    func copySource(v *Value) *Value {
    	w := v.Args[0]
    
    	// This loop is just:
    	// for w.Op == OpCopy {
    	//     w = w.Args[0]
    	// }
    	// but we take some extra care to make sure we
    	// don't get stuck in an infinite loop.
    	// Infinite copy loops may happen in unreachable code.
    	// (TODO: or can they? Needs a test.)
    	slow := w
    	var advance bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. cluster/addons/dns/nodelocaldns/nodelocaldns.yaml

            }
            reload
            loop
            bind __PILLAR__LOCAL__DNS__ __PILLAR__DNS__SERVER__
            forward . __PILLAR__CLUSTER__DNS__ {
                    force_tcp
            }
            prometheus :9253
            health __PILLAR__LOCAL__DNS__:8080
            }
        in-addr.arpa:53 {
            errors
            cache 30
            reload
            loop
            bind __PILLAR__LOCAL__DNS__ __PILLAR__DNS__SERVER__
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 03:19:02 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top