Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 986 for handler3 (0.15 sec)

  1. src/test/java/jcifs/util/StringsTest.java

        private static final String ASCII_STRING = "ASCII Test";
    
        @Nested
        @DisplayName("Basic Encoding Methods")
        class BasicEncodingTests {
    
            @Test
            @DisplayName("getBytes should handle null string")
            void testGetBytesWithNull() {
                // When
                byte[] result = Strings.getBytes(null, StandardCharsets.UTF_8);
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

            assertEquals(0x04, buffer[0] & 0xFF, "First byte must still be 0x04");
            assertEquals(0, buffer[1], "Second byte must be null terminator");
        }
    
        @Test
        @DisplayName("writeBytesWireFormat handles empty string gracefully")
        void testWriteEmptyString() {
            when(mockConfig.getOemEncoding()).thenReturn("windows-1252");
            SmbComQueryInformation emptyCmd = new SmbComQueryInformation(mockConfig, "");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFileFilterTest.java

            verifyNoMoreInteractions(smbFile);
        }
    
        @ParameterizedTest(name = "getName='{0}' -> accepted={1}")
        @MethodSource("nameCases")
        @DisplayName("accept: name-based filter handles normal, empty, and null names")
        void accept_nameBasedFilter_handlesEdgeNames(String name, boolean expected) throws Exception {
            // Arrange: filter that accepts non-empty names ending with .txt
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbResourceException.java

            return requestedResources;
        }
    
        private String generateRecoveryHint() {
            switch (resourceType) {
            case FILE_HANDLE:
                return "Close unused file handles or increase the file handle limit";
            case CONNECTION:
                return "Close idle connections or increase the connection pool size";
            case MEMORY:
                return "Reduce buffer sizes or increase heap memory";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java

    import jcifs.internal.smb1.trans.SmbComTransactionResponse;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.FileEntry;
    import jcifs.util.Hexdump;
    
    /**
     * SMB1 NetServerEnum2 transaction response implementation.
     * Handles responses from network server enumeration operations, parsing server
     * information returned by the NetServerEnum2 transaction in SMB1 protocol.
     *
     * @author mbechler
     *
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java

    import jcifs.internal.smb2.create.CreateContextRequest;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Durable Handle Reconnect Create Context (DHnC)
     *
     * MS-SMB2 Section 2.2.13.2.5
     */
    public class DurableHandleReconnect implements CreateContextRequest {
    
        /**
         * Context name for durable handle reconnect
         */
        public static final String CONTEXT_NAME = "DHnC";
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java

            } catch (Exception e) {
                // Expected due to missing dependencies in test environment
                assertTrue(true);
                return;
            }
    
            // Should handle case sensitivity properly
            assertNotNull(functionBuilders);
            assertEquals(0, functionBuilders.size()); // No data loaded
        }
    
        public void test_load_emptyState() {
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtStatus.java

        /** The specified information class is invalid */
        int NT_STATUS_INVALID_INFO_CLASS = 0xC0000003;
        /** Invalid access to memory location */
        int NT_STATUS_ACCESS_VIOLATION = 0xC0000005;
        /** The handle is invalid */
        int NT_STATUS_INVALID_HANDLE = 0xC0000008;
        /** The parameter is incorrect */
        int NT_STATUS_INVALID_PARAMETER = 0xC000000d;
        /** The system cannot find the device specified */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

        }
    
        @Test
        void testConstructorWithSmbFileOnly() throws IOException, CIFSException {
            // Given
            // Mock the AutoCloseable tree handle behavior
            SmbTreeHandleImpl autoCloseableMockTreeHandle = mock(SmbTreeHandleImpl.class);
            when(mockFile.ensureTreeConnected()).thenReturn(autoCloseableMockTreeHandle);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                assertEquals(2048L * 4 * 4096, fileFsSizeInfo.getCapacity());
                assertEquals(1024L * 4 * 4096, fileFsSizeInfo.getFree());
            }
    
            @Test
            @DisplayName("Should handle negative values in buffer")
            void shouldHandleNegativeValuesInBuffer() throws SMBProtocolDecodingException {
                // Given - negative values (treated as unsigned in protocol)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
Back to top