Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for bouton (1.94 sec)

  1. utils/tests/models.go

    }
    
    type CouponProduct struct {
    	CouponId  int    `gorm:"primarykey;size:255"`
    	ProductId string `gorm:"primarykey;size:255"`
    	Desc      string
    }
    
    type Order struct {
    	gorm.Model
    	Num      string
    	Coupon   *Coupon
    	CouponID string
    }
    
    type Parent struct {
    	gorm.Model
    	FavChildID uint
    	FavChild   *Child
    	Children   []*Child
    }
    
    type Child struct {
    	gorm.Model
    	Name     string
    	ParentID *uint
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Dec 15 08:36:08 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/schedule.go

    	ScoreReadTuple        // must occur immediately after tuple-generating insn (or call)
    	ScoreNilCheck
    	ScoreMemory
    	ScoreReadFlags
    	ScoreDefault
    	ScoreFlags
    	ScoreControl // towards bottom of block
    )
    
    type ValHeap struct {
    	a           []*Value
    	score       []int8
    	inBlockUses []bool
    }
    
    func (h ValHeap) Len() int      { return len(h.a) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 15:53:17 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/sccp.go

    				if optimisticLt.tag == top {
    					optimisticLt = lt
    				} else {
    					if !equals(optimisticLt, lt) {
    						// ConstantA ∩ ConstantB = Bottom
    						return lattice{bottom, nil}
    					}
    				}
    			} else if lt.tag == bottom {
    				// Bottom ∩ any = Bottom
    				return lattice{bottom, nil}
    			} else {
    				// Top ∩ any = any
    			}
    		} else {
    			// Top ∩ any = any
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modload/edit.go

    				continue
    			}
    
    			// If m is not the selected version of its path, we have two options: we
    			// can either upgrade to the version that actually is selected (dropping m
    			// itself out of the bottom of the module graph), or we can try
    			// downgrading it.
    			//
    			// If the version we would be upgrading to is ok to use, we will just plan
    			// to do that and avoid the overhead of trying to find some lower version
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 21:46:32 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  5. tests/tests_test.go

    		db.Logger = db.Logger.LogMode(logger.Silent)
    	}
    
    	return
    }
    
    func RunMigrations() {
    	var err error
    	allModels := []interface{}{&User{}, &Account{}, &Pet{}, &Company{}, &Toy{}, &Language{}, &Coupon{}, &CouponProduct{}, &Order{}, &Parent{}, &Child{}, &Tools{}}
    	rand.Seed(time.Now().UnixNano())
    	rand.Shuffle(len(allModels), func(i, j int) { allModels[i], allModels[j] = allModels[j], allModels[i] })
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Dec 15 08:36:08 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. tests/migrate_test.go

    	for _, v := range events {
    		AssertEqual(t, v.ID, v.UID)
    	}
    }
    
    // https://github.com/go-gorm/gorm/issues/5300
    func TestMigrateWithSpecialName(t *testing.T) {
    	var err error
    	err = DB.AutoMigrate(&Coupon{})
    	if err != nil {
    		t.Fatalf("AutoMigrate err:%v", err)
    	}
    	err = DB.Table("coupon_product_1").AutoMigrate(&CouponProduct{})
    	if err != nil {
    		t.Fatalf("AutoMigrate err:%v", err)
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
Back to top