Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 611 - 620 of 2,774 for error_ (0.25 seconds)

  1. cmd/config-encrypted_test.go

    			if err != nil && test.success {
    				t.Errorf("Expected success, saw failure %v", err)
    			}
    			if err == nil && !test.success {
    				t.Error("Expected failure, saw success")
    			}
    			if test.success {
    				if !bytes.Equal(ddata, data) {
    					t.Errorf("Expected %s, got %s", string(data), string(ddata))
    				}
    			}
    		})
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 1.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/DosFileFilterTest.java

        void setUp() {
            // Basic setup, specific filter attributes will be set in each test
        }
    
        /**
         * Tests the constructor of DosFileFilter.
         * This test ensures that the constructor runs without errors and correctly initializes the object.
         * The wildcard parameter is stored but its filtering logic is handled server-side,
         * so we only verify its acceptance here.
         */
        @Test
        void testConstructor() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  3. internal/crypto/sse_test.go

    func TestS3String(t *testing.T) {
    	const Domain = "SSE-S3"
    	if domain := S3.String(); domain != Domain {
    		t.Errorf("S3's string method returns wrong domain: got '%s' - want '%s'", domain, Domain)
    	}
    }
    
    func TestSSECString(t *testing.T) {
    	const Domain = "SSE-C"
    	if domain := SSEC.String(); domain != Domain {
    		t.Errorf("SSEC's string method returns wrong domain: got '%s' - want '%s'", domain, Domain)
    	}
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 8.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java

         * Pre-processes API requests by checking access authorization before executing the action.
         * If access is not allowed, returns an unauthorized error response.
         *
         * @param runtime the action runtime context containing request information
         * @return ActionResponse with unauthorized error if access denied, otherwise delegates to parent
         */
        @Override
        public ActionResponse godHandPrologue(final ActionRuntime runtime) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  5. cmd/os-reliable.go

    			// This is a special case should be handled only for
    			// windows, because windows API does not return "not a
    			// directory" error message. Handle this specifically here.
    			return errFileAccessDenied
    		case isSysErrCrossDevice(err):
    			return fmt.Errorf("%w (%s)->(%s)", errCrossDeviceLink, srcFilePath, dstFilePath)
    		case osIsNotExist(err):
    			return errFileNotFound
    		case osIsExist(err):
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            assertTrue(exception.getMessage().contains("Disk full"));
        }
    
        @Test
        @DisplayName("Should have correct retryable flags for error codes")
        void testErrorCodeRetryableFlags() {
            // Retryable errors
            assertTrue(SmbOperationException.ErrorCode.CONNECTION_FAILED.isRetryable());
            assertTrue(SmbOperationException.ErrorCode.CONNECTION_TIMEOUT.isRetryable());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  7. internal/config/identity/ldap/config.go

    	}
    
    	return res, nil
    }
    
    // ErrProviderConfigNotFound - represents a non-existing provider error.
    var ErrProviderConfigNotFound = errors.New("provider configuration not found")
    
    // GetConfigInfo - returns config details for an LDAP configuration.
    func (l *Config) GetConfigInfo(s config.Config, cfgName string) ([]madmin.IDPCfgInfo, error) {
    	// For now only a single LDAP config is supported.
    	if cfgName != madmin.Default {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Sep 18 11:47:48 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

                }
            });
    
            assertEquals("errors.password_length", systemHelper.validatePassword("Aa1!"));
            assertEquals("errors.password_no_uppercase", systemHelper.validatePassword("password1!"));
            assertEquals("errors.password_no_lowercase", systemHelper.validatePassword("PASSWORD1!"));
            assertEquals("errors.password_no_digit", systemHelper.validatePassword("Password!"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
  9. cmd/metrics-v3-system-network.go

    var (
    	internodeErrorsTotalMD = NewCounterMD(internodeErrorsTotal,
    		"Total number of failed internode calls")
    	internodeDialedErrorsTotalMD = NewCounterMD(internodeDialErrorsTotal,
    		"Total number of internode TCP dial timeouts and errors")
    	internodeDialAvgTimeNanosMD = NewGaugeMD(internodeDialAvgTimeNanos,
    		"Average dial time of internode TCP calls in nanoseconds")
    	internodeSentBytesTotalMD = NewCounterMD(internodeSentBytesTotal,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  10. internal/auth/credentials_test.go

    		if err != nil {
    			if testCase.expectedErr == nil {
    				t.Fatalf("test %v: error: expected = <nil>, got = %v", i+1, err)
    			}
    			if testCase.expectedErr.Error() != err.Error() {
    				t.Fatalf("test %v: error: expected = %v, got = %v", i+1, testCase.expectedErr, err)
    			}
    		} else {
    			if testCase.expectedErr != nil {
    				t.Fatalf("test %v: error: expected = %v, got = <nil>", i+1, testCase.expectedErr)
    			}
    			if !cred.IsValid() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top