Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 315 for unlabel (0.13 sec)

  1. src/internal/dag/parse.go

    )
    
    type Graph struct {
    	Nodes   []string
    	byLabel map[string]int
    	edges   map[string]map[string]bool
    }
    
    func newGraph() *Graph {
    	return &Graph{byLabel: map[string]int{}, edges: map[string]map[string]bool{}}
    }
    
    func (g *Graph) addNode(label string) bool {
    	if _, ok := g.byLabel[label]; ok {
    		return false
    	}
    	g.byLabel[label] = len(g.Nodes)
    	g.Nodes = append(g.Nodes, label)
    	g.edges[label] = map[string]bool{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. 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)
  3. src/runtime/pprof/label.go

    		panic("uneven number of arguments to pprof.Labels")
    	}
    	list := make([]label, 0, len(args)/2)
    	for i := 0; i+1 < len(args); i += 2 {
    		list = append(list, label{key: args[i], value: args[i+1]})
    	}
    	return LabelSet{list: list}
    }
    
    // Label returns the value of the label with the given key on ctx, and a boolean indicating
    // whether that label exists.
    func Label(ctx context.Context, key string) (string, bool) {
    	ctxLabels := labelValue(ctx)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. operator/pkg/util/label.go

    )
    
    // SetLabel is a helper function which sets the specified label and value on the specified object.
    func SetLabel(resource runtime.Object, label, value string) error {
    	resourceAccessor, err := meta.Accessor(resource)
    	if err != nil {
    		return err
    	}
    	labels := resourceAccessor.GetLabels()
    	if labels == nil {
    		labels = map[string]string{}
    	}
    	labels[label] = value
    	resourceAccessor.SetLabels(labels)
    	return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  5. test/label.go

    var x int
    
    func f() {
    L1: // ERROR "label .*L1.* defined and not used"
    	for {
    	}
    L2: // ERROR "label .*L2.* defined and not used"
    	select {}
    L3: // ERROR "label .*L3.* defined and not used"
    	switch {
    	}
    L4: // ERROR "label .*L4.* defined and not used"
    	if true {
    	}
    L5: // ERROR "label .*L5.* defined and not used"
    	f()
    L6: // GCCGO_ERROR "previous"
    	f()
    L6: // ERROR "label .*L6.* already defined"
    	f()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 28 02:31:54 UTC 2020
    - 1K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/Label.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.logging.console;
    
    public interface Label {
        void setText(String text);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 721 bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/util/label/label.go

    	}
    	if len(subzone) > 0 {
    		out[label.TopologySubzone.Name] = subzone
    	}
    	if len(clusterID) > 0 {
    		out[label.TopologyCluster.Name] = clusterID.String()
    	}
    	if len(k8sNode) > 0 {
    		out[LabelHostname] = k8sNode
    	}
    	if len(networkID) > 0 {
    		out[label.TopologyNetwork.Name] = networkID.String()
    	}
    	return out
    }
    
    // SplitLocalityLabel splits a locality label into region, zone and subzone strings.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 11 03:56:40 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. 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)
  9. Jenkinsfile

    }
    
    Map runITsTasks = [:]
    for (String os in runITsOses) {
        for (def jdk in runITsJdks) {
            String osLabel = jenkinsEnv.labelForOS(os);
            String jdkName = jenkinsEnv.jdkFromVersion(os, "${jdk}")
            String mvnName = jenkinsEnv.mvnFromVersion(os, "${runITsMvn}")
            echo "OS: ${os} JDK: ${jdk} => Label: ${osLabel} JDK: ${jdkName}"
    
            String stageId = "${os}-jdk${jdk}"
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Mar 03 21:28:30 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. 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 (1)
Back to top