Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for calculated (9.49 sec)

  1. internal/hash/errors.go

    	return "Bad sha256: Expected " + e.ExpectedSHA256 + " does not match calculated " + e.CalculatedSHA256
    }
    
    // BadDigest - Content-MD5 you specified did not match what we received.
    type BadDigest struct {
    	ExpectedMD5   string
    	CalculatedMD5 string
    }
    
    func (e BadDigest) Error() string {
    	return "Bad digest: Expected " + e.ExpectedMD5 + " does not match calculated " + e.CalculatedMD5
    }
    
    // SizeTooSmall reader size too small
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon May 15 21:08:54 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  2. cmd/xl-storage-meta-inline.go

    // serialize will serialize the provided keys and values.
    // The function will panic if keys/value slices aren't of equal length.
    // Payload size can give an indication of expected payload size.
    // If plSize is <= 0 it will be calculated.
    func (x *xlMetaInlineData) serialize(plSize int, keys [][]byte, vals [][]byte) {
    	if len(keys) != len(vals) {
    		panic(fmt.Errorf("xlMetaInlineData.serialize: keys/value number mismatch"))
    	}
    	if len(keys) == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  3. cmd/api-errors.go

    		Description:    "Requests specifying Server Side Encryption with Customer provided keys must provide the client calculated MD5 of the secret key.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSSECustomerKeyMD5Mismatch: {
    		Code:           "InvalidArgument",
    		Description:    "The calculated MD5 hash of the key did not match the hash that was provided.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  4. cmd/encryption-v1_test.go

    			if !readStart && cumulativeSum+v > skipLen {
    				// Read starts at the current part
    				readStart = true
    
    				partOffset = skipLen - cumulativeSum
    
    				// All return values except `l` are
    				// calculated here.
    				sn = uint32(partOffset / pkgSz)
    				skip = partOffset % pkgSz
    				ps = i
    				o = cumulativeEncSum + int64(sn)*(pkgSz+32)
    
    				partDarePkgOffset = partOffset - skip
    			}
    			if readStart {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 24 04:17:08 GMT 2022
    - 19.9K bytes
    - Viewed (0)
  5. cmd/object-api-errors.go

    }
    
    // SignatureDoesNotMatch - when content md5 does not match with what was sent from client.
    type SignatureDoesNotMatch struct{}
    
    func (e SignatureDoesNotMatch) Error() string {
    	return "The request signature we calculated does not match the signature you provided. Check your key and signing method."
    }
    
    // StorageFull storage ran out of space.
    type StorageFull struct{}
    
    func (e StorageFull) Error() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  6. cmd/server_test.go

    	c.Assert(err, nil)
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	verifyError(c, response, "SignatureDoesNotMatch", "The request signature we calculated does not match the signature you provided. Check your key and signing method.", http.StatusForbidden)
    }
    
    // This tests validate if PUT handler can successfully detect SHA256 mismatch.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  7. cmd/signature-v2.go

    //  	[ subresource, if present. For example "?acl", "?location", "?logging", or "?torrent"];
    //
    // CanonicalizedProtocolHeaders = <described below>
    
    // doesSignV2Match - Verify authorization header with calculated header in accordance with
    //     - http://docs.aws.amazon.com/AmazonS3/latest/dev/auth-request-sig-v2.html
    // returns true if matches, false otherwise. if error is not nil then it is always false
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  8. cmd/streaming-signature-v4.go

    	// Calculate signature.
    	newSignature := getSignature(signingKey, stringToSign)
    
    	// Verify if signature match.
    	if !compareSignatureV4(newSignature, signV4Values.Signature) {
    		return cred, "", "", time.Time{}, ErrSignatureDoesNotMatch
    	}
    
    	// Return calculated signature.
    	return cred, newSignature, region, date, ErrNone
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  9. docs/metrics/prometheus/list.md

    # Cluster Metrics
    
    MinIO collects the following metrics at the cluster level.
    Metrics may include one or more labels, such as the server that calculated that metric.
    
    These metrics can be obtained from any MinIO server once per collection by using the following URL:
    
    ```shell
    https://HOSTNAME:PORT/minio/v2/metrics/cluster
    ```
    
    Replace ``HOSTNAME:PORT`` with the hostname of your MinIO deployment.
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 43.4K bytes
    - Viewed (2)
  10. cmd/signature-v4-utils.go

    )
    
    // http Header "x-amz-content-sha256" == "UNSIGNED-PAYLOAD" indicates that the
    // client did not calculate sha256 of the payload.
    const unsignedPayload = "UNSIGNED-PAYLOAD"
    
    // http Header "x-amz-content-sha256" == "STREAMING-UNSIGNED-PAYLOAD-TRAILER" indicates that the
    // client did not calculate sha256 of the payload and there is a trailer.
    const unsignedPayloadTrailer = "STREAMING-UNSIGNED-PAYLOAD-TRAILER"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
Back to top