Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,259 for Field3 (0.47 sec)

  1. 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)
  2. src/text/template/parse/parse_test.go

    	}
    }
    
    func BenchmarkListString(b *testing.B) {
    	text := `
    {{(printf .Field1.Field2.Field3).Value}}
    {{$x := (printf .Field1.Field2.Field3).Value}}
    {{$y := (printf $x.Field1.Field2.Field3).Value}}
    {{$z := $y.Field1.Field2.Field3}}
    {{if contains $y $z}}
    	{{printf "%q" $y}}
    {{else}}
    	{{printf "%q" $x}}
    {{end}}
    {{with $z.Field1 | contains "boring"}}
    	{{printf "%q" . | printf "%s"}}
    {{else}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 24K 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. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    			},
    		},
    		{name: "preserve unknown fields",
    			obj: map[string]interface{}{
    				"withUnknown": map[string]interface{}{
    					"field1": "a",
    					"field2": "b",
    				},
    				"withUnknownList": []interface{}{
    					map[string]interface{}{
    						"field1": "a",
    						"field2": "b",
    					},
    					map[string]interface{}{
    						"field1": "x",
    						"field2": "y",
    					},
    					map[string]interface{}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    							Reason:    ptr.To(apiextensions.FieldValueRequired),
    							FieldPath: ".field3",
    						},
    						{
    							Rule:      `self.field1 != "value1"`,
    							Reason:    ptr.To(apiextensions.FieldValueForbidden),
    							FieldPath: ".field1",
    						},
    					},
    				},
    			},
    			errors: field.ErrorList{
    				{
    					Type:  field.ErrorTypeDuplicate,
    					Field: "root.field2",
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/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: Thu May 16 20:13:14 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. src/encoding/csv/reader.go

    		}
    		if len(line) == 0 || line[0] != '"' {
    			// Non-quoted string field
    			i := bytes.IndexRune(line, r.Comma)
    			field := line
    			if i >= 0 {
    				field = field[:i]
    			} else {
    				field = field[:len(field)-lengthNL(field)]
    			}
    			// Check to make sure a quote does not appear in field.
    			if !r.LazyQuotes {
    				if j := bytes.IndexByte(field, '"'); j >= 0 {
    					col := pos.col + j
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:32:28 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  9. src/encoding/xml/marshal_test.go

    			`<FieldC>A.C.C</FieldC>` +
    			`<EmbedB>` +
    			`<FieldB>A.B.B</FieldB>` +
    			`<FieldA>` +
    			`<A1>A.B.C.A1</A1>` +
    			`<A2>A.B.C.A2</A2>` +
    			`</FieldA>` +
    			`<FieldC>A.B.C.C</FieldC>` +
    			`</EmbedB>` +
    			`<FieldA>A.A</FieldA>` +
    			`<FieldE>A.D.E</FieldE>` +
    			`</EmbedA>`,
    	},
    
    	// Anonymous struct pointer field which is nil
    	{
    		Value:     &EmbedB{},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  10. tests/migrate_test.go

    		}
    		_ = stmt.Schema.ParseIndexes()
    		field := stmt.Schema.LookUpField(fieldName)
    		if field == nil {
    			t.Fatalf("%v: failed to find column %q", utils.FileWithLineNum(), fieldName)
    		}
    		if field.Unique != unique {
    			t.Fatalf("%v: %q column %q unique should be %v but got %v", utils.FileWithLineNum(), stmt.Schema.Table, fieldName, unique, field.Unique)
    		}
    		if field.UniqueIndex != uniqueIndex {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
Back to top