Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 241 for embeddeds (0.17 sec)

  1. pkg/controller/volume/persistentvolume/config/v1alpha1/defaults.go

    // is intentionally not registered in the scheme as a "normal" `SetDefaults_Foo`
    // function to allow consumers of this type to set whatever defaults for their
    // embedded configs. Forcing consumers to use these defaults would be problematic
    // as defaulting in the scheme is done as part of the conversion, and there would
    // be no easy way to opt-out. Instead, if you want to use this defaulting method
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/object_test.go

    	if orig == nil {
    		t.Fatalf("original error.Error not found")
    	}
    
    	// get embedded error.Error method
    	iface := pkg.Scope().Lookup("I")
    	embed, _, _ := LookupFieldOrMethod(iface.Type(), false, nil, "Error")
    	if embed == nil {
    		t.Fatalf("embedded error.Error not found")
    	}
    
    	// original and embedded Error object should be identical
    	if orig != embed {
    		t.Fatalf("%s (%p) != %s (%p)", orig, orig, embed, embed)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/object.go

    // For embedded fields, the name is the unqualified type name
    // under which the field is accessible.
    func NewField(pos syntax.Pos, pkg *Package, name string, typ Type, embedded bool) *Var {
    	return &Var{object: object{nil, pos, pkg, name, typ, 0, colorFor(typ), nopos}, embedded: embedded, isField: true}
    }
    
    // Anonymous reports whether the variable is an embedded field.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/releases/compatibility.adoc

    | 21| 8.4 | 8.5
    | 22| 8.7 | 8.8
    | 23| N/A | N/A
    |===
    
    [[kotlin]]
    == Kotlin
    
    Gradle is tested with Kotlin 1.6.10 through 2.0.0.
    Beta and RC versions may or may not work.
    
    .Embedded Kotlin version
    |===
    | Embedded Kotlin version | Minimum Gradle version | Kotlin Language version
    
    | 1.3.10 | 5.0 | 1.3
    | 1.3.11 | 5.1 | 1.3
    | 1.3.20 | 5.2 | 1.3
    | 1.3.21 | 5.3 | 1.3
    | 1.3.31 | 5.5 | 1.3
    | 1.3.41 | 5.6 | 1.3
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 03:35:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. src/go/types/object_test.go

    	if orig == nil {
    		t.Fatalf("original error.Error not found")
    	}
    
    	// get embedded error.Error method
    	iface := pkg.Scope().Lookup("I")
    	embed, _, _ := LookupFieldOrMethod(iface.Type(), false, nil, "Error")
    	if embed == nil {
    		t.Fatalf("embedded error.Error not found")
    	}
    
    	// original and embedded Error object should be identical
    	if orig != embed {
    		t.Fatalf("%s (%p) != %s (%p)", orig, orig, embed, embed)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/validation.go

    		if len(s.Type) == 0 {
    			allErrs = append(allErrs, field.Required(fldPath.Child("type"), "must be object if x-kubernetes-embedded-resource is true"))
    		} else {
    			allErrs = append(allErrs, field.Invalid(fldPath.Child("type"), s.Type, "must be object if x-kubernetes-embedded-resource is true"))
    		}
    	} else if len(s.Type) == 0 && !s.Extensions.XIntOrString && !s.Extensions.XPreserveUnknownFields {
    		switch lvl {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 18:21:31 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/vendor/github.com/google/pprof/internal/driver/webhtml.go

    func addTemplates(templates *template.Template) {
    	// Load specified file.
    	loadFile := func(fname string) string {
    		data, err := embeddedFiles.ReadFile(fname)
    		if err != nil {
    			fmt.Fprintf(os.Stderr, "internal/driver: embedded file %q not found\n",
    				fname)
    			os.Exit(1)
    		}
    		return string(data)
    	}
    	loadCSS := func(fname string) string {
    		return `<style type="text/css">` + "\n" + loadFile(fname) + `</style>` + "\n"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/BuildEnvironmentCrossVersionSpec.groovy

        @TargetGradleVersion(">=3.5")
        @Requires(UnitTestPreconditions.Jdk8OrEarlier)
        def "old versions can mutate environment on JDK < 9"() {
            given:
            toolingApi.requireDaemons() //cannot be run in embedded mode
    
            buildFile << """
                task printEnv() {
                    doLast {
                        println "<" + System.getenv() + ">"
                    }
                }"""
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. schema/schema.go

    	if field, ok := schema.FieldsByName[name]; ok {
    		return field
    	}
    	return nil
    }
    
    // LookUpFieldByBindName looks for the closest field in the embedded struct.
    //
    //	type Struct struct {
    //		Embedded struct {
    //			ID string // is selected by LookUpFieldByBindName([]string{"Embedded", "ID"}, "ID")
    //		}
    //		ID string // is selected by LookUpFieldByBindName([]string{"ID"}, "ID")
    //	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top