Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,080 for Field2 (0.47 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go

    apiVersion: foo
    kind: bar
    metadata:
      name: no-errors
    spec:
      field1: val1
      field2: val2
      nested:
      - name: nestedName
        nestedField1: val1`
    	yamlOneErr := `---
    apiVersion: foo
    kind: bar
    metadata:
      name: no-errors
    spec:
      field1: val1
      field2: val2
      field2: val3
      nested:
      - name: nestedName
        nestedField1: val1`
    	yamlManyErrs := `---
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  2. src/text/template/doc.go

    	  Variables are described below.
    	- The name of a field of the data, which must be a struct, preceded
    	  by a period, such as
    		.Field
    	  The result is the value of the field. Field invocations may be
    	  chained:
    	    .Field1.Field2
    	  Fields can also be evaluated on variables, including chaining:
    	    $x.Field1.Field2
    	- The name of a key of the data, which must be a map, preceded
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. src/encoding/xml/typeinfo.go

    		i := conflicts[c]
    		copy(tinfo.fields[i:], tinfo.fields[i+1:])
    		tinfo.fields = tinfo.fields[:len(tinfo.fields)-1]
    	}
    	tinfo.fields = append(tinfo.fields, *newf)
    	return nil
    }
    
    // A TagPathError represents an error in the unmarshaling process
    // caused by the use of field tags with conflicting paths.
    type TagPathError struct {
    	Struct       reflect.Type
    	Field1, Tag1 string
    	Field2, Tag2 string
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:23:29 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/binding/DefaultStructBindingsStoreTest.groovy

    - Field field2 is not valid: Fields must be static final.
    - Constructor DefaultStructBindingsStoreTest.MultipleProblemsSuper(java.lang.String) is not valid: Custom constructors are not supported.
    - Field DefaultStructBindingsStoreTest.MultipleProblemsSuper.field1 is not valid: Fields must be static final.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  7. src/net/http/request_test.go

    		"name":     []string{"gopher"},
    		"skill":    []string{"go-ing"},
    		"field1":   []string{"value1"},
    		"field2":   []string{"initial-value2", "value2"},
    	}
    	if !reflect.DeepEqual(req.Form, wantForm) {
    		t.Fatalf("req.Form = %v, want %v", req.Form, wantForm)
    	}
    
    	wantPostForm := url.Values{
    		"field1": []string{"value1"},
    		"field2": []string{"value2"},
    	}
    	if !reflect.DeepEqual(req.PostForm, wantPostForm) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy

    - Rule source classes must directly extend org.gradle.model.RuleSource
    - Field field1 is not valid: Fields must be static final.
    - Field field2 is not valid: Fields must be static final.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  9. 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)
  10. src/encoding/xml/marshal_test.go

    			`<FieldB>A.C.B</FieldB>` +
    			`<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)
Back to top