- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for hasCapability (0.08 sec)
-
src/main/java/jcifs/smb/SmbRandomAccessFile.java
} try ( SmbFileHandle h = ensureOpen() ) {} this.readSize = th.getReceiveBufferSize() - 70; this.writeSize = th.getSendBufferSize() - 70; if ( th.hasCapability(SmbConstants.CAP_LARGE_READX) ) { this.largeReadX = true; this.readSize = Math.min(th.getConfig().getReceiveBufferSize() - 70, th.areSignaturesActive() ? 0xFFFF - 70 : 0xFFFFFF - 70);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 08 12:01:33 UTC 2020 - 18.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
this.writeSize = sendBufferSize - 70; this.useNTSmbs = th.hasCapability(SmbConstants.CAP_NT_SMBS); if ( !this.useNTSmbs ) { log.debug("No support for NT SMBs"); } // there seems to be a bug with some servers that causes corruption if using signatures + // CAP_LARGE_WRITE if ( th.hasCapability(SmbConstants.CAP_LARGE_WRITEX) && !th.areSignaturesActive() ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Nov 13 15:14:04 UTC 2021 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
* @throws SmbException */ public boolean hasCapability ( int cap ) throws SmbException { try ( SmbSessionImpl s = getSession() ) { if ( s != null ) { try ( SmbTransportImpl transport = s.getTransport() ) { return transport.hasCapability(cap); } } throw new SmbException("Not connected");
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:50:16 UTC 2020 - 31K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
req.setFileInformation(new FileBasicInfo(ctime, atime, mtime, 0L, attrs)); dh.send(req); } else if ( dh.hasCapability(SmbConstants.CAP_NT_SMBS) ) { // use the open file descriptor dh.send( new Trans2SetFileInformation(dh.getConfig(), dfd.getFid(), attrs, ctime, mtime, atime),
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:52:42 UTC 2020 - 17.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
th.send(new TransWaitNamedPipe(th.getConfig(), this.uncPath), new TransWaitNamedPipeResponse(th.getConfig())); } if ( th.hasCapability(SmbConstants.CAP_NT_SMBS) || this.uncPath.startsWith("\\pipe\\") ) { this.handle = this.pipe.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, 0); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Apr 13 17:05:22 UTC 2020 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
this.readSizeFile = th.getReceiveBufferSize(); return; } this.readSize = Math.min(th.getReceiveBufferSize() - 70, th.getMaximumBufferSize() - 70); if ( th.hasCapability(SmbConstants.CAP_LARGE_READX) ) { this.largeReadX = true; this.readSizeFile = Math.min(th.getConfig().getReceiveBufferSize() - 70, th.areSignaturesActive() ? 0xFFFF - 70 : 0xFFFFFF - 70);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun May 17 08:55:14 UTC 2020 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
(localAddr != null && localAddr.equals( this.localAddr ))) && localPort == this.localPort; } boolean hasCapability( int cap ) throws SmbException { try { connect( RESPONSE_TIMEOUT ); } catch( IOException ioe ) { throw new SmbException( ioe.getMessage(), ioe ); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 31.2K bytes - Viewed (0)