- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 32 for cap (0.16 sec)
-
src/test/java/jcifs/tests/OplockTests.java
throw e; } } } else if ( trans.hasCapability(SmbConstants.CAP_NT_SMBS) ) { int flags = SmbConstants.O_CREAT; int sharing = SmbConstants.FILE_SHARE_DELETE | SmbConstants.FILE_SHARE_READ | SmbConstants.FILE_SHARE_WRITE;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
if ((server.capabilities & CAP_EXTENDED_SECURITY) == CAP_EXTENDED_SECURITY) capabilities |= CAP_EXTENDED_SECURITY; // & doesn't copy high bit if ((capabilities & ServerMessageBlock.CAP_UNICODE) == 0) { // server doesn't want unicode if (FORCE_UNICODE) { capabilities |= ServerMessageBlock.CAP_UNICODE; } else {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 31.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
public boolean haveCapabilitiy ( int cap ) { return ( this.commonCapabilities & cap ) == cap; } /** * {@inheritDoc} * * @see jcifs.internal.SmbNegotiationResponse#isDFSSupported() */ @Override public boolean isDFSSupported () { return !getConfig().isDfsDisabled() && haveCapabilitiy(Smb2Constants.SMB2_GLOBAL_CAP_DFS); } /** *
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/SmbWatchHandleImpl.java
req = r; } else { if ( !th.hasCapability(SmbConstants.CAP_NT_SMBS) ) { throw new SmbUnsupportedOperationException("Not supported without CAP_NT_SMBS"); } /* * NtTrans Notify Change Request / Response */
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
if ( th.hasCapability(SmbConstants.CAP_LARGE_READX) ) { this.largeReadX = true; this.readSize = Math.min(th.getConfig().getReceiveBufferSize() - 70, th.areSignaturesActive() ? 0xFFFF - 70 : 0xFFFFFF - 70); } // there seems to be a bug with some servers that causes corruption if using signatures + CAP_LARGE_WRITE
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) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
this.treeConnection.ensureDFSResolved(this.resourceLoc); } @Override public boolean hasCapability ( int cap ) throws SmbException { return this.treeConnection.hasCapability(cap); } /** * {@inheritDoc} * * @see jcifs.SmbTreeHandle#isConnected() */ @Override public boolean isConnected () {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
} try ( SmbTreeHandleImpl th = ensureTreeConnected() ) { if ( !th.isSMB2() && !th.hasCapability(SmbConstants.CAP_NT_SMBS) ) { throw new SmbUnsupportedOperationException("Not supported without CAP_NT_SMBS"); } return new SmbWatchHandleImpl(openUnshared(O_RDONLY, READ_CONTROL | GENERIC_READ, DEFAULT_SHARING, 0, 1), filter, recursive); }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 81.6K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
* @param lastAccess * the last access time as milliseconds since Jan 1, 1970 * @throws CIFSException * @throws jcifs.smb.SmbUnsupportedOperationException * if CAP_NT_SMBS is unavailable */ void setFileTimes ( long createTime, long lastModified, long lastAccess ) throws CIFSException; /**
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Dec 20 14:09:34 GMT 2020 - 26K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
return null; } /** * * Only call this method while holding a tree handle * * @param cap * @return whether the capability is available * @throws SmbException */ public boolean hasCapability ( int cap ) throws SmbException { try ( SmbSessionImpl s = getSession() ) { if ( s != 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) -
src/main/java/jcifs/smb/SmbTransportImpl.java
Socket s = this.socket; return super.isFailed() || s == null || s.isClosed(); } @Override public boolean hasCapability ( int cap ) throws SmbException { return getNegotiateResponse().haveCapabilitiy(cap); } /** * @return the negotiated * @throws SmbException */ SmbNegotiationResponse getNegotiateResponse () throws SmbException {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Wed Jan 18 23:47:00 GMT 2023 - 67K bytes - Viewed (0)