Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 344 for Embeddeds (0.14 sec)

  1. 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)
  2. tests/scan_test.go

    package tests_test
    
    import (
    	"reflect"
    	"sort"
    	"strings"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    type PersonAddressInfo struct {
    	Person  *Person  `gorm:"embedded"`
    	Address *Address `gorm:"embedded"`
    }
    
    func TestScan(t *testing.T) {
    	user1 := User{Name: "ScanUser1", Age: 1}
    	user2 := User{Name: "ScanUser2", Age: 10}
    	user3 := User{Name: "ScanUser3", Age: 20}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. pkg/generated/openapi/cmd/models-schema/main.go

    	schemaDefs := make(map[string]spec.Schema, len(defs))
    	for k, v := range defs {
    		// Replace top-level schema with v2 if a v2 schema is embedded
    		// so that the output of this program is always in OpenAPI v2.
    		// This is done by looking up an extension that marks the embedded v2
    		// schema, and, if the v2 schema is found, make it the resulting schema for
    		// the type.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:52 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreator.java

    import org.dbflute.mail.send.SMailPostalMotorbike;
    import org.dbflute.mail.send.SMailPostalParkingLot;
    import org.dbflute.mail.send.SMailPostalPersonnel;
    import org.dbflute.mail.send.embedded.personnel.SMailDogmaticPostalPersonnel;
    import org.dbflute.mail.send.embedded.receptionist.SMailConventionReceptionist;
    import org.dbflute.mail.send.supplement.async.SMailAsyncStrategy;
    import org.dbflute.mail.send.supplement.filter.SMailSubjectFilter;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. callbacks/preload.go

    				if relation.Schema == s {
    					setPreloadMap(relation.Name, value, args)
    				}
    			}
    
    			for embedded, embeddedRelations := range s.Relationships.EmbeddedRelations {
    				for _, value := range embeddedValues(embeddedRelations) {
    					setPreloadMap(embedded, value, args)
    				}
    			}
    		} else {
    			setPreloadMap(preloadFields[0], value, args)
    		}
    	}
    	return preloadMap
    }
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/PluginDependenciesSpecScopeTest.kt

            expecting(plugin(id = "org.jetbrains.kotlin.jvm", version = "1.1.1")) {
                kotlin("jvm") version "1.1.1"
            }
        }
    
        @Test
        fun `given embedded kotlin plugin accessor, it should create a single request with embedded version`() {
            expecting(plugin(id = "org.jetbrains.kotlin.jvm", version = embeddedKotlinVersion)) {
                embeddedKotlin("jvm")
            }
        }
    }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 06:46:04 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/decls2/decls2a.go

    type T1 struct{
    	f int
    }
    
    func (T1) m() {}
    func (T1) m /* ERROR "already declared" */ () {}
    func (x *T1) f /* ERROR "field and method with the same name f" */ () {}
    
    // Conflict between embedded field and method name,
    // with the embedded field being a basic type.
    type T1b struct {
    	int
    }
    
    func (T1b) int /* ERROR "field and method" */ () {}
    
    type T1c struct {
    	time.Time
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/testdata/HEAD/apiextensions.k8s.io.v1beta1.CustomResourceDefinition.json

              "url": "urlValue"
            },
            "example": "exampleValue",
            "nullable": true,
            "x-kubernetes-preserve-unknown-fields": true,
            "x-kubernetes-embedded-resource": true,
            "x-kubernetes-int-or-string": true,
            "x-kubernetes-list-map-keys": [
              "x-kubernetes-list-map-keysValue"
            ],
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/lookup.go

    //
    // The last index entry is the field or method index in the (possibly embedded)
    // type where the entry was found, either:
    //
    //  1. the list of declared methods of a named type; or
    //  2. the list of all methods (method set) of an interface type; or
    //  3. the list of fields of a struct type.
    //
    // The earlier index entries are the indices of the embedded struct fields
    // traversed to get to the found entry, starting at depth 0.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  10. src/go/types/lookup.go

    //
    // The last index entry is the field or method index in the (possibly embedded)
    // type where the entry was found, either:
    //
    //  1. the list of declared methods of a named type; or
    //  2. the list of all methods (method set) of an interface type; or
    //  3. the list of fields of a struct type.
    //
    // The earlier index entries are the indices of the embedded struct fields
    // traversed to get to the found entry, starting at depth 0.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top