Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 640 for handled (0.19 sec)

  1. src/main/java/org/codelibs/core/io/Traverser.java

         * Searches for classes handled by this instance and calls the handler for each class.
         * <p>
         * If a root package is specified at instance construction, only classes under the root package are targeted.
         * </p>
         *
         * @param handler the handler to process classes
         */
        void forEach(ClassHandler handler);
    
        /**
         * Searches for resources handled by this instance and calls the handler for each resource.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/SmbNegotiationTest.java

        }
    
        @Test
        @DisplayName("Constructor with null request should work")
        void testConstructorWithNullRequest() {
            // Test that null request is handled properly
            SmbNegotiation negotiationWithNullRequest = new SmbNegotiation(null, mockResponse, testRequestBuffer, testResponseBuffer);
    
            assertNull(negotiationWithNullRequest.getRequest());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

        }
    
        /**
         * Checks whether the asynchronous interim response has been handled.
         *
         * @return whether the interim response has been handled
         */
        public boolean isAsyncHandled() {
            return this.asyncHandled;
        }
    
        /**
         * Sets whether the asynchronous interim response has been handled.
         *
         * @param asyncHandled
         *            the asyncHandled to set
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java

            String emptyString = "";
            AvTargetName avTargetNameFromString = new AvTargetName(emptyString);
            assertEquals(emptyString, avTargetNameFromString.getTargetName(),
                    "Empty string should be handled correctly from string constructor");
            assertArrayEquals(emptyString.getBytes(StandardCharsets.UTF_16LE), avTargetNameFromString.getRaw(),
                    "Raw bytes for empty string should be empty");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/CommonServerMessageBlockRequest.java

     *
     * @author mbechler
     */
    public interface CommonServerMessageBlockRequest extends CommonServerMessageBlock, Request {
    
        /**
         * Checks if the request will be handled asynchronously.
         *
         * @return request was handled asynchronously
         */
        boolean isResponseAsync();
    
        /**
         *
         * @return next chained message
         */
        @Override
        CommonServerMessageBlockRequest getNext();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            verifyNoInteractions(mockDir);
        }
    
        /**
         * Invalid/null inputs: ensure filters can handle null name and dir.
         */
        @ParameterizedTest
        @DisplayName("null and empty names are handled explicitly")
        @NullAndEmptySource
        @ValueSource(strings = { " \t\n" })
        void handlesNullAndEmptyNames(String name) throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ArchiveExtractorErrorHandlingTest.java

            assertNotNull(result);
            // Content might be empty or contain minimal text depending on processing
            assertNotNull(result.getContent());
        }
    
        /**
         * Test that empty ZIP archive is handled gracefully.
         */
        public void test_ZipExtractor_emptyArchive_handlesGracefully() throws IOException {
            final ByteArrayOutputStream baos = new ByteArrayOutputStream();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/AllocInfoTest.java

        }
    
        /**
         * Null pointer scenario – calls on a null reference should raise
         * {@link NullPointerException}. This test is defensive; in real code it
         * would likely be handled elsewhere.
         */
        @Test
        @DisplayName("calling getters on null reference throws NPE")
        void testNullReference() {
            AllocInfo nullRef = null;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            assertThrows(IOException.class, () -> sis.read());
        }
    
        @Test
        @DisplayName("Unknown packet type is handled by continuing to next packet")
        void unknownPacketTypeHandled() throws IOException {
            // According to the SocketInputStream implementation, unknown packet types
            // are handled in the switch statement's default case which continues the loop
            byte[] data = new byte[] { 1, 2 };
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java

            final long elapsed = (System.nanoTime() - start) / 1000000;
    
            assertTrue("file:// URLs should not be delayed", elapsed < 50);
        }
    
        /**
         * Test that null URL queue is handled gracefully
         */
        public void test_nullUrlQueue() {
            final HostIntervalController controller = new HostIntervalController();
            controller.delayMillisBeforeProcessing = 1000L;
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top