Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ObjectV2 (0.05 sec)

  1. cmd/xl-storage-format-v2_gen.go

    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "ObjectV2")
    					return
    				}
    				z.ObjectV2 = nil
    			} else {
    				if z.ObjectV2 == nil {
    					z.ObjectV2 = new(xlMetaV2Object)
    				}
    				err = z.ObjectV2.DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "ObjectV2")
    					return
    				}
    			}
    			zb0001Mask |= 0x2
    		case "DelObj":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2.go

    		for i := range fi.Parts {
    			ventry.ObjectV2.PartSizes[i] = fi.Parts[i].Size
    			if len(ventry.ObjectV2.PartETags) > 0 && fi.Parts[i].ETag != "" {
    				ventry.ObjectV2.PartETags[i] = fi.Parts[i].ETag
    			}
    			ventry.ObjectV2.PartNumbers[i] = fi.Parts[i].Number
    			ventry.ObjectV2.PartActualSizes[i] = fi.Parts[i].ActualSize
    			if len(ventry.ObjectV2.PartIndices) > 0 {
    				ventry.ObjectV2.PartIndices[i] = fi.Parts[i].Index
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  3. tests/migrate_test.go

    	}
    
    	type Object1 struct{}
    	type Object2 struct {
    		Field1 string
    	}
    	type Object3 struct {
    		Field2 string
    	}
    	db.Migrator().DropTable("objects")
    
    	err = db.Table("objects").AutoMigrate(&Object1{})
    	if err != nil {
    		t.Errorf("AutoMigrate err:%v", err)
    	}
    
    	err = db.Table("objects").AutoMigrate(&Object2{})
    	if err != nil {
    		t.Errorf("AutoMigrate err:%v", err)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
Back to top