Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 450 for part2 (0.21 sec)

  1. internal/s3select/sql/evaluate.go

    	endVal, endErr := e.End.evalNode(r, tableAlias)
    	if endErr != nil {
    		return nil, endErr
    	}
    
    	part1, err1 := stVal.compareOp(opLte, arg)
    	if err1 != nil {
    		return nil, err1
    	}
    
    	part2, err2 := arg.compareOp(opLte, endVal)
    	if err2 != nil {
    		return nil, err2
    	}
    
    	result := part1 && part2
    	if e.Not {
    		result = !result
    	}
    
    	return FromBool(result), nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  2. cmd/erasure-metadata.go

    		Checksums:  checksums,
    	}
    
    	// Update part info if it already exists.
    	for i, part := range fi.Parts {
    		if partNumber == part.Number {
    			fi.Parts[i] = partInfo
    			return
    		}
    	}
    
    	// Proceed to include new part info.
    	fi.Parts = append(fi.Parts, partInfo)
    
    	// Parts in FileInfo should be in sorted order by part number.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  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
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  4. cmd/object-api-utils.go

    }
    
    // Create an s3 compatible MD5sum for complete multipart transaction.
    func getCompleteMultipartMD5(parts []CompletePart) string {
    	var finalMD5Bytes []byte
    	for _, part := range parts {
    		md5Bytes, err := hex.DecodeString(canonicalizeETag(part.ETag))
    		if err != nil {
    			finalMD5Bytes = append(finalMD5Bytes, []byte(part.ETag)...)
    		} else {
    			finalMD5Bytes = append(finalMD5Bytes, md5Bytes...)
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  5. 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 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  6. cmd/typed-errors.go

    var errUploadIDNotFound = errors.New("Specified Upload ID is not found")
    
    // error returned when PartNumber is greater than the maximum allowed 10000 parts
    var errInvalidMaxParts = errors.New("Part number is greater than the maximum allowed 10000 parts")
    
    // error returned for session policies > 2048
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  7. cmd/net.go

    		addr2Local = true
    	} else if addr2Local, err = isLocalHost(host2, port2, port2); err != nil {
    		// Host not empty, check if it is local
    		return false, err
    	}
    
    	// If both of addresses point to the same machine, check if
    	// have the same port
    	if addr1Local && addr2Local {
    		if port1 == port2 {
    			return true, nil
    		}
    	}
    	return false, nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  8. cmd/test-utils_test.go

    }
    
    // return URL for a listing parts on a given upload id.
    func getListMultipartURLWithParams(endPoint, bucketName, objectName, uploadID, maxParts, partNumberMarker, encoding string) string {
    	queryValues := url.Values{}
    	queryValues.Set("uploadId", uploadID)
    	queryValues.Set("max-parts", maxParts)
    	if partNumberMarker != "" {
    		queryValues.Set("part-number-marker", partNumberMarker)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  9. internal/event/target/elasticsearch.go

    	ESSSupported ESSupportStatus = "ESSSupported"
    )
    
    func getESVersionSupportStatus(version string) (res ESSupportStatus, err error) {
    	parts := strings.Split(version, ".")
    	if len(parts) < 1 {
    		err = fmt.Errorf("bad ES version string: %s", version)
    		return
    	}
    
    	majorVersion, err := strconv.Atoi(parts[0])
    	if err != nil {
    		err = fmt.Errorf("bad ES version string: %s", version)
    		return
    	}
    
    	switch {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 15K bytes
    - Viewed (0)
  10. cmd/warm-backend-minio.go

    		return
    	}
    
    	configuredPartSize := minPartSize
    	// Use floats for part size for all calculations to avoid
    	// overflows during float64 to int64 conversions.
    	partSizeFlt := float64(objectSize / maxPartsCount)
    	partSizeFlt = math.Ceil(partSizeFlt/float64(configuredPartSize)) * float64(configuredPartSize)
    
    	// Part size.
    	partSize = int64(partSizeFlt)
    	if partSize == 0 {
    		return minPartSize, nil
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top