Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 963 for handle (0.05 sec)

  1. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            // ensure file is open
            if (this.handle == null || !this.handle.isValid()) {
                // one extra acquire to keep this open till the stream is released
                this.handle =
                        this.file.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, this.options).acquire();
                return this.handle;
            }
            return this.handle.acquire();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java

    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.create.CreateContextResponse;
    
    /**
     * SMB2 Durable Handle Response Create Context
     *
     * MS-SMB2 Section 2.2.14.2.3
     */
    public class DurableHandleResponse implements CreateContextResponse {
    
        /**
         * Context name for durable handle response
         */
        public static final String CONTEXT_NAME = "DHnQ";
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/witness/WitnessUnregisterRequest.java

            this.registrationId = registrationId;
        }
    
        /**
         * Gets the context handle.
         *
         * @return the context handle
         */
        public byte[] getContextHandle() {
            return contextHandle;
        }
    
        /**
         * Sets the context handle.
         *
         * @param contextHandle the context handle
         */
        public void setContextHandle(byte[] contextHandle) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

                configField.setAccessible(true);
                assertEquals(mockConfig, configField.get(request));
            }
    
            @Test
            @DisplayName("Should handle null configuration")
            void testConstructorWithNullConfig() {
                assertDoesNotThrow(() -> {
                    Smb2EchoRequest request = new Smb2EchoRequest(null);
                    assertNotNull(request);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/context/BaseContextTest.java

        }
    
        @Test
        @DisplayName("getUrlHandler should return initialized URL handler")
        void testGetUrlHandler() {
            // When
            URLStreamHandler urlHandler = context.getUrlHandler();
    
            // Then
            assertNotNull(urlHandler, "URL handler should not be null");
            assertSame(urlHandler, context.getUrlHandler(), "Should return same instance on multiple calls");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/persistent/Smb2HandleCapabilities.java

    package jcifs.internal.smb2.persistent;
    
    /**
     * Constants for SMB2/3 durable and persistent handle capabilities.
     */
    public final class Smb2HandleCapabilities {
    
        /**
         * Flag indicating persistent handle capability
         */
        public static final int SMB2_DHANDLE_FLAG_PERSISTENT = 0x00000002;
    
        /**
         * Default timeout for durable handles (2 minutes)
         */
        public static final long DEFAULT_DURABLE_TIMEOUT = 120000;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java

    package jcifs.smb1.dcerpc.msrpc;
    
    /**
     * MSRPC implementation for opening an LSA policy handle.
     * This class provides functionality to open a handle to the LSA policy
     * database on a remote server using the LSA RPC interface.
     */
    public class MsrpcLsarOpenPolicy2 extends lsarpc.LsarOpenPolicy2 {
    
        /**
         * Creates a new request to open an LSA policy handle.
         *
         * @param server the server name to connect to
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java

    package jcifs.dcerpc.msrpc;
    
    /**
     * MSRPC implementation for opening an LSA policy handle.
     * This class provides functionality to open a handle to the LSA policy
     * database on a remote server using the LSA RPC interface.
     */
    public class MsrpcLsarOpenPolicy2 extends lsarpc.LsarOpenPolicy2 {
    
        /**
         * Creates a new request to open an LSA policy handle.
         *
         * @param server the server name to connect to
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/DcerpcBind.java

        /**
         * Construct bind message
         *
         */
        public DcerpcBind() {
        }
    
        DcerpcBind(final DcerpcBinding binding, final DcerpcHandle handle) {
            this.binding = binding;
            this.max_xmit = handle.getMaxXmit();
            this.max_recv = handle.getMaxRecv();
            this.ptype = 11;
            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
        @Override
        public int getOpnum() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java

        /**
         * Constructs a new DcerpcBind message.
         */
        public DcerpcBind() {
        }
    
        DcerpcBind(final DcerpcBinding binding, final DcerpcHandle handle) {
            this.binding = binding;
            max_xmit = handle.max_xmit;
            max_recv = handle.max_recv;
            ptype = 11;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
        @Override
        public int getOpnum() {
            return 0;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top