Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,138 for tree (0.22 sec)

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

                    this.service.equalsIgnoreCase( service ));
        }
        public boolean equals(Object obj) {
            if (obj instanceof SmbTree) {
                SmbTree tree = (SmbTree)obj;
                return matches(tree.share, tree.service);
            }
            return false;
        }
        void send( ServerMessageBlock request,
                                ServerMessageBlock response ) throws SmbException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8K bytes
    - Viewed (0)
  2. 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() {
            boolean ans = opened && isConnected() && tree_num == tree.tree_num;
            return ans;
        }
        void close( int f, long lastWriteTime ) throws SmbException {
    
            if( log.level >= 3 )
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  3. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequest.java

     * 
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.tree;
    
    
    import java.nio.charset.StandardCharsets;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.internal.smb2.ServerMessageBlock2;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbSessionInternal.java

    /*
     * © 2017 AgNO3 Gmbh & Co. KG
     * 
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     * 
     * This library is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            } else {
                throw new IllegalArgumentException( "Invalid mode" );
            }
            file.open( openFlags, access, SmbFile.ATTR_NORMAL, options );
            readSize = file.tree.session.transport.rcv_buf_size - 70;
            writeSize = file.tree.session.transport.snd_buf_size - 70;
            fp = 0L;
        }
    
        public int read() throws SmbException {
            if( read( tmp, 0, 1 ) == -1 ) {
                return -1;
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbTreeHandle.java

         * @param th
         * @return whether the handles refer to the same tree
         */
        boolean isSameTree ( SmbTreeHandle th );
    
    
        /**
         * @return whether this tree handle uses SMB2+
         */
        boolean isSMB2 ();
    
    
        /**
         * @return the remote host name
         */
        String getRemoteHostName ();
    
    
        /**
         * @return the tree type
         */
        int getTreeType ();
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFileHandleImpl.java

            this.options = options;
            this.tree = tree.acquire();
            this.tree_num = tree.getTreeId();
    
            if ( cfg.isTraceResourceUsage() ) {
                this.creationBacktrace = Thread.currentThread().getStackTrace();
            }
            else {
                this.creationBacktrace = null;
            }
        }
    
    
        /**
         * @param cfg
         * @param fid
         * @param tree
         * @param unc
         * @param options
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeConnection.java

                log.debug("Switching tree");
                if ( t != null ) {
                    log.debug("Acquired tree on switch " + t);
                    t.acquire();
                    this.treeAcquired = true;
                }
                else {
                    this.treeAcquired = false;
                }
    
                this.tree = t;
                if ( old != null ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:50:16 GMT 2020
    - 31K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbSession.java

        public static void logon( UniAddress dc, int port,
                            NtlmPasswordAuthentication auth ) throws SmbException {
            SmbTree tree = SmbTransport.getSmbTransport( dc, port ).getSmbSession( auth ).getSmbTree( LOGON_SHARE, null );
            if( LOGON_SHARE == null ) {
                tree.treeConnect( null, null );
            } else {
                Trans2FindFirst2 req = new Trans2FindFirst2( "\\", "*", SmbFile.ATTR_DIRECTORY );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/TreeConnectResponse.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal;
    
    
    /**
     * @author mbechler
     *
     */
    public interface TreeConnectResponse extends CommonServerMessageBlockResponse {
    
        /**
         * @return tree id
         */
        int getTid ();
    
    
        /**
         * @return service
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.2K bytes
    - Viewed (0)
Back to top