Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 125 for unlabel (0.19 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/loopclosure/loopclosure.go

    				afterParallel = true
    			}
    		}
    	}
    
    	return stmts
    }
    
    // unlabel returns the inner statement for the possibly labeled statement stmt,
    // stripping any (possibly nested) *ast.LabeledStmt wrapper.
    //
    // The second result reports whether stmt was an *ast.LabeledStmt.
    func unlabel(stmt ast.Stmt) (ast.Stmt, bool) {
    	labeled := false
    	for {
    		labelStmt, ok := stmt.(*ast.LabeledStmt)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/informers_test.go

    	assert.NoError(t, err)
    
    	// wait for an update events
    	// total 3 update at before unlabel point: 1. init ns reconcile 2. ns label reconcile 3. pod annotation update
    	mt.Assert(EventTotals.Name(), map[string]string{"type": "update"}, monitortest.AtLeast(4))
    
    	waitForMockCalls()
    
    	assertPodNotAnnotated(t, client, pod)
    
    	// patch a test label to emulate a POD update event
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

        out_labels = equation[arrow_pos + 1 :]
    
        # 2. Create sample shapes.
        label_to_size = {'a': 4, 'b': 32, 'c': 64, 'd': 128, 'e': 8}
        x_shape = [label_to_size.get(x_label) for x_label in x_labels]
        y_shape = [label_to_size.get(y_label) for y_label in y_labels]
        bias_shape = None
        if use_bias:
          bias_shape = [label_to_size.get(out_label) for out_label in out_labels]
          bias_shape = bias_shape[-1:]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    		label = append(label, activeFilters...)
    	}
    
    	label = append(label, fmt.Sprintf("Showing nodes accounting for %s, %s of %s total", rpt.formatValue(flatSum), strings.TrimSpace(measurement.Percentage(flatSum, rpt.total)), rpt.formatValue(rpt.total)))
    
    	if rpt.total != 0 {
    		if droppedNodes > 0 {
    			label = append(label, genLabel(droppedNodes, "node", "cum",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    	// slices present in this map are always of length 1.
    	Label map[string][]string
    	// NumLabel is a per-label-key map to values for numeric labels. See a note
    	// above on handling multiple values for a label.
    	NumLabel map[string][]int64
    	// NumUnit is a per-label-key map to the unit names of corresponding numeric
    	// label values. The unit info may be missing even if the label is in
    	// NumLabel, see the docs in profile.proto for details. When the value is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/apiclient/wait.go

    			listOpts := metav1.ListOptions{LabelSelector: kvLabel}
    			pods, err := w.client.CoreV1().Pods(metav1.NamespaceSystem).List(context.TODO(), listOpts)
    			if err != nil {
    				fmt.Fprintf(w.writer, "[apiclient] Error getting Pods with label selector %q [%v]\n", kvLabel, err)
    				return false, nil
    			}
    
    			if lastKnownPodNumber != len(pods.Items) {
    				fmt.Fprintf(w.writer, "[apiclient] Found %d Pods for label selector %s\n", len(pods.Items), kvLabel)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. tools/bug-report/pkg/cluster/cluster.go

    				if isIncludeOrExcludeEntriesMatched(eld.Containers, c.Name) {
    					return true
    				}
    			}
    		}
    		if len(eld.Labels) > 0 {
    			for key, val := range eld.Labels {
    				if evLabel, exists := pod.Labels[key]; exists {
    					if isExactMatchedOrPatternMatched(val, evLabel) {
    						return true
    					}
    				}
    			}
    		}
    		if len(eld.Annotations) > 0 {
    			for key, val := range eld.Annotations {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 14 02:11:31 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  8. src/internal/profile/encode.go

    	// repeated Label label = 3
    	func(b *buffer, m message) error {
    		s := m.(*Sample)
    		n := len(s.labelX)
    		s.labelX = append(s.labelX, Label{})
    		return decodeMessage(b, &s.labelX[n])
    	},
    }
    
    func (p Label) decoder() []decoder {
    	return labelDecoder
    }
    
    func (p Label) encode(b *buffer) {
    	encodeInt64Opt(b, 1, p.keyX)
    	encodeInt64Opt(b, 2, p.strX)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:52:28 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/profile/encode.go

    	// repeated Label label = 3
    	func(b *buffer, m message) error {
    		s := m.(*Sample)
    		n := len(s.labelX)
    		s.labelX = append(s.labelX, label{})
    		return decodeMessage(b, &s.labelX[n])
    	},
    }
    
    func (p label) decoder() []decoder {
    	return labelDecoder
    }
    
    func (p label) encode(b *buffer) {
    	encodeInt64Opt(b, 1, p.keyX)
    	encodeInt64Opt(b, 2, p.strX)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/gateway/deploymentcontroller.go

    	if !exists {
    		// The old label doesn't already exist on the deployment; use the new label
    		return
    	}
    
    	// The old label exists on the deployment; use the old label
    	ti.GatewayNameLabel = constants.DeprecatedGatewayNameLabel
    }
    
    type TemplateInput struct {
    	*gateway.Gateway
    	DeploymentName            string
    	ServiceAccount            string
    	Ports                     []corev1.ServicePort
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 26.3K bytes
    - Viewed (0)
Back to top