Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for ObjectV2 (0.08 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-legacy.go

    	if v > xlMetaVersion {
    		return bts, fmt.Errorf("unknown xlMetaVersion: %d", v)
    	}
    
    	// Clear omitempty fields:
    	if j.ObjectV2 != nil && len(j.ObjectV2.PartIndices) > 0 {
    		j.ObjectV2.PartIndices = j.ObjectV2.PartIndices[:0]
    	}
    	o, err = j.UnmarshalMsg(bts)
    
    	// Fix inconsistent x-minio-internal-replication-timestamp by converting to UTC.
    	// Fixed in version 2 or later
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 19 16:43:43 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. 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 (0)
  4. cmd/xl-storage-free-version.go

    		// if uv has tiered content we add a
    		// free-version to track it for asynchronous
    		// deletion via scanner.
    		ver, err := x.getIdx(i)
    		if err != nil {
    			return err
    		}
    
    		if freeVersion, toFree := ver.ObjectV2.InitFreeVersion(fi); toFree {
    			return x.addVersion(freeVersion)
    		}
    		return nil
    	}
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2_test.go

    		_, version, err := xl.findVersion(uuid.MustParse(tc.versionID))
    		failOnErr(i+1, err)
    		if got := xl.SharedDataDirCount(version.getVersionID(), version.ObjectV2.DataDir); got != tc.shares {
    			t.Fatalf("Test %d: For %#v, expected sharers of data directory %d got %d", i+1, version.ObjectV2.VersionID, tc.shares, got)
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/ObjectUtil.java

         *            オブジェクト(<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) {
                return false;
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. cmd/object-api-deleteobject_test.go

    		// but other sibling object in the same directory still exists
    		{
    			"bucket3",
    			[]objectUpload{{"dir/object1", "content"}, {"dir/object2", "content"}},
    			"dir/object1",
    			[]string{"dir/object2"},
    		},
    		// Test 4: remove a non empty directory and checks it has no effect
    		{
    			"bucket4",
    			[]objectUpload{{"object0", "content"}, {"dir/object1", "content"}},
    			"dir/",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. cmd/erasure-object_test.go

    	parts1SC := globalStorageClass
    
    	// Object for test case 2 - No StorageClass defined, MetaData in PutObject requesting RRS Class
    	object2 := "object2"
    	metadata2 := make(map[string]string)
    	metadata2["x-amz-storage-class"] = storageclass.RRS
    	_, err = obj.PutObject(ctx, bucket, object2, mustGetPutObjReader(t, bytes.NewReader(data), int64(len(data)), "", ""), ObjectOptions{UserDefined: metadata2})
    	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)
  9. 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)
  10. cmd/erasure-encode_test.go

    			}
    			writers := make([]io.Writer, len(disks))
    			for i, disk := range disks {
    				if disk == nil {
    					continue
    				}
    				writers[i] = newBitrotWriter(disk, "", "testbucket", "object2", erasure.ShardFileSize(int64(len(data[test.offset:]))), test.algorithm, erasure.ShardSize())
    			}
    			for j := range disks[:test.offDisks] {
    				switch w := writers[j].(type) {
    				case *wholeBitrotWriter:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top