Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,254 for invalid (0.03 sec)

  1. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

        }
    
        /**
         * Test decode with invalid EOL (non-zero length)
         */
        @Test
        @DisplayName("Decode should throw exception for invalid EOL length")
        void testDecodeInvalidEOL() {
            byte[] invalidEolData = new byte[6];
            SMBUtil.writeInt2(AvPair.MsvAvEOL, invalidEolData, 0);
            SMBUtil.writeInt2(2, invalidEolData, 2); // Invalid: EOL should have length 0
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

        public void test_init_withInvalidSSLCertificate() {
            // Create a temporary invalid certificate file
            File invalidCertFile = null;
            try {
                invalidCertFile = File.createTempFile("invalid_cert", ".crt");
                try (FileWriter writer = new FileWriter(invalidCertFile)) {
                    writer.write("INVALID CERTIFICATE CONTENT");
                }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. cmd/jwt_test.go

    		expectedErr error
    	}{
    		// Set valid authorization header.
    		{
    			req: &http.Request{
    				Header: http.Header{
    					"Authorization": []string{token},
    				},
    			},
    			expectedErr: nil,
    		},
    		// No authorization header.
    		{
    			req: &http.Request{
    				Header: http.Header{},
    			},
    			expectedErr: errNoAuthToken,
    		},
    		// Invalid authorization token.
    		{
    			req: &http.Request{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java

                    return false;
                }
                return true;
            } catch (final Exception e) {
                // Log the exception at debug level because an invalid URI is not critical and can be ignored.
                logger.debug("Invalid URI: {}", path, e);
            }
            return false;
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                pomArtifact = rel.pomArtifact;
    
                relocatedArtifact = rel.relocatedArtifact;
    
                if (rel.project == null) {
                    // When this happens we have a Maven 1.x POM, or some invalid POM.
                    // It should have never found its way into Maven 2.x repository, but it did.
                    dependencies = Collections.emptyList();
                } else {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 26 10:49:22 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/sso/SsoManagerTest.java

            currentSsoType = Constants.NONE;
            assertNull(ssoManager.getLoginCredential());
        }
    
        public void test_getLoginCredential_whenAvailableButNoAuthenticator() {
            currentSsoType = "invalid";
            ssoManager = new SsoManager() {
                @Override
                protected String getSsoType() {
                    return currentSsoType;
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SessionSetupHandlerTest.java

        }
    
        @Test
        @DisplayName("Invalid: looking up constructor on interface fails")
        void testNoConstructorLookup() {
            // Act & Assert: interfaces have no constructors
            assertThrows(NoSuchMethodException.class, () -> SessionSetupHandler.class.getDeclaredConstructor());
        }
    
        @Test
        @DisplayName("Invalid: resolving class by null name throws NPE")
        void testClassForNameWithNull() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

                return 0;
            }
    
            @Override
            public int getFileIndex() {
                return 0;
            }
        }
    
        @Test
        @DisplayName("open(): invalid URL path without trailing slash throws SmbException")
        void invalidUrlPathThrows() throws Exception {
            // Override the default setup for this specific test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/log/exbhv/ClickLogBhv.java

                    return LocalDateTime.ofInstant(instant, ZoneId.systemDefault());
                } catch (final DateTimeParseException e) {
                    logger.debug("Invalid date format: {}", value, e);
                }
            }
            return DfTypeUtil.toLocalDateTime(value);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/pager/ElevateWordPager.java

         */
        public void setExistNextPage(final boolean existNextPage) {
            this.existNextPage = existNextPage;
        }
    
        /**
         * Gets the number of records per page.
         * If page size is not set or invalid, returns the default page size.
         *
         * @return the page size
         */
        public int getPageSize() {
            if (pageSize <= 0) {
                pageSize = getDefaultPageSize();
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top