Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 9,390 for boop (0.11 sec)

  1. pkg/controller/nodeipam/ipam/sync/sync_test.go

    		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) {
    			t.Errorf("%v, %v; fake.events = %#v, want %#v", tc.desc, tc.mode, tc.fake.events, tc.events)
    		}
    
    		var hasError bool
    		for _, r := range tc.fake.results {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. cmd/kube-controller-manager/app/certificates.go

    	// if only one is specified, it will error later during construction
    	return len(config.KubeletServingSignerConfiguration.CertFile) > 0 || len(config.KubeletServingSignerConfiguration.KeyFile) > 0
    }
    func areKubeletClientSignerFilesSpecified(config csrsigningconfig.CSRSigningControllerConfiguration) bool {
    	// if only one is specified, it will error later during construction
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 11:28:02 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  3. src/go/parser/testdata/resolution/resolution.src

    func _(count /* =@count */ T /* @T */) {
    	x /* =@x1 */ := c /* @cdecl */{}
    	switch x /* =@x2 */ := x /* @x1 */; x /* =@x3 */ := x /* @x2 */.(type) {
    	case c /* @cdecl */:
    	default:
    	}
    loop /* =@loop */:
    	for {
    		if true {
    			break loop /* @loop */
    		}
    	}
    	select {
    	case err /* =@err1 */ := <-_:
    		return err /* @err1 */
    	case err /* =@err2 */ := <-_:
    		return err /* @err2 */
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 16 21:19:23 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/loopclosure/loopclosure.go

    		(*ast.File)(nil),
    		(*ast.RangeStmt)(nil),
    		(*ast.ForStmt)(nil),
    	}
    	inspect.Nodes(nodeFilter, func(n ast.Node, push bool) bool {
    		if !push {
    			// inspect.Nodes is slightly suboptimal as we only use push=true.
    			return true
    		}
    		// Find the variables updated by the loop statement.
    		var vars []types.Object
    		addVar := func(expr ast.Expr) {
    			if id, _ := expr.(*ast.Ident); id != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. test/rangegen.go

    		p(b, "	l%ssel := 0\n", s)
    		p(b, "goto L%ssel; L%ssel: select { default: o.log(`L%ssel`)\n", s, s, s)
    		p(b, "	if l%ssel++; l%ssel >= 2 { o.log(`loop L%ssel`); return -1 }\n", s, s, s)
    		p(b, "	l%s := 0\n", s)
    		p(b, "goto L%s; L%s:	for %s i%s := range %s {\n", s, s, prefix, s, rangeExpr)
    		p(b, "	o.log1(`L%s top`, i%s)\n", s, s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 23:35:19 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/cel/escaping.go

    func newCharacterFilter(characters string) []bool {
    	maxChar := 0
    	for _, c := range characters {
    		if maxChar < int(c) {
    			maxChar = int(c)
    		}
    	}
    	filter := make([]bool, maxChar+1)
    
    	for _, c := range characters {
    		filter[int(c)] = true
    	}
    
    	return filter
    }
    
    type escapeCheck struct {
    	canSkipRegex     bool
    	invalidCharFound bool
    }
    
    // skipRegexCheck checks if escape would be skipped.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_server_journal_test.go

    		{query: url.Values{"boot": []string{""}}, want: nil},
    		{query: url.Values{"boot": []string{"0"}}, want: &nodeLogQuery{options: options{Boot: intPtr(0)}}},
    		{query: url.Values{"boot": []string{"-23"}}, want: &nodeLogQuery{options: options{Boot: intPtr(-23)}}},
    		{query: url.Values{"boot": []string{"foo"}}, wantErr: true},
    		{query: url.Values{"boot": []string{" "}}, wantErr: true},
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 10 22:27:44 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  8. pkg/kubelet/lifecycle/interfaces.go

    }
    
    // PodSyncLoopHandler is invoked during each sync loop iteration.
    type PodSyncLoopHandler interface {
    	// ShouldSync returns true if the pod needs to be synced.
    	// This operation must return immediately as its called for each pod.
    	// The provided pod should never be modified.
    	ShouldSync(pod *v1.Pod) bool
    }
    
    // PodSyncLoopTarget maintains a list of handlers to pod sync loop.
    type PodSyncLoopTarget interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 22 17:25:57 UTC 2017
    - 4K bytes
    - Viewed (0)
  9. tensorflow/cc/framework/gradients.cc

      // from outputs_. Keyed by node id.
      std::vector<bool> GetReachableNodes();
    
      // Creates the gradient subgraph for a while loop (or just stores
      // `summed_grads` if not all incoming gradients are available yet). All exit
      // nodes (which are the first nodes of a loop encountered in the backwards
      // pass) are passed to this function rather than processed normally.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 22K bytes
    - Viewed (0)
  10. src/internal/fuzz/minimize.go

    // license that can be found in the LICENSE file.
    
    package fuzz
    
    import (
    	"reflect"
    )
    
    func isMinimizable(t reflect.Type) bool {
    	return t == reflect.TypeOf("") || t == reflect.TypeOf([]byte(nil))
    }
    
    func minimizeBytes(v []byte, try func([]byte) bool, shouldStop func() bool) {
    	tmp := make([]byte, len(v))
    	// If minimization was successful at any point during minimizeBytes,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 07 21:15:51 UTC 2021
    - 2.3K bytes
    - Viewed (0)
Back to top