Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 1,166 for handle2 (0.04 sec)

  1. src/test/java/jcifs/dcerpc/UUIDTest.java

                assertEquals((byte) 0x00, uuid.node[5]); // Missing data defaults to 0
            }
    
            @Test
            @DisplayName("Constructor with empty node array in rpc.uuid_t should handle gracefully")
            void testConstructorWithEmptyNode() {
                // Arrange
                rpc.uuid_t rpcUuid = new rpc.uuid_t();
                rpcUuid.time_low = TIME_LOW;
                rpcUuid.time_mid = TIME_MID;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/CIFSExceptionTest.java

        }
    
        @Test
        @DisplayName("Should handle null message")
        void testNullMessage() {
            // When/Then
            assertDoesNotThrow(() -> {
                CIFSException exception = new CIFSException((String) null);
                assertNotNull(exception);
            });
        }
    
        @Test
        @DisplayName("Should handle null cause")
        void testNullCause() {
            // When/Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

        @DisplayName("Constructor with null pipe name should handle gracefully")
        void testConstructorWithNullPipeName() {
            // Act
            transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, null);
    
            // Assert
            assertNotNull(transWaitNamedPipe);
            assertNull(transWaitNamedPipe.name);
        }
    
        @Test
        @DisplayName("Constructor with empty pipe name should handle gracefully")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            leaseManager.updateLease(key, grantedState);
    
            LeaseEntry entry = leaseManager.getLease(key);
            assertEquals(grantedState, entry.getLeaseState());
        }
    
        @Test
        @DisplayName("Should handle lease break")
        void testHandleLeaseBreak() {
            String path = "/share/file.txt";
            int initialState = Smb2LeaseState.SMB2_LEASE_FULL;
            int newState = Smb2LeaseState.SMB2_LEASE_READ_CACHING;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/JobExecutor.java

     */
    package org.codelibs.fess.job;
    
    /**
     * Abstract base class for job executors that handle script execution within the job system.
     * This class provides a framework for executing scripts and managing shutdown operations.
     */
    public abstract class JobExecutor {
        /** Listener to handle shutdown events */
        protected ShutdownListener shutdownListener;
    
        /**
         * Default constructor.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

            NtlmMessage.writeULong(dest, 0, 0x01020304);
            assertArrayEquals(new byte[] { 4, 3, 2, 1 }, dest, "Writer must be little‑endian");
        }
    
        @Test
        @DisplayName("writeULong handles negative values as unsigned")
        void testWriteULongNegative() {
            byte[] dest = new byte[4];
            NtlmMessage.writeULong(dest, 0, -1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

            }
        }
    
        @Nested
        @DisplayName("Integration Tests")
        class IntegrationTests {
    
            @Test
            @DisplayName("Should handle complete copy operation with multiple chunks")
            void testCompleteCopyOperation() {
                // Given
                byte[] sourceKey = new byte[SOURCE_KEY_SIZE];
                for (int i = 0; i < SOURCE_KEY_SIZE; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

            }
        }
    
        @Nested
        @DisplayName("Message Encoding Tests")
        class MessageEncodingTests {
    
            @Test
            @DisplayName("encode should handle REQUEST ptype correctly")
            void testEncodeRequestPtype() throws NdrException {
                message.ptype = DcerpcConstants.RPC_PT_REQUEST; // 0
                message.call_id = 1;
                message.opnumValue = 5;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbResourceLocatorTest.java

                return 0;
            }
    
            @Override
            public URL getURL() {
                try {
                    // Create URL with custom protocol handler for SMB
                    return new URL(null, urlStr, new jcifs.smb.Handler());
                } catch (Exception e) {
                    // Return null if URL creation fails
                    return null;
                }
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_3x.md

        async calls to this new API, `Call` is now the first parameter for both
        `onResponse()` and `onFailure()`.
     *  Fix: handle multiple cookies in `JavaNetCookieJar` on Android.
     *  Fix: improve the default HTTP message in MockWebServer responses.
     *  Fix: don't leak file handles when a conditional GET throws.
     *  Fix: Use charset specified by the request body content type in OkHttp's
        logging interceptor.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
Back to top