Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,245 for Uint (0.16 sec)

  1. tests/preload_suits_test.go

    	type (
    		Level0 struct {
    			ID       uint
    			Value    string
    			Level1ID uint
    		}
    		Level1 struct {
    			ID         uint
    			Value      string
    			Level2ID   *uint
    			Level2_1ID *uint
    			Level0s    []Level0 `json:",omitempty"`
    		}
    		Level2 struct {
    			ID       uint
    			Level1s  []Level1
    			Level3ID uint
    		}
    		Level2_1 struct {
    			ID       uint
    			Level1s  []Level1 `json:",omitempty"`
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Mar 18 05:38:46 GMT 2022
    - 30.3K bytes
    - Viewed (0)
  2. api/go1.12.txt

    pkg math/bits, func Div(uint, uint, uint) (uint, uint)
    pkg math/bits, func Div32(uint32, uint32, uint32) (uint32, uint32)
    pkg math/bits, func Div64(uint64, uint64, uint64) (uint64, uint64)
    pkg math/bits, func Mul(uint, uint) (uint, uint)
    pkg math/bits, func Mul32(uint32, uint32) (uint32, uint32)
    pkg math/bits, func Mul64(uint64, uint64) (uint64, uint64)
    pkg math/bits, func Sub(uint, uint, uint) (uint, uint)
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Jan 02 21:21:53 GMT 2019
    - 13.5K bytes
    - Viewed (0)
  3. schema/relationship_test.go

    	type Toy struct {
    		ID        int
    		Name      string
    		OwnerID   int
    		OwnerType string
    	}
    	type User struct {
    		ID  int
    		Cat struct {
    			Name string
    			Toy  Toy   `gorm:"polymorphic:Owner;"`
    			Toys []Toy `gorm:"polymorphic:Owner;"`
    		} `gorm:"embedded;embeddedPrefix:cat_"`
    		Dog struct {
    			ID     int
    			Name   string
    			UserID int
    			Toy    Toy   `gorm:"polymorphic:Owner;"`
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  4. utils/tests/models.go

    type User struct {
    	gorm.Model
    	Name      string
    	Age       uint
    	Birthday  *time.Time
    	Account   Account
    	Pets      []*Pet
    	NamedPet  *Pet
    	Toys      []Toy   `gorm:"polymorphic:Owner"`
    	Tools     []Tools `gorm:"polymorphicType:Type;polymorphicId:CustomID"`
    	CompanyID *int
    	Company   Company
    	ManagerID *uint
    	Manager   *User
    	Team      []User     `gorm:"foreignkey:ManagerID"`
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  5. api/go1.9.txt

    pkg math/bits, const UintSize ideal-int
    pkg math/bits, func LeadingZeros(uint) int
    pkg math/bits, func LeadingZeros16(uint16) int
    pkg math/bits, func LeadingZeros32(uint32) int
    pkg math/bits, func LeadingZeros64(uint64) int
    pkg math/bits, func LeadingZeros8(uint8) int
    pkg math/bits, func Len(uint) int
    pkg math/bits, func Len16(uint16) int
    pkg math/bits, func Len32(uint32) int
    pkg math/bits, func Len64(uint64) int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Oct 04 20:20:20 GMT 2021
    - 10.7K bytes
    - Viewed (0)
  6. tests/associations_test.go

    	}
    }
    
    func TestForeignKeyConstraints(t *testing.T) {
    	tidbSkip(t, "not support the foreign key feature")
    
    	type Profile struct {
    		ID       uint
    		Name     string
    		MemberID uint
    	}
    
    	type Member struct {
    		ID      uint
    		Refer   uint `gorm:"uniqueIndex"`
    		Name    string
    		Profile Profile `gorm:"Constraint:OnUpdate:CASCADE,OnDelete:CASCADE;FOREIGNKEY:MemberID;References:Refer"`
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Feb 08 08:29:09 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue26743/a.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package issue26743
    
    // typedef unsigned int uint;
    // int C1(uint x) { return x; }
    import "C"
    
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 271 bytes
    - Viewed (0)
  8. schema/field.go

    const (
    	UnixTime        TimeType = 1
    	UnixSecond      TimeType = 2
    	UnixMillisecond TimeType = 3
    	UnixNanosecond  TimeType = 4
    )
    
    // GORM fields types
    const (
    	Bool   DataType = "bool"
    	Int    DataType = "int"
    	Uint   DataType = "uint"
    	Float  DataType = "float"
    	String DataType = "string"
    	Time   DataType = "time"
    	Bytes  DataType = "bytes"
    )
    
    const DefaultAutoIncrementIncrement int64 = 1
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 32K bytes
    - Viewed (1)
  9. schema/serializer.go

    	rv := reflect.ValueOf(fieldValue)
    	switch v := fieldValue.(type) {
    	case int64, int, uint, uint64, int32, uint32, int16, uint16:
    		result = time.Unix(reflect.Indirect(rv).Int(), 0).UTC()
    	case *int64, *int, *uint, *uint64, *int32, *uint32, *int16, *uint16:
    		if rv.IsZero() {
    			return nil, nil
    		}
    		result = time.Unix(reflect.Indirect(rv).Int(), 0).UTC()
    	default:
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 08:28:46 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  10. tests/migrate_test.go

    		db.Logger = db.Logger.LogMode(logger.Silent)
    	}
    
    	type Object1 struct {
    		ID uint
    	}
    	type Object2 struct {
    		ID     uint
    		Field1 int `gorm:"type:int8"`
    	}
    	type Object3 struct {
    		ID     uint
    		Field1 int `gorm:"type:int4"`
    	}
    	type Object4 struct {
    		ID     uint
    		Field2 int
    	}
    	db.Migrator().DropTable("objects")
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top