- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 37 for isopen (0.2 sec)
-
src/main/java/jcifs/SmbWatchHandle.java
* * Closing the context should cancel a pending notify request, but that does not seem to work reliable in all * implementations. * * Changes in between these calls (as long as the file is open) are buffered by the server, so iteratively calling * this method should provide all changes (size of that buffer can be adjusted through * {@link jcifs.Configuration#getNotifyBufferSize()}).
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java
throws CIFSException { super(th, parent, wildcard, filter, searchAttributes); } @SuppressWarnings ( "resource" ) @Override protected final FileEntry open () throws CIFSException { SmbResourceLocator loc = this.getParent().getLocator(); String unc = loc.getUNCPath(); String p = loc.getURL().getPath(); if ( p.lastIndexOf('/') != ( p.length() - 1 ) ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sat Nov 13 15:13:49 GMT 2021 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/dtyp/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: Sun Jul 01 13:12:10 GMT 2018 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
private volatile int tid = -1; private volatile String service = "?????"; private volatile boolean inDfs, inDomainDfs; private volatile long treeNum; // used by SmbFile.isOpen private final AtomicLong usageCount = new AtomicLong(0); private final AtomicBoolean sessionAcquired = new AtomicBoolean(true); private final boolean traceResource;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:06:39 GMT 2023 - 29.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTree.java
*/ int connectionState; int tid; String share; String service = "?????"; String service0; SmbSession session; boolean inDfs, inDomainDfs; int tree_num; // used by SmbFile.isOpen SmbTree( SmbSession session, String share, String service ) { this.session = session; this.share = share.toUpperCase(); if( service != null && service.startsWith( "??" ) == false ) {
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/SmbFileInputStream.java
return 0; } long start = fp; if( tmp == null ) { throw new IOException( "Bad file descriptor" ); } // ensure file is open file.open( openFlags, access, SmbFile.ATTR_NORMAL, 0 ); /* * Read AndX Request / Response */ if( file.log.level >= 4 )
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
} } /** * Ensures that the file descriptor is openend * * @throws CIFSException */ public void open () throws CIFSException { try ( SmbFileHandleImpl fh = ensureOpen() ) {} } /** * @param file * @param openFlags * @return * @throws SmbException */
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun May 17 08:55:14 GMT 2020 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/SmbFileHandle.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; /** * Handle to an open file * * @author mbechler * */ public interface SmbFileHandle extends AutoCloseable { /** * @return the tree */ SmbTreeHandle getTree (); /**
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 1.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
if ( dfd == null || !dfd.isValid() ) { // don't reopen the file for every round if it's not necessary, keep the lock dfd = openCopyTargetFile(dest, src.getAttributes(), !write); } // FSCTL_SRV_COPYCHUNK_WRITE allows to open the file for writing only, FSCTL_SRV_COPYCHUNK also // needs read access
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Tue Jul 07 10:52:42 GMT 2020 - 17.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
} return f; } void open( int flags, int access, int attrs, int options ) throws SmbException { 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;
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)