Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for tree_num (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/smb1/smb1/SmbTree.java

         * 3 - disconnecting
         */
        int connectionState;
        int tid;
    
        String share;
        String service = "?????";
        String service0;
        SmbSession session;
        boolean inDfs, inDomainDfs;
        int tree_num; // used by SmbFile.isOpen
    
        SmbTree(final SmbSession session, final String share, final String service) {
            this.session = session;
            this.share = share.toUpperCase();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbTreeImpl.java

        /**
         * @return the tid
         */
        public int getTid() {
            return this.tid;
        }
    
        /**
         * @return the tree_num (monotonically increasing counter to track reconnects)
         */
        public long getTreeNum() {
            return this.treeNum;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#hashCode()
         */
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

            if (isOpen()) {
                return;
            }
            fid = open0(flags, access, attrs, options);
            opened = true;
            tree_num = tree.tree_num;
        }
    
        boolean isOpen() {
            return opened && isConnected() && tree_num == tree.tree_num;
        }
    
        void close(final int f, final long lastWriteTime) throws SmbException {
    
            if (LogStream.level >= 3) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            // Mock the tree layer
            smbTree = mock(SmbTree.class);
            smbTree.session = smbSession;
            smbTree.tree_num = 1;
    
            // Mock the SmbFile
            smbFile = mock(SmbFile.class);
            smbFile.tree = smbTree;
            smbFile.fid = 1;
            smbFile.tree_num = 1;
    
            when(smbFile.isFile()).thenReturn(true);
            when(smbFile.getUncPath()).thenReturn("\\\\server\\share\\file.txt");
    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)
Back to Top