Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for incorect (0.16 sec)

  1. cmd/postpolicyform_test.go

    		// Incorrect bucket name.
    		{Bucket: "incorrect", Key: "user/user1/filename/myfile.txt", XAmzMetaUUID: "14365123651274", XAmzDate: "20160727T000000Z", XAmzAlgorithm: "AWS4-HMAC-SHA256", ContentType: "image/jpeg", expectedErr: fmt.Errorf("Invalid according to Policy: Policy Condition failed")},
    		// Incorrect key name
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 8.9K bytes
    - Viewed (0)
  2. cmd/bootstrap-peer-server.go

    					if !isNetworkError(err) {
    						bootLogOnceIf(context.Background(), fmt.Errorf("%s has incorrect configuration: %w", clnt, err), "incorrect_"+clnt.String())
    						incorrectConfigs = append(incorrectConfigs, fmt.Errorf("%s has incorrect configuration: %w", clnt, err))
    					} else {
    						offlineEndpoints = append(offlineEndpoints, fmt.Errorf("%s is unreachable: %w", clnt, err))
    					}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  3. internal/hash/reader_test.go

    		{
    			desc:       "Nested hash reader NewReader() should merge.",
    			src:        mustReader(t, bytes.NewReader([]byte("abcd")), 4, "", "", 4),
    			size:       4,
    			actualSize: 4,
    		},
    		{
    			desc:       "Incorrect sha256, nested",
    			src:        mustReader(t, bytes.NewReader([]byte("abcd")), 4, "", "", 4),
    			size:       4,
    			actualSize: 4,
    			sha256hex:  "50d858e0985ecc7f60418aaf0cc5ab587f42c2570a884095a9e8ccacd0f6545c",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  4. cmd/api-errors.go

    		Description:    "Error parsing the Credential/X-Amz-Credential parameter; incorrect service. This endpoint belongs to \"s3\".",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidServiceSTS: {
    		Code:           "AuthorizationParametersError",
    		Description:    "Error parsing the Credential parameter; incorrect service. This endpoint belongs to \"sts\".",
    		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)
  5. cmd/httprange_test.go

    		if err != nil && !testCase.errExpected || err == nil && testCase.errExpected {
    			t.Errorf("expected error with invalid range: %v", err)
    		}
    		if h != testCase.spec {
    			t.Errorf("Case %d: translated to incorrect header: %s expected: %s",
    				i, h, testCase.spec)
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  6. internal/mountinfo/mountinfo_linux.go

    	for {
    		line, err := scanner.ReadString('\n')
    		if err == io.EOF {
    			break
    		}
    
    		fields := strings.Fields(line)
    		if len(fields) != expectedNumFieldsPerLine {
    			// ignore incorrect lines.
    			continue
    		}
    
    		// Freq should be an integer.
    		if _, err := strconv.Atoi(fields[4]); err != nil {
    			return nil, err
    		}
    
    		// Pass should be an integer.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.7K bytes
    - Viewed (0)
  7. update-credits.sh

          other entities that control, are controlled by, or are under common
          control with that entity. For the purposes of this definition,
          "control" means (i) the power, direct or indirect, to cause the
          direction or management of such entity, whether by contract or
          otherwise, or (ii) ownership of fifty percent (50%) or more of the
          outstanding shares, or (iii) beneficial ownership of such entity.
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Aug 11 05:08:38 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  8. internal/s3select/sql/parser_test.go

    		"['abc-x_1##@(*&(#*))/\\']",
    	}
    	for i, tc := range validCases {
    		err := p.ParseString(tc, &k)
    		if err != nil {
    			t.Fatalf("%d: %v", i, err)
    		}
    		if string(*k.Lit) == "" {
    			t.Fatalf("Incorrect parse %#v", k)
    		}
    		// repr.Println(k, repr.Indent("  "), repr.OmitEmpty(true))
    	}
    
    	invalidCases := []string{
    		"['abc'']",
    		"['-abc'sc']",
    		"[abc']",
    		"['ac]",
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  9. cmd/server_test.go

    	c.Assert(response.StatusCode, http.StatusOK)
    
    	objName := "test-object"
    
    	// Body is on purpose set to nil so that we get payload generated for empty bytes.
    
    	// Create new HTTP request with incorrect secretKey to generate an incorrect signature.
    	secretKey := s.secretKey + "a"
    	request, err = newTestSignedRequest(http.MethodPut, getPutObjectURL(s.endPoint, bucketName, objName), 0, nil, s.accessKey, secretKey, s.signer)
    	c.Assert(err, nil)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  10. cmd/object-api-errors.go

    	Object    string
    	VersionID string
    	Err       error
    }
    
    // Unwrap the error to its underlying error.
    func (e GenericError) Unwrap() error {
    	return e.Err
    }
    
    // InvalidArgument incorrect input argument
    type InvalidArgument GenericError
    
    func (e InvalidArgument) Error() string {
    	if e.Err != nil {
    		return "Invalid arguments provided for " + e.Bucket + "/" + e.Object + ": (" + e.Err.Error() + ")"
    	}
    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)
Back to top