Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 9,390 for boop (0.05 sec)

  1. src/cmd/compile/internal/types2/return.go

    		}
    	}
    
    	return false
    }
    
    func hasBreakList(list []syntax.Stmt, label string, implicit bool) bool {
    	for _, s := range list {
    		if hasBreak(s, label, implicit) {
    			return true
    		}
    	}
    	return false
    }
    
    func hasBreakCaseList(list []*syntax.CaseClause, label string, implicit bool) bool {
    	for _, s := range list {
    		if hasBreakList(s.Body, label, implicit) {
    			return true
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. src/reflect/iter_test.go

    				}
    				i++
    			}
    			if i != 4 {
    				t.Fatalf("should loop four times")
    			}
    		}},
    		{"int8", ValueOf(int8(4)), func(t *testing.T, s iter.Seq[Value]) {
    			i := int8(0)
    			for v := range s {
    				if v.Interface().(int8) != i {
    					t.Fatalf("got %d, want %d", v.Int(), i)
    				}
    				i++
    			}
    			if i != 4 {
    				t.Fatalf("should loop four times")
    			}
    		}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 14:27:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/conversion/queryparams/convert_test.go

    			t.Errorf("Unexpected error while converting %#v: %v", test.input, err)
    		}
    		validateResult(t, test.input, result, test.expected)
    	}
    }
    
    func intp(n int) *int { return &n }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 03 07:01:02 UTC 2018
    - 6.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/fuse_test.go

    		Bloc("else",
    			Valu("call2", OpStaticCall, types.TypeMem, 0, AuxCallLSym("_"), "mem"),
    			Goto("empty")),
    		Bloc("empty",
    			Goto("loop")),
    		Bloc("loop",
    			Goto("loop")))
    
    	CheckFunc(fun.f)
    	fuseLate(fun.f)
    
    	for _, b := range fun.f.Blocks {
    		if b == fun.blocks["then"] && b.Kind == BlockInvalid {
    			t.Errorf("then is eliminated, but should not")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  5. pkg/controller/volume/attachdetach/config/types.go

    	// Reconciler runs a periodic loop to reconcile the desired state of the with
    	// the actual state of the world by triggering attach detach operations.
    	// This flag enables or disables reconcile.  Is false by default, and thus enabled.
    	DisableAttachDetachReconcilerSync bool
    	// ReconcilerSyncLoopPeriod is the amount of time the reconciler sync states loop
    	// wait between successive executions. Is set to 60 sec by default.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 18:31:52 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. test/fixedbugs/issue63955.go

    package j
    
    func f(try func() int, shouldInc func() bool, N func(int) int) {
    	var n int
    loop: // we want to have 3 preds here, the function entry and both gotos
    	if v := try(); v == 42 || v == 1337 { // the two || are to trick findIndVar
    		if n < 30 { // this aims to be the matched block
    			if shouldInc() {
    				n++
    				goto loop
    			}
    			n = N(n) // try to prevent some block joining
    			goto loop
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 17:37:47 UTC 2023
    - 578 bytes
    - Viewed (0)
  7. src/runtime/race/testdata/sync_test.go

    	x = 2
    }
    
    func TestRaceCond(t *testing.T) {
    	done := make(chan bool)
    	var mu sync.Mutex
    	cond := sync.NewCond(&mu)
    	x := 0
    	_ = x
    	condition := 0
    	go func() {
    		time.Sleep(10 * time.Millisecond) // Enter cond.Wait loop
    		x = 1
    		mu.Lock()
    		condition = 1
    		cond.Signal()
    		mu.Unlock()
    		time.Sleep(10 * time.Millisecond) // Exit cond.Wait loop
    		mu.Lock()
    		x = 3
    		mu.Unlock()
    		done <- true
    	}()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 10 15:05:17 UTC 2020
    - 3K bytes
    - Viewed (0)
  8. 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)
  9. tensorflow/compiler/jit/deadness_analysis_test.cc

                  "{#true,&,*iv0/cond:0}<loop>");
        EXPECT_EQ(predicate_map[ControlOutputFor(dependent_iv0)],
                  "{#true,&,(iv0/iv:0 & *iv0/cond:0)}<loop>");
        EXPECT_EQ(predicate_map[ControlOutputFor(dependent_iv1)],
                  "{#true,&,(iv0/iv:0 & *iv0/cond:0)}<loop>");
        EXPECT_EQ(predicate_map[ControlOutputFor(add0)],
                  "{#true,&,(iv0/iv:0 & *iv0/cond:0)}<loop>");
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  10. pkg/windows/service/service.go

    	s <- svc.Status{State: svc.StartPending, Accepts: 0}
    	// Unblock initService()
    	h.fromsvc <- nil
    
    	s <- svc.Status{State: svc.Running, Accepts: svc.AcceptStop | svc.AcceptShutdown | svc.Accepted(windows.SERVICE_ACCEPT_PARAMCHANGE)}
    	klog.Infof("Service running")
    Loop:
    	for {
    		select {
    		case <-h.tosvc:
    			break Loop
    		case c := <-r:
    			switch c.Cmd {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 24 11:25:33 UTC 2022
    - 3.3K bytes
    - Viewed (0)
Back to top