Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for tree_num (0.04 sec)

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

        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
        public boolean equals(final Object obj) {
            if (!(obj instanceof final SmbFileHandleImpl o)) {
                return false;
            }
            if (this.fileId != null) {
                return Arrays.equals(this.fileId, o.fileId) && this.tree_num == o.tree_num;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  2. 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");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. 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();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  5. 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) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top