Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 519 for mylabel (0.1 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/groovy/scripts/StatementLabelsIntegrationTest.groovy

        }
    
        def "use of statement label in class inside build script is allowed"() {
            buildFile << """
    class Foo {
      def bar() {
        mylabel:
        def x = 1
      }
    }
            """
    
            expect:
            succeeds("help")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 21 07:18:30 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  2. pkg/apis/batch/v1/defaults_test.go

    				},
    			},
    			expectLabels: true,
    		},
    		"All unspecified -> all pointers are defaulted and no default labels": {
    			original: &batchv1.Job{
    				ObjectMeta: metav1.ObjectMeta{
    					Labels: map[string]string{"mylabel": "myvalue"},
    				},
    				Spec: batchv1.JobSpec{
    					Template: v1.PodTemplateSpec{
    						ObjectMeta: metav1.ObjectMeta{Labels: defaultLabels},
    					},
    				},
    			},
    			expected: &batchv1.Job{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.8K 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. platforms/core-configuration/kotlin-dsl/doc/c4/lib/C4_Context.puml

    !define System(e_alias, e_label, e_descr) rectangle "==e_label\n\n e_descr" <<system>> as e_alias
    
    !define System_Ext(e_alias, e_label) rectangle "==e_label" <<external_system>> as e_alias
    !define System_Ext(e_alias, e_label, e_descr) rectangle "==e_label\n\n e_descr" <<external_system>> as e_alias
    
    ' Boundaries
    ' ##################################
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. 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)
  7. platforms/core-configuration/kotlin-dsl/doc/c4/lib/C4.puml

    !define Rel_Down(e_from,e_to, e_label, e_techn) Rel_D(e_from,e_to, e_label, e_techn)
    
    !define Rel_U(e_from,e_to, e_label) Rel_(e_from,e_to, e_label, "-UP->")
    !define Rel_U(e_from,e_to, e_label, e_techn) Rel_(e_from,e_to, e_label, e_techn, "-UP->")
    !define Rel_Up(e_from,e_to, e_label) Rel_U(e_from,e_to, e_label)
    !define Rel_Up(e_from,e_to, e_label, e_techn) Rel_U(e_from,e_to, e_label, e_techn)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/doc/c4/lib/C4_Component.puml

    !define Component(e_alias, e_label, e_techn) rectangle "==e_label\n//<size:TECHN_FONT_SIZE>[e_techn]</size>//" <<component>> as e_alias
    !define Component(e_alias, e_label, e_techn, e_descr) rectangle "==e_label\n//<size:TECHN_FONT_SIZE>[e_techn]</size>//\n\n e_descr" <<component>> as e_alias
    
    ' Boundaries
    ' ##################################
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. src/internal/trace/testdata/tests/go122-gc-stress.test

    GoStart dt=3 g=57 g_seq=12
    GoLabel dt=2 label_string=2
    GoBlock dt=1049 reason_string=15 stack=5
    GoUnblock dt=23 g=58 g_seq=7 stack=0
    GoStart dt=8 g=58 g_seq=8
    GoLabel dt=1 label_string=2
    GoBlock dt=1126 reason_string=15 stack=5
    GoUnblock dt=12 g=53 g_seq=3 stack=0
    GoStart dt=5 g=53 g_seq=4
    GoLabel dt=1 label_string=2
    GoBlock dt=1751 reason_string=15 stack=5
    GoUnblock dt=12 g=53 g_seq=5 stack=0
    GoStart dt=6 g=53 g_seq=6
    GoLabel dt=3 label_string=2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 139.1K bytes
    - Viewed (0)
  10. cluster/addons/calico-policy-controller/globalnetworkpolicy-crd.yaml

                      expressions follow this syntax: \n \tlabel == \"string_literal\"
                      \ ->  comparison, e.g. my_label == \"foo bar\" \tlabel != \"string_literal\"
                      \  ->  not equal; also matches if label is not present \tlabel in
                      { \"a\", \"b\", \"c\", ... }  ->  true if the value of label X is
                      one of \"a\", \"b\", \"c\" \tlabel not in { \"a\", \"b\", \"c\",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 07 20:48:43 UTC 2021
    - 45.2K bytes
    - Viewed (0)
Back to top