Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,053 for Field4 (0.18 sec)

  1. test/escape_field.go

    // BAD: we are not leaking param x, only x.p2
    func field6(x *X) { // ERROR "leaking param content: x$"
    	sink = x.p2
    }
    
    func field6a() {
    	i := 0 // ERROR "moved to heap: i$"
    	var x X
    	// BAD: &i should not escape
    	x.p1 = &i
    	field6(&x)
    }
    
    func field7() {
    	i := 0
    	var y Y
    	y.x.p1 = &i
    	x := y.x
    	var y1 Y
    	y1.x = x
    	_ = y1.x.p1
    }
    
    func field8() {
    	i := 0 // ERROR "moved to heap: i$"
    	var y Y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 12 08:31:49 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/options/OptionReaderTest.groovy

            String field1
    
            @Option(description = "Descr Field2")
            String field2
    
            @Option(description = "Descr Field3")
            TestEnum field3
    
            @Option(description = "Descr Field4")
            boolean field4
    
            @Option(description = "Descr Field5")
            Integer field5
    
            @Option(description = "Descr Field6")
            List<TestEnum> field6
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 10 12:45:01 UTC 2023
    - 33.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/strategy_test.go

    										"field3": {
    											Type: "string",
    										},
    										"field4": {
    											Type: "string",
    										},
    									},
    								},
    							},
    							SelectableFields: []apiextensions.SelectableField{
    								{
    									JSONPath: ".field3",
    								},
    								{
    									JSONPath: ".field4",
    								},
    							},
    						},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/cel/openapi/values_test.go

    			lhs:   UnstructuredToVal(map[string]interface{}{"field1": "a", "field2": "b"}, objectSchema),
    			rhs:   UnstructuredToVal(map[string]interface{}{"field1": "a", "field2": "b"}, objectSchema),
    			equal: true,
    		},
    		{
    			name:  "objects are equal regardless of field order",
    			lhs:   UnstructuredToVal(map[string]interface{}{"field1": "a", "field2": "b"}, objectSchema),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:30:17 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  5. schema/index_test.go

    			Class: "UNIQUE",
    			Fields: []schema.IndexOption{
    				{Field: &schema.Field{Name: "FieldD"}},
    				// Note: Duplicate Columns
    				{Field: &schema.Field{Name: "FieldD"}},
    			},
    		},
    		"uniq_field_e1_e2": {
    			Name:  "uniq_field_e1_e2",
    			Class: "UNIQUE",
    			Fields: []schema.IndexOption{
    				{Field: &schema.Field{Name: "FieldE1"}},
    				{Field: &schema.Field{Name: "FieldE2"}},
    			},
    		},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. hack/testdata/CRD/foo-updated-subfield.yaml

    kind: Foo
    apiVersion: company.com/v1
    metadata:
      name: test
      labels:
        pruneGroup: "true"
    someField: field1
    otherField: field2
    nestedField:
      someSubfield: modifiedSubfield
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 01 15:43:24 UTC 2017
    - 203 bytes
    - Viewed (0)
  7. hack/testdata/CRD/foo.yaml

    kind: Foo
    apiVersion: company.com/v1
    metadata:
      name: test
      labels:
        pruneGroup: "true"
    someField: field1
    otherField: field2
    nestedField:
      someSubfield: subfield1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 01 15:43:24 UTC 2017
    - 196 bytes
    - Viewed (0)
  8. hack/testdata/CRD/foo-2.yaml

    kind: Foo
    apiVersion: company.com/v1
    metadata:
      name: second-instance
      namespace: default
      labels:
        pruneGroup: "true"
    someField: field1
    otherField: field2
    nestedField:
      someSubfield: subfield1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 26 17:04:19 UTC 2021
    - 228 bytes
    - Viewed (0)
  9. test/range4.go

    package main
    
    var gj int
    
    func yield4x(yield func() bool) {
    	_ = yield() && yield() && yield() && yield()
    }
    
    func yield4(yield func(int) bool) {
    	_ = yield(1) && yield(2) && yield(3) && yield(4)
    }
    
    func yield3(yield func(int) bool) {
    	_ = yield(1) && yield(2) && yield(3)
    }
    
    func yield2(yield func(int) bool) {
    	_ = yield(1) && yield(2)
    }
    
    func testfunc0() {
    	j := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 16:00:53 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/fields/fields.go

    limitations under the License.
    */
    
    package fields
    
    import (
    	"sort"
    	"strings"
    )
    
    // Fields allows you to present fields independently from their storage.
    type Fields interface {
    	// Has returns whether the provided field exists.
    	Has(field string) (exists bool)
    
    	// Get returns the value for the provided field.
    	Get(field string) (value string)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 19 14:50:16 UTC 2017
    - 1.7K bytes
    - Viewed (0)
Back to top