- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for CAP_NT_SMBS (0.19 sec)
-
src/test/java/jcifs/SmbConstantsTest.java
assertEquals(0x0002, SmbConstants.CAP_MPX_MODE); assertEquals(0x0004, SmbConstants.CAP_UNICODE); assertEquals(0x0008, SmbConstants.CAP_LARGE_FILES); assertEquals(0x0010, SmbConstants.CAP_NT_SMBS); assertEquals(0x0020, SmbConstants.CAP_RPC_REMOTE_APIS); assertEquals(0x0040, SmbConstants.CAP_STATUS32); assertEquals(0x0080, SmbConstants.CAP_LEVEL_II_OPLOCKS);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
* the last access time as milliseconds since Jan 1, 1970 * @throws CIFSException if an error occurs modifying the resource * @throws jcifs.smb.SmbUnsupportedOperationException * if CAP_NT_SMBS is unavailable */ void setFileTimes(long createTime, long lastModified, long lastAccess) throws CIFSException; /** * Set the last access time of the file. The time is specified as milliseconds
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
src/test/java/jcifs/config/BaseConfigurationTest.java
testConfig.useLargeReadWrite = true; testConfig.useUnicode = true; testConfig.initDefaults(); assertTrue((testConfig.getCapabilities() & SmbConstants.CAP_NT_SMBS) != 0); assertTrue((testConfig.getCapabilities() & SmbConstants.CAP_STATUS32) != 0); assertTrue((testConfig.getCapabilities() & SmbConstants.CAP_EXTENDED_SECURITY) != 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
req.setFileInformation(new FileEndOfFileInformation(newLength)); th.send(req, RequestParam.NO_RETRY); } else if (th.hasCapability(SmbConstants.CAP_NT_SMBS)) { th.send(new Trans2SetFileInformation(th.getConfig(), fh.getFid(), new FileEndOfFileInformation(newLength)), new Trans2SetFileInformationResponse(th.getConfig()), RequestParam.NO_RETRY);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
*/ int CAP_UNICODE = 0x0004; /** * Large files are supported capability. */ int CAP_LARGE_FILES = 0x0008; /** * NT SMBs are supported capability. */ int CAP_NT_SMBS = 0x0010; int CAP_PERSISTENT_HANDLES = 0x0002; /** * RPC remote APIs are supported capability. */ int CAP_RPC_REMOTE_APIS = 0x0020; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
writeSize = file.tree.session.transport.snd_buf_size - 70; useNTSmbs = file.tree.session.transport.hasCapability(SmbConstants.CAP_NT_SMBS); if (useNTSmbs) { reqx = new SmbComWriteAndX(); rspx = new SmbComWriteAndXResponse(); } else { req = new SmbComWrite();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
this.openFlags &= ~(SmbConstants.O_CREAT | SmbConstants.O_TRUNC); /* in case we close and reopen */ 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 +
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
when(tree.getReceiveBufferSize()).thenReturn(1024); when(tree.getSendBufferSize()).thenReturn(1024); when(tree.hasCapability(anyInt())).thenAnswer(inv -> ntSmbsCap && inv.getArgument(0).equals(SmbConstants.CAP_NT_SMBS)); when(tree.areSignaturesActive()).thenReturn(false); when(tree.isSMB2()).thenReturn(smb2); when(file.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenReturn(fh);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
log.println("open0: " + unc); } /* * NT Create AndX / Open AndX Request / Response */ if (tree.session.transport.hasCapability(SmbConstants.CAP_NT_SMBS)) { final SmbComNTCreateAndXResponse response = new SmbComNTCreateAndXResponse(); final SmbComNTCreateAndX request = new SmbComNTCreateAndX(unc, flags, access, shareAccess, attrs, options, null);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
| (this.useUnicode || this.forceUnicode ? SmbConstants.FLAGS2_UNICODE : 0); } if (this.capabilities == 0) { this.capabilities = (this.useNTSmbs ? SmbConstants.CAP_NT_SMBS : 0) | (this.useNtStatus ? SmbConstants.CAP_STATUS32 : 0) | (this.useExtendedSecurity ? SmbConstants.CAP_EXTENDED_SECURITY : 0) | (this.useLargeReadWrite ? SmbConstants.CAP_LARGE_READX : 0)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0)