- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for IsValid (0.22 sec)
-
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Apr 13 17:05:22 GMT 2020 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
* * @throws IOException * if a network error occurs */ @Override public void close () throws IOException { try { if ( this.handle.isValid() ) { this.handle.close(); } } finally { this.file.clearAttributeCache(); this.tmp = null; } } /**
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sat Nov 13 15:14:04 GMT 2021 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
public boolean isSigningNegotiated () { return ( this.negotiatedFlags2 & SmbConstants.FLAGS2_SECURITY_SIGNATURES ) == SmbConstants.FLAGS2_SECURITY_SIGNATURES; } @Override public boolean isValid ( CIFSContext ctx, SmbNegotiationRequest req ) { if ( getDialectIndex() > 10 ) { return false; }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Tue Jul 07 10:52:42 GMT 2020 - 15.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
* @param file * @param openFlags * @return * @throws SmbException */ synchronized SmbFileHandleImpl ensureOpen () throws CIFSException { if ( this.handle == null || !this.handle.isValid() ) { // one extra acquire to keep this open till the stream is released if ( this.file instanceof SmbNamedPipe ) { this.handle = this.file.openUnshared(
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/smb/SmbCopyUtil.java
chunkInfo[ i ] = new SrvCopychunk(absoff, absoff, csize); ioff += maxChunkSize; } 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); }
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/internal/smb2/nego/Smb2NegotiateResponse.java
*/ @Override public boolean canReuse ( CIFSContext tc, boolean forceSigning ) { return getConfig().equals(tc.getConfig()); } @Override public boolean isValid ( CIFSContext tc, SmbNegotiationRequest req ) { if ( !isReceived() || getStatus() != 0 ) { return false; } if ( req.isSigningEnforced() && !isSigningEnabled() ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Mar 22 10:09:46 GMT 2020 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
/** * @return * @throws SmbException */ synchronized SmbFileHandleImpl ensureOpen () throws CIFSException { // ensure file is open if ( this.handle == null || !this.handle.isValid() ) { // one extra acquire to keep this open till the stream is released this.handle = this.file.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, this.options).acquire();
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Wed Jan 08 12:01:33 GMT 2020 - 18.5K bytes - Viewed (0)