Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,225 for labelA (0.21 sec)

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

    // insert records a new label declaration for the current block.
    // The label must not have been declared before in any block.
    func (b *block) insert(s *syntax.LabeledStmt) {
    	name := s.Label.Value
    	if debug {
    		assert(b.gotoTarget(name) == nil)
    	}
    	labels := b.labels
    	if labels == nil {
    		labels = make(map[string]*syntax.LabeledStmt)
    		b.labels = labels
    	}
    	labels[name] = s
    }
    
    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. src/internal/types/testdata/check/labels.go

    // This file is a modified concatenation of the files
    // $GOROOT/test/label.go and $GOROOT/test/label1.go.
    
    package labels
    
    var x int
    
    func f0() {
    L1 /* ERROR "label L1 declared and not used" */ :
    	for {
    	}
    L2 /* ERROR "label L2 declared and not used" */ :
    	select {
    	}
    L3 /* ERROR "label L3 declared and not used" */ :
    	switch {
    	}
    L4 /* ERROR "label L4 declared and not used" */ :
    	if true {
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/labels.go

    }
    
    // newPodLabels creates pod labels from v1.Pod.
    func newPodLabels(pod *v1.Pod) map[string]string {
    	labels := map[string]string{}
    
    	// Get labels from v1.Pod
    	for k, v := range pod.Labels {
    		labels[k] = v
    	}
    
    	labels[types.KubernetesPodNameLabel] = pod.Name
    	labels[types.KubernetesPodNamespaceLabel] = pod.Namespace
    	labels[types.KubernetesPodUIDLabel] = string(pod.UID)
    
    	return labels
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. src/runtime/pprof/label.go

    	for k, v := range parentLabels {
    		childLabels[k] = v
    	}
    	for _, label := range labels.list {
    		childLabels[label.key] = label.value
    	}
    	return context.WithValue(ctx, labelContextKey{}, &childLabels)
    }
    
    // Labels takes an even number of strings representing key-value pairs
    // and makes a [LabelSet] containing them.
    // A label overwrites a prior label with the same key.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. src/go/types/labels.go

    // insert records a new label declaration for the current block.
    // The label must not have been declared before in any block.
    func (b *block) insert(s *ast.LabeledStmt) {
    	name := s.Label.Name
    	if debug {
    		assert(b.gotoTarget(name) == nil)
    	}
    	labels := b.labels
    	if labels == nil {
    		labels = make(map[string]*ast.LabeledStmt)
    		b.labels = labels
    	}
    	labels[name] = s
    }
    
    // gotoTarget returns the labeled statement in the current
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/gateway/testdata/deployment/infrastructure-labels-annotations.yaml

              medium: Memory
            name: istio-envoy
          - emptyDir: {}
            name: istio-data
          - downwardAPI:
              items:
              - fieldRef:
                  fieldPath: metadata.labels
                path: labels
              - fieldRef:
                  fieldPath: metadata.annotations
                path: annotations
            name: istio-podinfo
          - name: istio-token
            projected:
              sources:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/gateway/testdata/deployment/waypoint-no-network-label.yaml

          - emptyDir: {}
            name: istio-data
          - emptyDir: {}
            name: go-proxy-data
          - downwardAPI:
              items:
              - fieldRef:
                  fieldPath: metadata.labels
                path: labels
              - fieldRef:
                  fieldPath: metadata.annotations
                path: annotations
            name: istio-podinfo
          - name: istio-token
            projected:
              sources:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 22:41:03 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. pkg/config/analysis/analyzers/webhook/webhook.go

    	revs := sets.New[string]()
    	if r, f := wh.Labels[label.IoIstioRev.Name]; f {
    		revs.Insert(r)
    	}
    	for _, webhook := range wh.Webhooks {
    		if webhook.NamespaceSelector != nil {
    			if r, f := webhook.NamespaceSelector.MatchLabels[label.IoIstioRev.Name]; f {
    				revs.Insert(r)
    			}
    
    			for _, ls := range webhook.NamespaceSelector.MatchExpressions {
    				if ls.Key == label.IoIstioRev.Name {
    					revs.InsertAll(ls.Values...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. operator/cmd/mesh/manifest-generate_test.go

    		}
    		return "", false
    	}
    
    	// We test the cross product namespace and pod labels:
    	// 1. revision label (istio.io/rev)
    	// 2. inject label true (istio-injection on namespace, sidecar.istio.io/inject on pod)
    	// 3. inject label false
    	// 4. inject label true and revision label
    	// 5. inject label false and revision label
    	// 6. no label
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/endpoint_builder_test.go

    			},
    			expected: labels.Instance{},
    		},
    		{
    			name: "region only",
    			ctl:  testController{},
    			proxy: &model.Proxy{
    				Labels: labels.Instance{
    					"k1":                       "v1",
    					label.TopologyNetwork.Name: "mynetwork",
    				},
    				Metadata: &model.NodeMetadata{
    					Labels: labels.Instance{
    						"k1":                       "v1",
    						label.TopologyNetwork.Name: "mynetwork",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top