Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 66 for Cur (0.02 sec)

  1. src/runtime/traceback_test.go

    	var tbs []*traceback
    	var cur *traceback
    	tbLen := len(tb)
    	for len(tb) > 0 {
    		var line string
    		off = tbLen - len(tb)
    		line, tb, _ = strings.Cut(tb, "\n")
    		lineNo++
    		switch {
    		case strings.HasPrefix(line, "goroutine "):
    			cur = &traceback{}
    			tbs = append(tbs, cur)
    		case line == "":
    			// Separator between goroutines
    			cur = nil
    		case line[0] == '\t':
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 22.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/rsc.io/markdown/inline.go

    func longestSequence(s string, b byte) int {
    	max := 0
    	cur := 0
    	for i := range s {
    		if s[i] == b {
    			cur++
    		} else {
    			if cur > max {
    				max = cur
    			}
    			cur = 0
    		}
    	}
    	if cur > max {
    		max = cur
    	}
    	return max
    }
    
    func (x *Code) PrintText(buf *bytes.Buffer) {
    	htmlEscaper.WriteString(buf, x.Text)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  3. pilot/pkg/model/typed_xds_cache.go

    		// after we call Clear or ClearAll.
    		return
    	}
    	cur, f := l.store.Get(k)
    	if f {
    		// This is the stale or same resource
    		if token <= cur.token {
    			return
    		}
    		if l.enableAssertions {
    			l.assertUnchanged(k, cur.value, value)
    		}
    	}
    
    	dependentConfigs := entry.DependentConfigs()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. tools/docker-builder/types.go

    		// This legacy env var was to workaround the old build logic not being very smart
    		// In the new builder, we automagically detect this. So just insert the 'default' variant
    		cur := sets.New(variants...)
    		cur.Insert(DefaultVariant)
    		variants = sets.SortedList(cur)
    	}
    
    	arch := []string{"linux/amd64"}
    	if legacy, f := os.LookupEnv("DOCKER_ARCHITECTURES"); f {
    		arch = strings.Split(legacy, ",")
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 26 13:23:41 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/poset.go

    	path := newBitset(int(po.lastidx + 1))
    	path.Set(dst)
    	po.findpaths1(cur, dst, seen, path)
    	return path
    }
    
    func (po *poset) findpaths1(cur, dst uint32, seen bitset, path bitset) {
    	if cur == dst {
    		return
    	}
    	seen.Set(cur)
    	l, r := po.chl(cur), po.chr(cur)
    	if !seen.Test(l) {
    		po.findpaths1(l, dst, seen, path)
    	}
    	if !seen.Test(r) {
    		po.findpaths1(r, dst, seen, path)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 17:23:05 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  6. pilot/pkg/leaderelection/leaderelection_test.go

    		})
    	}
    }
    
    func alreadyHit(cur instance, chain []instance) bool {
    	for _, cc := range chain {
    		if cur == cc {
    			return true
    		}
    	}
    	return false
    }
    
    func checkCycles(t *testing.T, start instance, cases []instance, chain []instance) {
    	if alreadyHit(start, chain) {
    		t.Fatalf("cycle on leader election: cur %v, chain %v", start, chain)
    	}
    	for _, nextHop := range cases {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. pkg/controller/endpointslice/endpointslice_controller.go

    		),
    		workerLoopPeriod: time.Second,
    	}
    
    	serviceInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{
    		AddFunc: c.onServiceUpdate,
    		UpdateFunc: func(old, cur interface{}) {
    			c.onServiceUpdate(cur)
    		},
    		DeleteFunc: c.onServiceDelete,
    	})
    	c.serviceLister = serviceInformer.Lister()
    	c.servicesSynced = serviceInformer.Informer().HasSynced
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  8. pkg/controller/statefulset/stateful_set.go

    			UpdateFunc: func(old, cur interface{}) {
    				oldPS := old.(*apps.StatefulSet)
    				curPS := cur.(*apps.StatefulSet)
    				if oldPS.Status.Replicas != curPS.Status.Replicas {
    					logger.V(4).Info("Observed updated replica count for StatefulSet", "statefulSet", klog.KObj(curPS), "oldReplicas", oldPS.Status.Replicas, "newReplicas", curPS.Status.Replicas)
    				}
    				ssc.enqueueStatefulSet(cur)
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/gateway/deploymentcontroller.go

    		return cur, false, false
    	}
    	if curNum > ControllerVersion {
    		// A newer version owns this gateway, let them handle it
    		return cur, false, false
    	}
    	if curNum == ControllerVersion {
    		// We already manage this at this version
    		// We will manage it, but no need to attempt to apply the version annotation, which could race with newer versions
    		return cur, false, true
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  10. pkg/collateral/control.go

    			COMPREPLY[$i]=${COMPREPLY[$i]#"$colon_word"}
    		done
    	fi
    }
    __istio_get_comp_words_by_ref() {
    	cur="${COMP_WORDS[COMP_CWORD]}"
    	prev="${COMP_WORDS[${COMP_CWORD}-1]}"
    	words=("${COMP_WORDS[@]}")
    	cword=("${COMP_CWORD[@]}")
    }
    __istio_filedir() {
    	local RET OLD_IFS w qw
    	__istio_debug "_filedir $@ cur=$cur"
    	if [[ "$1" = \~* ]]; then
    		# somehow does not work. Maybe, zsh does not call this at all
    		eval echo "$1"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 03:51:36 UTC 2024
    - 17.8K bytes
    - Viewed (0)
Back to top