Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for unlabel (0.16 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. 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)
  8. 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)
  9. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go

    	}
    	if len(list) != 2 {
    		t.Errorf("unexpected list returned: %#v", list)
    	}
    	if indexUsed != "l:label" {
    		t.Errorf("Used index %q but expected %q", indexUsed, "l:label")
    	}
    
    	// list with spec.nodeName index.
    	matchValues = []storage.MatchValue{
    		{IndexName: "l:not-exist-label", Value: "whatever"},
    		{IndexName: "f:spec.nodeName", Value: "node2"},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    }
    
    func defaultLabelFormat(v int64, key string) string {
    	return strconv.FormatInt(v, 10)
    }
    
    func (m TagMap) findOrAddTag(label, unit string, value int64) *Tag {
    	l := m[label]
    	if l == nil {
    		l = &Tag{
    			Name:  label,
    			Unit:  unit,
    			Value: value,
    		}
    		m[label] = l
    	}
    	return l
    }
    
    // String returns a text representation of a graph, for debugging purposes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
Back to top