Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,206 for handle (0.06 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            assertNotNull(request);
        }
    
        @Test
        @DisplayName("Constructor should handle null filename")
        void testConstructorWithNullFilename() {
            // When & Then
            assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, null));
        }
    
        @Test
        @DisplayName("Constructor should handle empty filename")
        void testConstructorWithEmptyFilename() {
            // When & Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java

                } else {
                    throw new IOException("Simulated reconnection failure");
                }
            }
    
            public void testCreateReconnectionRequest(HandleInfo handle) {
                createReconnectionRequest(handle);
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                // Should use caller available units, not actual free units
                assertEquals(500L * 8 * 512, fileFsFullSizeInfo.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
    - 30.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

    import jcifs.smb1.util.Encdec;
    
    /**
     * DCERPC handle implementation using SMB named pipes for transport
     */
    public class DcerpcPipeHandle extends DcerpcHandle {
    
        SmbNamedPipe pipe;
        SmbFileInputStream in = null;
        SmbFileOutputStream out = null;
        boolean isStart = true;
    
        /**
         * Creates a DCERPC pipe handle with the specified URL and authentication
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                oplockLevelField.setAccessible(true);
                assertEquals(oplockLevel, oplockLevelField.get(notification));
            }
    
            @Test
            @DisplayName("Should handle buffer with offset correctly")
            void testReadWithBufferOffset() throws Exception {
                int offset = 10;
                byte[] buffer = new byte[64];
                byte[] fileId = createTestData(16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                assertEquals(2048, response.getEndOfFile());
                assertEquals(0x10, response.getFileAttributes());
            }
    
            @Test
            @DisplayName("Should handle all zero values correctly")
            void testReadBytesWireFormatWithZeroValues() throws SMBProtocolDecodingException {
                // Given
                byte[] buffer = new byte[60];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/Converter.java

         */
        Object getAsObject(String value);
    
        /**
         * Returns {@literal true} if this converter can handle the specified type.
         *
         * @param clazz
         *            the type. Must not be {@literal null}
         * @return {@literal true} if this converter can handle the specified type
         */
        boolean isTarget(Class<?> clazz);
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. docs/en/docs/reference/openapi/index.md

    # OpenAPI
    
    There are several utilities to handle OpenAPI.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 158 bytes
    - Viewed (0)
  9. 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)
  10. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            // Each name should write at least 34 bytes (encoded name + scope)
            assertTrue(bytesWritten >= 68);
        }
    
        @Test
        @DisplayName("writeTrailerWireFormat with scope should handle scoped names")
        void testWriteTrailerWireFormatWithScope() {
            when(mockCalledName.getName()).thenReturn("SERVER");
            when(mockCalledName.getNameType()).thenReturn(0x20);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top