Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isMinAllowedPartSize (0.11 sec)

  1. cmd/utils.go

    // isMaxObjectSize - verify if max object size
    func isMaxObjectSize(size int64) bool {
    	return size > globalMaxObjectSize
    }
    
    // Check if part size is more than or equal to minimum allowed size.
    func isMinAllowedPartSize(size int64) bool {
    	return size >= globalMinPartSize
    }
    
    // isMaxPartNumber - Check if part ID is greater than the maximum allowed ID.
    func isMaxPartID(partID int) bool {
    	return partID > globalMaxPartID
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    					PartNumber: part.PartNumber,
    				}
    			}
    			checksumCombined = append(checksumCombined, cs.Raw...)
    		}
    
    		// All parts except the last part has to be at least 5MB.
    		if (i < len(parts)-1) && !isMinAllowedPartSize(currentFI.Parts[partIdx].ActualSize) {
    			return oi, PartTooSmall{
    				PartNumber: part.PartNumber,
    				PartSize:   expPart.ActualSize,
    				PartETag:   part.ETag,
    			}
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
Back to top