Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 567 for Part (0.02 sec)

  1. cmd/erasure-multipart.go

    			}
    		}
    
    		// Add the current part.
    		fi.AddObjectPart(part.Number, part.ETag, part.Size, part.ActualSize, part.ModTime, part.Index, part.Checksums)
    	}
    
    	// Calculate full object size.
    	var objectSize int64
    
    	// Calculate consolidated actual size.
    	var objectActualSize int64
    
    	// Order online disks in accordance with distribution order.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  2. cmd/erasure-metadata.go

    // objectPartIndex - returns the index of matching object part number.
    // Returns -1 if the part cannot be found.
    func objectPartIndex(parts []ObjectPartInfo, partNumber int) int {
    	for i, part := range parts {
    		if partNumber == part.Number {
    			return i
    		}
    	}
    	return -1
    }
    
    // objectPartIndexNums returns the index of the specified part number.
    // Returns -1 if the part cannot be found.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  3. cmd/object-api-datatypes.go

    }
    
    // PartInfo - represents individual part metadata.
    type PartInfo struct {
    	// Part number that identifies the part. This is a positive integer between
    	// 1 and 10,000.
    	PartNumber int
    
    	// Date and time at which the part was uploaded.
    	LastModified time.Time
    
    	// Entity tag returned when the part was initially uploaded.
    	ETag string
    
    	// Size in bytes of the part.
    	Size int64
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  4. cmd/encryption-v1.go

    }
    
    // decryptChecksums will attempt to decode checksums and return it/them if set.
    // if part > 0, and we have the checksum for the part that will be returned.
    func (o *ObjectInfo) decryptChecksums(part int, h http.Header) map[string]string {
    	data := o.Checksum
    	if len(data) == 0 {
    		return nil
    	}
    	if part > 0 && !crypto.SSEC.IsEncrypted(o.UserDefined) {
    		// already decrypted in ToObjectInfo for multipart objects
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  5. cmd/object-api-multipart_test.go

    	sha256sum := ""
    	var opts ObjectOptions
    	// Iterating over creatPartCases to generate multipart chunks.
    	for _, part := range parts {
    		_, err = obj.PutObjectPart(context.Background(), part.bucketName, part.objName, part.uploadID, part.PartID, mustGetPutObjReader(t, bytes.NewBufferString(part.inputReaderData), part.inputDataSize, part.inputMd5, sha256sum), opts)
    		if err != nil {
    			t.Fatalf("%s : %s", instanceType, err)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  6. cmd/erasure-healing_test.go

    		Recursive: false,
    		Immediate: false,
    	})
    	if err != nil {
    		t.Errorf("Failure during deleting part.1 - %v", err)
    	}
    
    	err = firstDisk.WriteAll(context.Background(), bucket, pathJoin(object, fi.DataDir, "part.1"), []byte{})
    	if err != nil {
    		t.Errorf("Failure during creating part.1 - %v", err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v1.go

    	ModTime    time.Time         `json:"modTime" msg:"mt"`    // Date and time at which the part was uploaded.
    	Index      []byte            `json:"index,omitempty" msg:"i,omitempty"`
    	Checksums  map[string]string `json:"crc,omitempty" msg:"crc,omitempty"`   // Content Checksums
    	Error      string            `json:"error,omitempty" msg:"err,omitempty"` // only set while reading part meta from drive.
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. internal/hash/checksum.go

    			res = make([]map[string]string, parts)
    		}
    		b = b[n:]
    		for part := 0; part < int(parts); part++ {
    			if len(b) < length {
    				break
    			}
    			// Read part checksum
    			cs := base64.StdEncoding.EncodeToString(b[:length])
    			b = b[length:]
    			if res[part] == nil {
    				res[part] = make(map[string]string, 1)
    			}
    			res[part][typ.String()] = cs
    		}
    	}
    	return res
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. docs/debugging/xl-meta/main.go

    					otherPart := getPartNum(other[0])
    					if part != otherPart {
    						fmt.Println("part ", part, " != other part", otherPart, other[0])
    						continue
    					}
    					// fmt.Println("part ", part, "other part", otherPart, other[0])
    					fmt.Printf("Reading version %q Part %d.\n", otherKey, otherPart)
    					// os.Exit(0)
    					otherM, err := readAndMap(other, part, block)
    					if err != nil {
    						fmt.Println(err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  10. cmd/erasure-healing-common_test.go

    	// Test 4: key = disk index, value = part name with hash mismatch
    	diskFailures := make(map[int]string)
    	diskFailures[0] = "part.1"
    	diskFailures[3] = "part.1"
    	diskFailures[15] = "part.1"
    
    	for diskIndex, partName := range diskFailures {
    		for i := range partsMetadata[diskIndex].Parts {
    			if fmt.Sprintf("part.%d", i+1) == partName {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 15:19:10 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top