Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 110 for fuint8 (0.05 sec)

  1. tests/associations_belongs_to_test.go

    	type ItemParent struct {
    		gorm.Model
    		Logo string `gorm:"not null;type:varchar(50)"`
    	}
    	type ItemChild struct {
    		gorm.Model
    		Name         string `gorm:"type:varchar(50)"`
    		ItemParentID uint
    		ItemParent   ItemParent
    	}
    
    	tx := DB.Session(&gorm.Session{})
    	tx.Migrator().DropTable(&ItemParent{}, &ItemChild{})
    	tx.AutoMigrate(&ItemParent{}, &ItemChild{})
    
    	item := ItemChild{
    		Name: "name",
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  2. statement.go

    		default:
    			switch rv := reflect.ValueOf(v); rv.Kind() {
    			case reflect.Slice, reflect.Array:
    				if rv.Len() == 0 {
    					writer.WriteString("(NULL)")
    				} else if rv.Type().Elem() == reflect.TypeOf(uint8(0)) {
    					stmt.Vars = append(stmt.Vars, v)
    					stmt.DB.Dialector.BindVarTo(writer, stmt, v)
    				} else {
    					writer.WriteByte('(')
    					for i := 0; i < rv.Len(); i++ {
    						if i > 0 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. cmd/erasure-healing.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v3/sync/errgroup"
    	"golang.org/x/exp/slices"
    )
    
    //go:generate stringer -type=healingMetric -trimprefix=healingMetric $GOFILE
    
    type healingMetric uint8
    
    const (
    	healingMetricBucket healingMetric = iota
    	healingMetricObject
    	healingMetricCheckAbandonedParts
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  4. cmd/erasure-metadata_test.go

    			status:          "complete",
    		},
    		{
    			tier:            "S3TIER-2",
    			remoteObjName:   mustGetUUID(),
    			remoteVersionID: mustGetUUID(),
    			status:          "complete",
    		},
    	}
    
    	var i uint
    	for i = 0; i < 8; i++ {
    		fi := FileInfo{
    			TransitionTier:      inputs[0].tier,
    			TransitionedObjName: inputs[0].remoteObjName,
    			TransitionVersionID: inputs[0].remoteVersionID,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:02:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. cmd/xl-storage-disk-id-check.go

    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/logger"
    )
    
    //go:generate stringer -type=storageMetric -trimprefix=storageMetric $GOFILE
    
    type storageMetric uint8
    
    const (
    	storageMetricMakeVolBulk storageMetric = iota
    	storageMetricMakeVol
    	storageMetricListVols
    	storageMetricStatVol
    	storageMetricDeleteVol
    	storageMetricWalkDir
    	storageMetricListDir
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  6. tests/upsert_test.go

    		t.Errorf("belongs to association should be saved")
    	}
    }
    
    func TestUpdateWithMissWhere(t *testing.T) {
    	type User struct {
    		ID   uint   `gorm:"column:id;<-:create"`
    		Name string `gorm:"column:name"`
    	}
    	user := User{ID: 1, Name: "king"}
    	tx := DB.Session(&gorm.Session{DryRun: true}).Save(&user)
    
    	if err := tx.Error; err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Sep 05 07:39:19 UTC 2022
    - 11.4K bytes
    - Viewed (0)
  7. schema/schema.go

    			schema.FieldsWithDefaultDBValue = append(schema.FieldsWithDefaultDBValue, field)
    		}
    	}
    
    	if field := schema.PrioritizedPrimaryField; field != nil {
    		switch field.GORMDataType {
    		case Int, Uint:
    			if _, ok := field.TagSettings["AUTOINCREMENT"]; !ok {
    				if !field.HasDefaultValue || field.DefaultValueInterface != nil {
    					schema.FieldsWithDefaultDBValue = append(schema.FieldsWithDefaultDBValue, field)
    				}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 20 12:19:31 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. internal/auth/credentials.go

    	case float64:
    		expAt, err = int64(exp), nil
    	case int64:
    		expAt, err = exp, nil
    	case int:
    		expAt, err = int64(exp), nil
    	case uint64:
    		expAt, err = int64(exp), nil
    	case uint:
    		expAt, err = int64(exp), nil
    	case json.Number:
    		expAt, err = exp.Int64()
    	case time.Duration:
    		expAt, err = time.Now().UTC().Add(exp).Unix(), nil
    	case nil:
    		expAt, err = 0, nil
    	default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. docs/es/docs/index.md

    </a>
    </p>
    
    ---
    
    **Documentación**: <a href="https://fastapi.tiangolo.com" target="_blank">https://fastapi.tiangolo.com</a>
    
    **Código Fuente**: <a href="https://github.com/fastapi/fastapi" target="_blank">https://github.com/fastapi/fastapi</a>
    
    ---
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool-decom.go

    //msgp:ignore decomMetrics
    type decomMetrics struct{}
    
    var globalDecommissionMetrics decomMetrics
    
    //msgp:ignore decomMetric
    //go:generate stringer -type=decomMetric -trimprefix=decomMetric $GOFILE
    type decomMetric uint8
    
    const (
    	decomMetricDecommissionBucket decomMetric = iota
    	decomMetricDecommissionObject
    	decomMetricDecommissionRemoveObject
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
Back to top