Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 337 for Given (0.02 sec)

  1. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            assertFalse(exception.isRetryable());
        }
    
        @Test
        @DisplayName("Should create exception with cause")
        void testCreationWithCause() {
            // Given
            Exception cause = new RuntimeException("Original error");
    
            // When
            exception = new SmbOperationException(SmbOperationException.ErrorCode.CONNECTION_FAILED, "Failed to connect", cause);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

        void testOriginalMessageSize() {
            // Given
            int messageSize = 1024;
    
            // When
            transformHeader.setOriginalMessageSize(messageSize);
    
            // Then
            assertEquals(messageSize, transformHeader.getOriginalMessageSize());
        }
    
        @Test
        @DisplayName("Should set and get flags")
        void testFlags() {
            // Given
            int flags = 0x0001; // Encrypted flag
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

        void testFileBasicInfoSize() {
            // Given
            FileBasicInfo info = new FileBasicInfo();
    
            // When & Then
            assertEquals(40, info.size());
        }
    
        @Test
        @DisplayName("Test FileBasicInfo toString method")
        void testFileBasicInfoToString() {
            // Given
            FileBasicInfo info =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. src/test/java/jcifs/BufferCacheTest.java

        }
    
        @Test
        @DisplayName("BufferCache interface should define correct method signatures")
        void testInterfaceContract() {
            // Given
            BufferCache cache = mockBufferCache;
    
            // When & Then - verify interface methods exist and can be called
            assertDoesNotThrow(() -> {
                cache.getBuffer();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/config/DelegatingConfigurationTest.java

        }
    
        @Test
        @DisplayName("Constructor should store delegate reference")
        void testConstructorStoresDelegate() {
            // Given
            Configuration testDelegate = mock(Configuration.class);
    
            // When
            DelegatingConfiguration config = new DelegatingConfiguration(testDelegate);
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

         */
        @Override
        public ResponseData doGet(final String uri) {
            return processRequest(uri, true);
        }
    
        /**
         * Processes a request for the given URI.
         *
         * @param uri the URI to process
         * @param includeContent whether to include content in the response
         * @return the response data
         * @throws CrawlingAccessException if the request fails
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

        /**
         * Creates a new RobotsTxt instance.
         */
        public RobotsTxt() {
            // Default constructor
        }
    
        /**
         * Checks if access to a given path is allowed for a specific user agent according to robots.txt rules.
         *
         * @param path The path to check for access permission
         * @param userAgent The user agent string to check against robots.txt directives
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/Type3Message.java

            setUser(tc.getConfig().getDefaultUsername());
            setWorkstation(tc.getNameServiceClient().getLocalHost().getHostName());
        }
    
        /**
         * Creates a Type-3 message in response to the given Type-2 message.
         *
         * @param tc
         *            context to use
         * @param type2
         *            The Type-2 message which this represents a response to.
         * @param targetName
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmUtil.java

            System.arraycopy(mac, 0, ret, 0, mac.length);
            System.arraycopy(clientData, 0, ret, mac.length, clientData.length);
            return ret;
        }
    
        /**
         * Generates the NTOWFv2 hash for the given domain, username, and password.
         *
         * @param domain the authentication domain
         * @param username the username
         * @param password the password
         *
         * @return the calculated mac
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/SitemapsRule.java

    import org.codelibs.fess.crawler.exception.CrawlingAccessException;
    import org.codelibs.fess.crawler.helper.SitemapsHelper;
    
    /**
     * SitemapsRule is a rule implementation that extends RegexRule to determine if a given response data
     * represents a valid sitemap. It uses a SitemapsHelper to validate the response body as an InputStream.
     * The rule checks if the URL matches the defined regex pattern and then validates the content as a sitemap.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top