Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 193 for correctly (0.18 sec)

  1. cmd/metacache-walk.go

    				entries[i] = ""
    				continue
    			}
    			if hasSuffixByte(entry, SlashSeparatorChar) {
    				if strings.HasSuffix(entry, globalDirSuffixWithSlash) {
    					// Add without extension so it is sorted correctly.
    					entry = strings.TrimSuffix(entry, globalDirSuffixWithSlash) + slashSeparator
    					dirObjects[entry] = struct{}{}
    					entries[i] = entry
    					continue
    				}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  2. cmd/signature-v4.go

    func getSignature(signingKey []byte, stringToSign string) string {
    	return hex.EncodeToString(sumHMAC(signingKey, []byte(stringToSign)))
    }
    
    // Check to see if Policy is signed correctly.
    func doesPolicySignatureMatch(formValues http.Header) (auth.Credentials, APIErrorCode) {
    	// For SignV2 - Signature field will be valid
    	if _, ok := formValues[xhttp.AmzSignatureV2]; ok {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  3. cmd/utils_test.go

    		ceiling := ceilFrac(testCase.numerator, testCase.denominator)
    		if ceiling != testCase.ceiling {
    			t.Errorf("Case %d: Unexpected result: %d", i, ceiling)
    		}
    	}
    }
    
    // Test if isErrIgnored works correctly.
    func TestIsErrIgnored(t *testing.T) {
    	errIgnored := fmt.Errorf("ignored error")
    	testCases := []struct {
    		err     error
    		ignored bool
    	}{
    		{
    			err:     nil,
    			ignored: false,
    		},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Feb 23 21:28:14 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  4. cmd/erasure-healing_test.go

    		t.Fatalf("part.1 not healed correctly")
    	}
    
    	partReconstructed, err = secondDisk.ReadAll(context.Background(), bucket, pathJoin(object, fi.DataDir, "part.1"))
    	if err != nil {
    		t.Fatalf("Failed to read a file - %v", err)
    	}
    
    	if !reflect.DeepEqual(part1Disk2Origin, partReconstructed) {
    		t.Fatalf("part.1 not healed correctly")
    	}
    }
    
    // Tests healing of object.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  5. internal/s3select/sql/analysis.go

    )
    
    // qProp contains analysis info about an SQL term.
    type qProp struct {
    	isAggregation, isRowFunc bool
    
    	err error
    }
    
    // `combine` combines a pair of `qProp`s, so that errors are
    // propagated correctly, and checks that an aggregation is not being
    // combined with a row-function term.
    func (p *qProp) combine(q qProp) {
    	switch {
    	case p.err != nil:
    		// Do nothing
    	case q.err != nil:
    		p.err = q.err
    	default:
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  6. docs/debugging/README.md

    ```sh
    mc admin trace --all --verbose myminio
    ```
    
    ## Subnet Health
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Feb 25 01:17:53 GMT 2022
    - 8.7K bytes
    - Viewed (0)
  7. internal/logger/target/http/http.go

    		// accepted HTTP status codes.
    		return nil
    	case http.StatusForbidden:
    		return fmt.Errorf("%s returned '%s', please check if your auth token is correctly set", h.Endpoint(), resp.Status)
    	default:
    		return fmt.Errorf("%s returned '%s', please check your endpoint configuration", h.Endpoint(), resp.Status)
    	}
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users_test.go

    	}
    
    	s.adm, err = madmin.New(s.endpoint, s.accessKey, s.secretKey, s.secure)
    	if err != nil {
    		c.Fatalf("error creating admin client: %v", err)
    	}
    	// Set transport, so that TLS is handled correctly.
    	s.adm.SetCustomTransport(s.TestSuiteCommon.client.Transport)
    
    	s.client, err = minio.New(s.endpoint, &minio.Options{
    		Creds:     credentials.NewStaticV4(s.accessKey, s.secretKey, ""),
    		Secure:    s.secure,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  9. cmd/xl-storage_test.go

    	if err != nil {
    		t.Fatalf("Unable to read older 'xl.json' content: %s", err)
    	}
    
    	if !fi.XLV1 {
    		t.Fatal("Unexpected 'xl.json' content should be correctly interpreted as legacy content")
    	}
    }
    
    // TestXLStorageReadVersion - TestXLStorages the functionality implemented by xlStorage ReadVersion storage API.
    func TestXLStorageReadVersion(t *testing.T) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  10. internal/config/errors.go

    		"Please set the correct default KMS key value or the correct root credentials for older MinIO versions.",
    		`Revert MINIO_KMS_KES_KEY_NAME or MINIO_ROOT_USER/MINIO_ROOT_PASSWORD (for older MinIO versions) to be able to decrypt the internal data again.`,
    	)
    
    	ErrInvalidCredentials = newErrFn(
    		"Invalid credentials",
    		"Please provide correct credentials",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top