- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 56 for trees (0.15 sec)
-
src/main/java/jcifs/smb1/smb1/SmbSession.java
this.localPort = localPort; this.auth = auth; trees = new Vector(); connectionState = 0; } synchronized SmbTree getSmbTree( String share, String service ) { SmbTree t; if( share == null ) { share = "IPC$"; } for( Enumeration e = trees.elements(); e.hasMoreElements(); ) { t = (SmbTree)e.nextElement();
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) -
src/test/java/jcifs/tests/FileOperationsTest.java
f.createNewFile(); boolean renamed = false; try { f.renameTo(tgt, true); Assert.assertFalse("Should not be able to rename between trees", true); } catch ( SmbUnsupportedOperationException e ) { try ( SmbTreeHandle th = defaultShareRoot.getTreeHandle() ) { Assume.assumeTrue("Not SMB2", th.isSMB2());
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:17:59 GMT 2023 - 16.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
share = "IPC$"; } synchronized ( this.trees ) { for ( SmbTreeImpl t : this.trees ) { if ( t.matches(share, service) ) { return t.acquire(); } } SmbTreeImpl t = new SmbTreeImpl(this, share, service); t.acquire(); this.trees.add(t); return t; } }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Nov 14 17:41:04 GMT 2021 - 49K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
import jcifs.internal.smb1.trans.nt.NtTransQuerySecurityDesc; import jcifs.util.transport.TransportException; /** * This class encapsulates the logic for switching tree connections * * Switching trees can occur either when the tree has been disconnected by failure or idle-timeout - as well as on * DFS referrals. * * @author mbechler * */ class SmbTreeConnection {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Tue Jul 07 10:50:16 GMT 2020 - 31K bytes - Viewed (0) -
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) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
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) -
src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequest.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.smb2.tree; import java.nio.charset.StandardCharsets; import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.internal.smb2.ServerMessageBlock2; import jcifs.internal.smb2.ServerMessageBlock2Request;
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) -
src/main/java/jcifs/smb/SmbSessionInternal.java
/** * Connect to the logon share * * @throws SmbException */ void treeConnectLogon () throws SmbException; /** * @param share * @param service * @return tree instance */ SmbTree getSmbTree ( String share, String service ); /** * Initiate reauthentication * * @throws CIFSException */
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) -
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) -
src/main/java/jcifs/smb1/smb1/ACE.java
* are "allowed". If all of the desired access bits are not "allowed" * the then same process is repeated for inherited ACEs. * <p> * For example, if user <tt>WNET\alice</tt> tries to open a file * with desired access bits <tt>0x00000003</tt> (<tt>FILE_READ_DATA | * FILE_WRITE_DATA</tt>) and the target file has the following security * descriptor ACEs: * <pre>
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 7.2K bytes - Viewed (0)