- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 821 for HANDLE (0.04 seconds)
-
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
// Verify it's an instance of ServerMessageBlock2Response assertTrue(lockResponse instanceof jcifs.internal.smb2.ServerMessageBlock2Response); } @Test @DisplayName("Constructor should handle null configuration") void testConstructorWithNullConfig() { // Given & When Smb2LockResponse lockResponse = new Smb2LockResponse(null); // Then assertNotNull(lockResponse); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
docs/smb3-features/02-persistent-handles-design.md
} } private void reconnectWithDurableHandle(HandleInfo handle) throws IOException { Smb2CreateRequest request = new Smb2CreateRequest(); request.setPath(handle.path); request.addReconnectContext(handle.fileId); // Add lease context if needed if (handle.leaseKey != null) { request.addLeaseContext(handle.leaseKey, Smb2LeaseState.SMB2_LEASE_NONE, false); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 31.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java
} @Test @DisplayName("should handle null policy handle") void testNullPolicyHandleHandled() { // Act & Assert - The constructor accepts null policy handle without throwing assertDoesNotThrow(() -> new MsrpcSamrConnect2("\\\\srv", 0, null)); } @Test @DisplayName("should handle empty string as system name") void testEmptySystemName() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
when(handle.hasCapability(anyInt())).thenReturn(true); // Act: perform a series of calls to verify order handle.ensureDFSResolved(); handle.hasCapability(7); handle.release(); // Assert: verify they happened in order InOrder inOrder = inOrder(handle); inOrder.verify(handle).ensureDFSResolved(); inOrder.verify(handle).hasCapability(7);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java
/** * Handle for Security Account Manager (SAM) domain operations. * This class represents an open handle to a SAM domain and provides * operations for managing domain users, groups, and aliases. */ public class SamrDomainHandle extends rpc.policy_handle { DcerpcHandle handle; /** * Creates a new SAM domain handle. * * @param handle the DCE/RPC handle for communication
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/jcifs/SmbFileHandle.java
*/ package jcifs; /** * Handle to an open file * * @author mbechler * */ public interface SmbFileHandle extends AutoCloseable { /** * Returns the tree handle associated with this file handle * * @return the tree */ SmbTreeHandle getTree(); /** * Checks if this file handle is still valid *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java
return CompletableFuture.failedFuture(new IOException("No durable handle available for reconnection: " + path)); } log.debug("Starting reconnection for handle: {} (cause: {})", path, cause.getMessage()); return attemptReconnect(info, 0, cause); } /** * Attempt to reconnect a specific handle * @param handleInfo the handle information
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 8.5K bytes - Click Count (1) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
} @Test @DisplayName("Should handle null hostname in getByName") void testGetByNameWithNull() { // When/Then assertThrows(UnknownHostException.class, () -> { nameServiceClient.getByName(null); }, "Should throw UnknownHostException for null hostname"); } @Test @DisplayName("Should handle empty hostname in getByName") void testGetByNameWithEmpty() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLsarClose.java
package jcifs.smb1.dcerpc.msrpc; /** * Microsoft RPC LSA close handle request. * This class implements the LSARPC close handle operation for closing * LSA policy handles when they are no longer needed. */ public class MsrpcLsarClose extends lsarpc.LsarClose { /** * Creates a new request to close an LSA policy handle. * * @param policyHandle the policy handle to close */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.5K bytes - Click Count (0)