Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Lbl (0.02 sec)

  1. src/go/types/labels.go

    	}
    
    	// spec: "It is illegal to define a label that is never used."
    	for name, obj := range all.elems {
    		obj = resolve(name, obj)
    		if lbl := obj.(*Label); !lbl.used {
    			check.softErrorf(lbl, UnusedLabel, "label %s declared and not used", lbl.name)
    		}
    	}
    }
    
    // A block tracks label declarations in a block and its enclosing blocks.
    type block struct {
    	parent *block                      // enclosing block
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. cluster/images/etcd-version-monitor/etcd-version-monitor.go

    	for _, m := range mf.Metric {
    		for _, lbl := range m.Label {
    			if alias, ok := nameMapping[*lbl.Name]; ok {
    				lbl.Name = &alias
    			}
    		}
    	}
    }
    
    func filterMetricsByLabels(mf *dto.MetricFamily, labelValues map[string]string) {
    	buf := mf.Metric[:0]
    	for _, m := range mf.Metric {
    		shouldRemove := false
    		for _, lbl := range m.Label {
    			if val, ok := labelValues[*lbl.Name]; ok && val != *lbl.Value {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 16 06:50:02 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/labels.go

    	}
    
    	// spec: "It is illegal to define a label that is never used."
    	for name, obj := range all.elems {
    		obj = resolve(name, obj)
    		if lbl := obj.(*Label); !lbl.used {
    			check.softErrorf(lbl.pos, UnusedLabel, "label %s declared and not used", lbl.name)
    		}
    	}
    }
    
    // A block tracks label declarations in a block and its enclosing blocks.
    type block struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. pkg/apis/core/validation/names.go

    	domainLabels := strings.Split(segments[0], ".")
    	for _, lbl := range domainLabels {
    		// use IsDNS1123Label as we want to ensure the max length of any single label in the domain
    		// is 63 characters
    		if errs := validation.IsDNS1123Label(lbl); len(errs) > 0 {
    			for _, err := range errs {
    				el = append(el, field.Invalid(fldPath, segments[0], fmt.Sprintf("validating label %q: %s", lbl, err)))
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  5. src/go/ast/scope.go

    	Typ                // type
    	Var                // variable
    	Fun                // function or method
    	Lbl                // label
    )
    
    var objKindStrings = [...]string{
    	Bad: "bad",
    	Pkg: "package",
    	Con: "const",
    	Typ: "type",
    	Var: "var",
    	Fun: "func",
    	Lbl: "label",
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. cmd/bucket-replication-metrics.go

    	histBytes  metrics.Histogram
    }
    
    func newInQueueStats(r metrics.Registry, lbl string) InQueueStats {
    	histCounts := metrics.NewHistogram(metrics.NewUniformSample(100))
    	histBytes := metrics.NewHistogram(metrics.NewUniformSample(100))
    
    	r.Register("replication.queue.counts."+lbl, histCounts)
    	r.Register("replication.queue.bytes."+lbl, histBytes)
    
    	return InQueueStats{
    		histCounts: histCounts,
    		histBytes:  histBytes,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  7. istioctl/pkg/injector/injector-list.go

    }
    
    func injectionDisabled(pod *corev1.Pod) bool {
    	inject := pod.ObjectMeta.GetAnnotations()[annotation.SidecarInject.Name]
    	if lbl, labelPresent := pod.ObjectMeta.GetLabels()[label.SidecarInject.Name]; labelPresent {
    		inject = lbl
    	}
    	return strings.EqualFold(inject, "false")
    }
    
    func renderCounts(injectedRevision string, counts revisionCount) string {
    	if counts.pods == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 04 03:08:06 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. cni/pkg/plugin/plugin.go

    		return nil
    	}
    
    	val := pi.Annotations[injectAnnotationKey]
    	if lbl, labelPresent := pi.Labels[label.SidecarInject.Name]; labelPresent {
    		// The label is the new API; if both are present we prefer the label
    		val = lbl
    	}
    	if val != "" {
    		log.Debugf("contains inject annotation: %s", val)
    		if injectEnabled, err := strconv.ParseBool(val); err == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. src/runtime/mprof.go

    	})
    
    	if n <= len(p) {
    		ok = true
    		r, lbl := p, labels
    
    		// Save current goroutine.
    		sp := getcallersp()
    		pc := getcallerpc()
    		systemstack(func() {
    			saveg(pc, sp, gp, &r[0], pcbuf)
    		})
    		r = r[1:]
    
    		// If we have a place to put our goroutine labelmap, insert it there.
    		if labels != nil {
    			lbl[0] = gp.labels
    			lbl = lbl[1:]
    		}
    
    		// Save other goroutines.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  10. src/strconv/testdata/testfp.txt

    #	random sources
    #	random targets
    #	random targets ± half a ULP
    
    # Difficult boundary cases, derived from tables given in
    #	Vern Paxson, A Program for Testing IEEE Decimal-Binary Conversion
    #	ftp://ftp.ee.lbl.gov/testbase-report.ps.Z
    
    # Table 1: Stress Inputs for Conversion to 53-bit Binary, < 1/2 ULP
    float64 %b 5e+125 6653062250012735p+365
    float64 %b 69e+267 4705683757438170p+841
    float64 %b 999e-026 6798841691080350p-129
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 7.9K bytes
    - Viewed (0)
Back to top