Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 214 for btree (0.48 sec)

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

         */
        void treeConnectLogon() throws SmbException;
    
        /**
         * Gets or creates an SMB tree connection for the specified share and service.
         *
         * @param share the share name to connect to
         * @param service the service type for the connection
         * @return tree instance
         */
        SmbTree getSmbTree(String share, String service);
    
        /**
         * Initiate reauthentication
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

    package jcifs.internal.smb2.tree;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/DfsReferral.java

        /** Target share for this referral */
        public String share; // Share
        /** The complete UNC path link */
        public String link;
        /** Path relative to tree from which this referral was thrown */
        public String path; // Path relative to tree from which this referral was thrown
        /** Whether to resolve hashes in the path */
        public boolean resolveHashes;
        /** Expiration time for this referral entry */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

    package jcifs.internal.smb2.tree;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileOutputStream.java

            }
    
            log.trace("File already open");
            return this.handle.acquire();
        }
    
        /**
         * Ensures that the tree connection is established.
         *
         * @return the tree handle
         * @throws CIFSException if an error occurs connecting to the tree
         */
        protected SmbTreeHandleImpl ensureTreeConnected() throws CIFSException {
            return this.file.ensureTreeConnected();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. docs/smb3-features/02-persistent-handles-design.md

        
        // Determine handle type based on configuration and server capabilities
        if (tree.getSession().supports(SMB3_0) && config.isUsePersistentHandles()) {
            handleType = HandleType.PERSISTENT;
        } else if (tree.getSession().supports(SMB3_0)) {
            handleType = HandleType.DURABLE_V2;
        } else if (tree.getSession().supports(SMB2_1)) {
            handleType = HandleType.DURABLE_V1;
        } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbPipeInputStream.java

            super(handle.getPipe(), th, null);
            this.handle = handle;
        }
    
        /**
         * Ensures that the tree connection is established.
         *
         * @return the tree handle implementation
         * @throws CIFSException if a connection error occurs
         */
        protected synchronized SmbTreeHandleImpl ensureTreeConnected() throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbSessionImpl.java

                            // Clear all tree references
                            for (SmbTreeImpl tree : this.trees) {
                                try {
                                    // Force release trees during emergency cleanup
                                    tree.release();
                                } catch (Exception e) {
                                    log.debug("Error during emergency tree cleanup", 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)
  9. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            assertTrue(ex.getMessage() != null && ex.getMessage().contains("Usage count dropped below zero"));
        }
    
        @Test
        @DisplayName("getTreeId(): no tree returns -1")
        void getTreeId_noTree_returnsMinusOne() {
            // Arrange
            CIFSContext ctx = mock(CIFSContext.class);
            SmbTreeConnectionTrace trace = new SmbTreeConnectionTrace(ctx);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbSession.java

         */
        public static void logon(final UniAddress dc, final int port, final NtlmPasswordAuthentication auth) throws SmbException {
            final SmbTree tree = SmbTransport.getSmbTransport(dc, port).getSmbSession(auth).getSmbTree(LOGON_SHARE, null);
            if (LOGON_SHARE == null) {
                tree.treeConnect(null, null);
            } else {
                final Trans2FindFirst2 req = new Trans2FindFirst2("\\", "*", SmbFile.ATTR_DIRECTORY);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
Back to top