Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 67 for isGuest (0.09 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

            }
        }
    
        /**
         * Test thread-safety of connect() method.
         * Multiple threads should be able to call connect() concurrently without issues.
         */
        public void test_connect_threadSafety() throws Exception {
            URL url = new URL("storage://mybucket/object.txt");
            Handler handler = new Handler();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/rpcTest.java

                unicodeString.buffer = new short[] { 100, 200, 300 };
    
                // Create a real NdrBuffer mock that can handle the deferred field access
                // But only test the non-deferred parts to avoid field mocking issues
    
                // When: Trying to encode (may throw exception due to deferred buffer)
                // Then: Should at least call the basic encoding methods before hitting deferred
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

            assertFalse(robotsTxt.allows("/path1/", "CommentBot"));
            assertTrue(robotsTxt.allows("/path2/", "CommentBot"));
    
            // Test EmptyLineBot - empty lines should not cause issues
            assertFalse(robotsTxt.allows("/test/", "EmptyLineBot"));
            assertTrue(robotsTxt.allows("/public/", "EmptyLineBot"));
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle maximum path length")
            void testMaximumPathLength() {
                // Create a very long path (but not too long to cause memory issues)
                StringBuilder sb = new StringBuilder("\\\\server");
                for (int i = 0; i < 1000; i++) {
                    sb.append("\\segment");
                }
                String path = sb.toString();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

                throw new RobotsTxtException("Failed to read robots.txt due to I/O error.", e);
            } catch (final Exception e) {
                // Catch any other fatal errors (e.g., encoding issues)
                throw new RobotsTxtException("Failed to parse robots.txt.", e);
            }
        }
    
        /**
         * Extracts the value from a line using the given pattern.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

                longUrl.append("very/long/path/segment/");
            }
            longUrl.append("file.html");
    
            urlFilter.addInclude("https://example.com/.*");
    
            // Should handle long URLs without issues
            assertTrue(urlFilter.match(longUrl.toString()));
        }
    
        /**
         * Test internationalized domain names (IDN)
         */
        public void test_internationalizedDomainNames() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            assertEquals("", fileNameField.get(emptyNameRequest));
    
            // Test with long fileName
            String longFileName = "very-long-file-name-with-many-characters-that-could-potentially-cause-issues.txt";
            Smb2CloseRequest longNameRequest = new Smb2CloseRequest(mockConfig, testFileId, longFileName);
            assertEquals(longFileName, fileNameField.get(longNameRequest));
    
            // Test with special characters
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            Thread.sleep(500); // Give more time for handle release
            System.gc(); // Force garbage collection
            Thread.sleep(200);
    
            // Delete using a completely new context to avoid handle issues
            CIFSContext deleteContext = createFreshContext();
            SmbFile fileToDelete = new SmbFile(baseUrl + "shared/" + filename, deleteContext);
    
            // Retry logic for delete operation
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            try (AuthenticationRateLimiter autoLimiter = new AuthenticationRateLimiter()) {
                assertTrue(autoLimiter.checkAttempt("user", "192.168.1.13"));
            }
            // Should auto-close without issues
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

                    throw (CIFSException) e;
                }
                throw new CIFSException("Failed to encrypt message", e);
            }
        }
    
        /**
         * Validate encryption parameters to prevent security issues
         *
         * @return true if parameters are valid
         */
        private boolean validateEncryptionParameters() {
            // Validate cipher ID
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
Back to top