Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for embeddeds (0.15 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/test/integration/validation_test.go

    			desc: "embedded-resource without preserve-unknown-fields",
    			globalSchema: `
    type: object
    x-kubernetes-embedded-resource: true
    `,
    			expectedCreateErrors: []string{
    				"spec.validation.openAPIV3Schema.properties: Required value: must not be empty if x-kubernetes-embedded-resource is true without x-kubernetes-preserve-unknown-fields",
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 26 20:48:36 UTC 2021
    - 63.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    				// schema, but they would be accessible even if they were not
    				"self.embedded.kind == 'Pod'":                          4,
    				"self.embedded.apiVersion == 'v1'":                     4,
    				"self.embedded.metadata.name == 'foo'":                 5,
    				"self.embedded.metadata.generateName == 'pickItForMe'": 6,
    				// the specified embedded fields are accessible
    				"self.embedded.spec.field1 == 'a'": 5,
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  3. src/reflect/type.go

    		hash = fnv1(hash, []byte(name)...)
    		if !f.Embedded() {
    			repr = append(repr, (" " + name)...)
    		} else {
    			// Embedded field
    			if f.Typ.Kind() == abi.Pointer {
    				// Embedded ** and *interface{} are illegal
    				elem := ft.Elem()
    				if k := elem.Kind(); k == abi.Pointer || k == abi.Interface {
    					panic("reflect.StructOf: illegal embedded field type " + stringFor(ft))
    				}
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types/type.go

    		tfs := t.Fields()
    		xfs := x.Fields()
    		for i := 0; i < len(tfs) && i < len(xfs); i++ {
    			t1, x1 := tfs[i], xfs[i]
    			if t1.Embedded != x1.Embedded {
    				return cmpForNe(t1.Embedded < x1.Embedded)
    			}
    			if t1.Note != x1.Note {
    				return cmpForNe(t1.Note < x1.Note)
    			}
    			if c := t1.Sym.cmpsym(x1.Sym); c != CMPeq {
    				return c
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/syntax/parser.go

    			// embedded type
    			typ := p.qualifiedName(name)
    			tag := p.oliteral()
    			p.addField(styp, pos, nil, typ, tag)
    			break
    		}
    
    		// name1, name2, ... Type [ tag ]
    		names := p.nameList(name)
    		var typ Expr
    
    		// Careful dance: We don't know if we have an embedded instantiated
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  6. .bazelrc

    #     rbe_linux_cuda_nvcc:            RBE options to build with GPU support using nvcc.
    #
    # Embedded Linux options (experimental and only tested with TFLite build yet)
    #     elinux:          General Embedded Linux options shared by all flavors.
    #     elinux_aarch64:  Embedded Linux options for aarch64 (ARM64) CPU support.
    #     elinux_armhf:    Embedded Linux options for armhf (ARMv7) CPU support.
    #
    # Release build options (for all operating systems)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 17:12:54 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  7. src/go/parser/parser.go

    			idents = []*ast.Ident{ident}
    			typ = &ast.FuncType{Func: token.NoPos, Params: params, Results: results}
    		default:
    			// embedded type
    			typ = x
    		}
    	} else {
    		// embedded, possibly instantiated type
    		typ = x
    		if p.tok == token.LBRACK {
    			// embedded instantiated interface
    			typ = p.parseTypeInstance(typ)
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  8. src/encoding/json/decode_test.go

    // Test unmarshal behavior with regards to embedded unexported structs.
    //
    // (Issue 21357) If the embedded struct is a pointer and is unallocated,
    // this returns an error because unmarshal cannot set the field.
    //
    // (Issue 24152) If the embedded struct is given an explicit name,
    // ensure that the normal unmarshal logic does not panic in reflect.
    //
    // (Issue 28145) If the embedded struct is given an explicit name and has
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/testdata/swagger.json

            "type": { "type": "string" },
            "uniqueItems": { "type": "boolean" },
            "x-kubernetes-embedded-resource": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 18:37:59 UTC 2023
    - 55.4K bytes
    - Viewed (0)
  10. src/net/netip/netip_test.go

    		"fe80::1%",
    		// IPv6 (without ellipsis) with too many fields for trailing embedded IPv4.
    		"ffff:ffff:ffff:ffff:ffff:ffff:ffff:192.168.140.255",
    		// IPv6 (with ellipsis) with too many fields for trailing embedded IPv4.
    		"ffff::ffff:ffff:ffff:ffff:ffff:ffff:192.168.140.255",
    		// IPv6 with invalid embedded IPv4.
    		"::ffff:192.168.140.bad",
    		// IPv6 with multiple ellipsis ::.
    		"fe80::1::1",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
Back to top