Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for PartSizes (0.1 sec)

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

    						return
    					}
    				}
    			}
    		case "PartSizes":
    			var zb0007 uint32
    			zb0007, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "PartSizes")
    				return
    			}
    			if cap(z.PartSizes) >= int(zb0007) {
    				z.PartSizes = (z.PartSizes)[:zb0007]
    			} else {
    				z.PartSizes = make([]int64, zb0007)
    			}
    			for za0006 := range z.PartSizes {
    				z.PartSizes[za0006], err = dc.ReadInt64()
    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/test-utils_test.go

    // object). When `len(partSizes) == 1`, asMultipart is used to upload
    // the object as multipart with 1 part or as a regular single object.
    //
    // All upload failures are considered test errors - this function is
    // intended as a helper for other tests.
    func uploadTestObject(t *testing.T, apiRouter http.Handler, creds auth.Credentials, bucketName, objectName string,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2.go

    	PartETags          []string          `json:"PartETags" msg:"PartETags,allownil"`             // Part ETags
    	PartSizes          []int64           `json:"PartSizes" msg:"PartSizes"`                      // Part Sizes
    	PartActualSizes    []int64           `json:"PartASizes,omitempty" msg:"PartASizes,allownil"` // Part ActualSizes (compression)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  4. docs/debugging/xl-meta/main.go

    				return nil, fmt.Errorf("size mismatch. Meta size: %d, Prev: %d", ei.V2Obj.Size, m.objSize)
    			}
    			for i, s := range ei.V2Obj.PartNums {
    				if s == partNum {
    					m.size = ei.V2Obj.PartSizes[i]
    					m.partSize = ei.V2Obj.PartSizes[i]
    					break
    				}
    			}
    		} else {
    			return nil, err
    		}
    
    		offset := ei.V2Obj.EcBSize * blockNum
    		if offset >= m.size {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
Back to top