Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for incorrecta (0.16 sec)

  1. cmd/endpoint-ellipses.go

    	for _, totalSize := range totalSizes {
    		// Check if totalSize has minimum range upto setSize
    		if totalSize < setSizes[0] || totalSize < setDriveCount {
    			msg := fmt.Sprintf("Incorrect number of endpoints provided %s", args)
    			return nil, config.ErrInvalidNumberOfErasureEndpoints(nil).Msg(msg)
    		}
    	}
    
    	commonSize := getDivisibleSize(totalSizes)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  2. cmd/erasure-utils.go

    	if err != nil {
    		return "", fmt.Errorf("error parsing uploadID %s (%w)", uploadID, err)
    	}
    	slc := strings.SplitN(string(uploadBytes), ".", 2)
    	if len(slc) != 2 {
    		return "", fmt.Errorf("uploadID %s has incorrect format", uploadID)
    	}
    	return slc[0], nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  3. cmd/signature-v4_test.go

    		expected APIErrorCode
    	}{
    		// (0) It should fail if 'X-Amz-Credential' is missing.
    		{
    			form:     http.Header{},
    			expected: ErrCredMalformed,
    		},
    		// (1) It should fail if the access key is incorrect.
    		{
    			form: http.Header{
    				"X-Amz-Credential": []string{fmt.Sprintf(credentialTemplate, "EXAMPLEINVALIDEXAMPL", now.Format(yyyymmdd), globalMinioDefaultRegion)},
    			},
    			expected: ErrInvalidAccessKeyID,
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  4. cmd/bucket-replication-utils_test.go

    		rs:        ReplicationState{ReplicationStatusInternal: "arn1=PENDING;", Targets: map[string]replication.StatusType{"arn1": "PENDING"}},
    		expStatus: replication.Pending,
    	},
    	{ // 3. replication status for one target - incorrect format
    		name:      "replication status for one target",
    		rs:        ReplicationState{ReplicationStatusInternal: "arn1=PENDING"},
    		expStatus: replication.StatusType(""),
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 08 20:27:40 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  5. src/archive/zip/reader.go

    	// Gloss over this by reading headers until we encounter
    	// a bad one, and then only report an ErrFormat or UnexpectedEOF if
    	// the file count modulo 65536 is incorrect.
    	for {
    		f := &File{zip: r, zipr: rdr}
    		err = readDirectoryHeader(f, buf)
    		if err == ErrFormat || err == io.ErrUnexpectedEOF {
    			break
    		}
    		if err != nil {
    			return err
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  6. cmd/signature-v4-utils_test.go

    	}
    
    	// Since the list of signed headers value contained `expect`, the default value of `100-continue` will be added to extracted signed headers.
    	if extractedExpect != expectedExpect {
    		t.Errorf("expect header incorrect value: expected `%s`, got `%s`", expectedExpect, extractedExpect)
    	}
    
    	// case where the headers don't contain the one of the signed header in the signed headers list.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  7. src/bufio/scan.go

    		return 0, nil, nil
    	}
    
    	// We have a real UTF-8 encoding error. Return a properly encoded error rune
    	// but advance only one byte. This matches the behavior of a range loop over
    	// an incorrectly encoded string.
    	return 1, errorRune, nil
    }
    
    // dropCR drops a terminal \r from the data.
    func dropCR(data []byte) []byte {
    	if len(data) > 0 && data[len(data)-1] == '\r' {
    		return data[0 : len(data)-1]
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  8. cmd/object-api-utils.go

    		gotIdx = <-indexCh
    		return gotIdx
    	}
    }
    
    // compressSelfTest performs a self-test to ensure that compression
    // algorithms completes a roundtrip. If any algorithm
    // produces an incorrect checksum it fails with a hard error.
    //
    // compressSelfTest tries to catch any issue in the compression implementation
    // early instead of silently corrupting data.
    func compressSelfTest() {
    	// 4 MB block.
    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)
  9. cmd/test-utils_test.go

    	}
    	return newTestSignedRequestV4(method, urlStr, contentLength, body, accessKey, secretKey, nil)
    }
    
    // Returns request with correct signature but with incorrect SHA256.
    func newTestSignedBadSHARequest(method, urlStr string, contentLength int64, body io.ReadSeeker, accessKey, secretKey string, signer signerType) (*http.Request, error) {
    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)
  10. cmd/update-notifier.go

    	msgLine1Fmt := " You are running an older version of MinIO released %s "
    	msgLine2Fmt := " Update: %s "
    
    	// Calculate length *without* color coding: with ANSI terminal
    	// color characters, the result is incorrect.
    	line1Length := len(fmt.Sprintf(msgLine1Fmt, newerThan))
    	line2Length := len(fmt.Sprintf(msgLine2Fmt, updateString))
    
    	// Populate lines with color coding.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
Back to top