Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,154 for Handle (0.04 sec)

  1. src/test/java/jcifs/smb1/util/HexdumpTest.java

            assertEquals("FFFE80", Hexdump.toHexString(data2, 0, 6)); // 6 chars = 3 bytes
            assertEquals("FFFE807F", Hexdump.toHexString(data2, 0, 8)); // 8 chars = 4 bytes
    
            // Test odd size (should handle correctly)
            byte[] data3 = { 0x0A, 0x0B, 0x0C };
            assertEquals("0", Hexdump.toHexString(data3, 0, 1)); // 1 char = 0.5 bytes (rounds up to 1)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

            // Full lease for read/write/handle operations
            if (hasWriteAccess || hasDeleteAccess) {
                return Smb2LeaseState.SMB2_LEASE_FULL; // Read + Write + Handle
            }
            // Read + Handle for read operations
            else if (hasReadAccess) {
                return Smb2LeaseState.SMB2_LEASE_READ_HANDLE; // Read + Handle
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbWatchHandleTest.java

            CIFSException expectedException = new CIFSException("Failed to close handle");
            doThrow(expectedException).when(watchHandle).close();
    
            // Execute and verify
            CIFSException thrown = assertThrows(CIFSException.class, () -> {
                watchHandle.close();
            });
    
            assertEquals("Failed to close handle", thrown.getMessage());
            verify(watchHandle, times(1)).close();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/jcifs/smb/SmbSessionImpl.java

                    // Cleanup persistent handle manager
                    if (persistentHandleManager != null) {
                        try {
                            persistentHandleManager.shutdown();
                            log.debug("Persistent handle manager shutdown on session logoff");
                        } catch (Exception e) {
                            log.warn("Error shutting down persistent handle manager during logoff", e);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

                        // Handle operation failure appropriately
                        notifyOperationFailure(op, e);
                    }
                }
            }
        }
    
        private void notifyOperationFailure(CommonServerMessageBlock op, Exception error) {
            // This would need to be implemented based on how the SMB operations
            // handle asynchronous failures in the actual transport implementation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top