Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ObjectV1 (0.11 sec)

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

    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "ObjectV1")
    					return
    				}
    				z.ObjectV1 = nil
    			} else {
    				if z.ObjectV1 == nil {
    					z.ObjectV1 = new(xlMetaV1Object)
    				}
    				err = z.ObjectV1.DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "ObjectV1")
    					return
    				}
    			}
    			zb0001Mask |= 0x1
    		case "V2Obj":
    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

    		case LegacyType:
    			return j.ObjectV1.DataDir
    		case ObjectType:
    			return uuid.UUID(j.ObjectV2.DataDir).String()
    		}
    	}
    	return ""
    }
    
    // Valid xl meta xlMetaV2Version is valid
    func (j xlMetaV2Version) Valid() bool {
    	if !j.Type.valid() {
    		return false
    	}
    	switch j.Type {
    	case LegacyType:
    		return j.ObjectV1 != nil &&
    			j.ObjectV1.valid()
    	case ObjectType:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  3. cmd/object-api-deleteobject_test.go

    		{
    			"bucket1",
    			[]objectUpload{{"object0", "content"}, {"object1", "content"}},
    			"object0",
    			[]string{"object1"},
    		},
    		// Test 2: remove an object inside a directory and checks it is deleted
    		// with its parent since this former becomes empty
    		{
    			"bucket2",
    			[]objectUpload{{"object0", "content"}, {"dir/object1", "content"}},
    			"dir/object1",
    			[]string{"object0"},
    		},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/ObjectUtil.java

         * </pre>
         *
         * @param object1
         *            オブジェクト(<code>null</code>可)
         * @param object2
         *            オブジェクト(<code>null</code>可)
         * @return 引数の2つのオブジェクトが等しい場合は<code>true</code>を返します。
         */
        public static boolean equals(final Object object1, final Object object2) {
            if (object1 == object2) {
                return true;
            }
            if (object1 == null || object2 == null) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. internal/lsync/lrwmutex_test.go

    	ctx := context.Background()
    	lrwm := NewLRWMutex()
    
    	if !lrwm.GetRLock(ctx, "", "object1", time.Second) {
    		panic("Failed to acquire read lock")
    	}
    	// fmt.Println("1st read lock acquired, waiting...")
    
    	if !lrwm.GetRLock(ctx, "", "object1", time.Second) {
    		panic("Failed to acquire read lock")
    	}
    	// fmt.Println("2nd read lock acquired, waiting...")
    
    	go func() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 05 04:57:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. cmd/erasure-object_test.go

    	}
    
    	// Object for test case 1 - No StorageClass defined, no MetaData in PutObject
    	object1 := "object1"
    	globalStorageClass.Update(storageclass.Config{
    		RRS: storageclass.StorageClass{
    			Parity: 2,
    		},
    		Standard: storageclass.StorageClass{
    			Parity: 4,
    		},
    	})
    	_, err = obj.PutObject(ctx, bucket, object1, mustGetPutObjReader(t, bytes.NewReader(data), int64(len(data)), "", ""), opts)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  7. tests/migrate_test.go

    	if err != nil {
    		t.Errorf("Open err:%v", err)
    	}
    
    	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)
    	}
    
    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