Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 891 for Errorfs (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/object-api-utils_test.go

    			got := test.objInfo.IsCompressed()
    			if got != test.result {
    				t.Errorf("IsCompressed: Expected %v but received %v",
    					test.result, got)
    			}
    			got, gErr := test.objInfo.IsCompressedOK()
    			if got != test.result {
    				t.Errorf("IsCompressedOK: Expected %v but received %v",
    					test.result, got)
    			}
    			if gErr != nil != test.err {
    				t.Errorf("IsCompressedOK: want error: %t, got error: %v", test.err, gErr)
    			}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  2. cmd/warm-backend-azure.go

    	case conf.AccountName == "":
    		return errors.New("the account name is required")
    	case conf.AccountKey != "" && (conf.SPAuth.TenantID != "" || conf.SPAuth.ClientID != "" || conf.SPAuth.ClientSecret != ""):
    		return errors.New("multiple authentication mechanisms are provided")
    	case conf.AccountKey == "" && (conf.SPAuth.TenantID == "" || conf.SPAuth.ClientID == "" || conf.SPAuth.ClientSecret == ""):
    		return errors.New("no authentication mechanism was provided")
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Oct 31 22:10:24 GMT 2024
    - 7K bytes
    - Click Count (0)
  3. internal/crypto/metadata_test.go

    		if err != nil && test.ExpectedErr == nil {
    			t.Errorf("Test %d: got error '%v' - want error '%v'", i, err, test.ExpectedErr)
    		}
    		if err == nil && test.ExpectedErr != nil {
    			t.Errorf("Test %d: got error '%v' - want error '%v'", i, err, test.ExpectedErr)
    		}
    		if err != nil && test.ExpectedErr != nil {
    			if err.Error() != test.ExpectedErr.Error() {
    				t.Errorf("Test %d: got error '%v' - want error '%v'", i, err, test.ExpectedErr)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jul 12 20:51:54 GMT 2024
    - 18.7K bytes
    - Click Count (0)
  4. cmd/api-resources_test.go

    		if errCode != testCase.errCode {
    			t.Errorf("Test %d: Expected error code:%d, got %d", i+1, testCase.errCode, errCode)
    		}
    		if prefix != testCase.prefix {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.prefix, prefix)
    		}
    		if token != testCase.token {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.token, token)
    		}
    		if startAfter != testCase.startAfter {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 7.1K bytes
    - Click Count (0)
  5. cmd/ftp-server-driver.go

    	defer stopFn(0, err)
    
    	if globalIAMSys.LDAPConfig.Enabled() {
    		sa, _, err := globalIAMSys.getServiceAccount(context.Background(), username)
    		if err != nil && !errors.Is(err, errNoSuchServiceAccount) {
    			return false, err
    		}
    		if errors.Is(err, errNoSuchServiceAccount) {
    			lookupRes, groupDistNames, err := globalIAMSys.LDAPConfig.Bind(username, password)
    			if err != nil {
    				return false, err
    			}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  6. src/cmd/asm/internal/arch/loong64.go

    		simd_type = loong64.LSX
    	case reg >= loong64.REG_X0 && reg <= loong64.REG_X31:
    		simd_type = loong64.LASX
    	default:
    		return errors.New("Loong64 extension: invalid LSX/LASX register: " + fmt.Sprintf("%d", reg))
    	}
    
    	if isIndex {
    		arng_type, ok = loong64ElemExtMap[ext]
    		if !ok {
    			return errors.New("Loong64 extension: invalid LSX/LASX arrangement type: " + ext)
    		}
    
    		a.Reg = loong64.REG_ELEM
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Aug 05 17:31:25 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  7. fastapi/exceptions.py

        """
        An HTTP exception you can raise in your own code to show errors to the client.
    
        This is for client errors, invalid authentication, invalid data, etc. Not for server
        errors in your code.
    
        Read more about it in the
        [FastAPI docs for Handling Errors](https://fastapi.tiangolo.com/tutorial/handling-errors/).
    
        ## Example
    
        ```python
        from fastapi import FastAPI, HTTPException
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  8. cmd/erasure.go

    	switch {
    	case errors.Is(err, errDiskNotFound) || errors.Is(err, context.DeadlineExceeded):
    		state = madmin.DriveStateOffline
    	case errors.Is(err, errCorruptedFormat) || errors.Is(err, errCorruptedBackend):
    		state = madmin.DriveStateCorrupt
    	case errors.Is(err, errUnformattedDisk):
    		state = madmin.DriveStateUnformatted
    	case errors.Is(err, errDiskAccessDenied):
    		state = madmin.DriveStatePermission
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

         */
        public void incrementErrors() {
            errors.incrementAndGet();
        }
    
        /**
         * Get error rate (errors / total requests)
         *
         * @return error rate between 0.0 and 1.0
         */
        public double getErrorRate() {
            long total = requestsSent.get();
            if (total == 0)
                return 0.0;
            return (double) errors.get() / total;
        }
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  10. cmd/object-api-getobjectinfo_test.go

    		result, err := obj.GetObjectInfo(context.Background(), testCase.bucketName, testCase.objectName, opts)
    		if err != nil && testCase.shouldPass {
    			t.Errorf("Test %d: %s: Expected to pass, but failed with: <ERROR> %s", i+1, instanceType, err.Error())
    		}
    		if err == nil && !testCase.shouldPass {
    			t.Errorf("Test %d: %s: Expected to fail with <ERROR> \"%s\", but passed instead", i+1, instanceType, testCase.err.Error())
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 5.6K bytes
    - Click Count (0)
Back to Top