- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,090 for label_1 (0.17 sec)
-
pkg/apis/core/v1/helper/helpers_test.go
}, want: true, }, { name: "label does not match MatchLabelExpressions terms", args: args{ topologySelectorTerms: []v1.TopologySelectorTerm{ { MatchLabelExpressions: []v1.TopologySelectorLabelRequirement{{ Key: "label_1", Values: []string{"label_1_val"}, }}, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 23:03:54 UTC 2024 - 16.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/labels/labels.go
mergedMap[k] = v } for k, v := range labels2 { mergedMap[k] = v } return mergedMap } // Equals returns true if the given maps are equal func Equals(labels1, labels2 Set) bool { if len(labels1) != len(labels2) { return false } for k, v := range labels1 { value, ok := labels2[k] if !ok { return false } if value != v { return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 14 16:39:04 UTC 2022 - 4.5K bytes - Viewed (0) -
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) -
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) -
.github/workflows/labeler.yml
name: "Issue Labeler" on: issues: types: [opened, edited, reopened] pull_request: types: [opened, edited, reopened] jobs: triage: runs-on: ubuntu-latest name: Label issues and pull requests steps: - name: check out uses: actions/checkout@v4 - name: labeler uses: jinzhu/super-labeler-action@develop with:
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Tue Oct 10 06:50:45 UTC 2023 - 423 bytes - Viewed (0) -
test/label1.go
if x == 13 { break L4 // ERROR "invalid break label .*L4" } if x == 14 { continue L4 // ERROR "invalid continue label .*L4|continue is not in a loop$" } if x == 15 { goto L4 } } L5: f2() if x == 16 { break L5 // ERROR "invalid break label .*L5" } if x == 17 { continue L5 // ERROR "invalid continue label .*L5|continue is not in a loop$" } if x == 18 { goto L5 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Nov 28 02:31:54 UTC 2020 - 2.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/labels/labels_test.go
tests := []struct { labels1 map[string]string labels2 map[string]string conflict bool }{ { labels1: map[string]string{}, labels2: map[string]string{}, conflict: false, }, { labels1: map[string]string{"env": "test"}, labels2: map[string]string{"infra": "true"}, conflict: false, }, { labels1: map[string]string{"env": "test"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 11 14:09:48 UTC 2017 - 5.4K bytes - Viewed (0) -
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) -
pkg/util/labels/labels.go
for key, value := range labels { newLabels[key] = value } delete(newLabels, labelKey) return newLabels } // AddLabel returns a map with the given key and value added to the given map. func AddLabel(labels map[string]string, labelKey, labelValue string) map[string]string { if labelKey == "" { // Don't need to add a label. return labels } if labels == nil { labels = make(map[string]string) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 11 17:34:12 UTC 2017 - 3.7K bytes - Viewed (0) -
src/cmd/internal/obj/loong64/asm_test.go
fmt.Fprintln(buf, "BEQ R5, R6, label18") fmt.Fprintln(buf, "BNE R5, R6, label18") fmt.Fprintln(buf, "BGE R5, R6, label18") fmt.Fprintln(buf, "BGEU R5, R6, label18") fmt.Fprintln(buf, "BLTU R5, R6, label18") fmt.Fprintln(buf, "BLEZ R5, label18") fmt.Fprintln(buf, "BGEZ R5, label18") fmt.Fprintln(buf, "BLTZ R5, label18") fmt.Fprintln(buf, "BGTZ R5, label18") fmt.Fprintln(buf, "BFPT label23")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:39:37 UTC 2024 - 2.2K bytes - Viewed (0)