- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for CAP_NT_SMBS (0.05 sec)
-
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
when(handle.getTree()).thenReturn(tree); when(tree.isSMB2()).thenReturn(false); when(tree.getConfig()).thenReturn(mock(Configuration.class)); when(tree.hasCapability(SmbConstants.CAP_NT_SMBS)).thenReturn(true); when(handle.getFid()).thenReturn(fid); when(tree.send(any(CommonServerMessageBlockRequest.class), any(), any(), any())).thenReturn(resp); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
int CAP_MPX_MODE = 0x0002; /** Unicode capability */ int CAP_UNICODE = 0x0004; /** Large files capability */ int CAP_LARGE_FILES = 0x0008; /** NT SMBs capability */ int CAP_NT_SMBS = 0x0010; /** RPC remote APIs capability */ int CAP_RPC_REMOTE_APIS = 0x0020; /** 32-bit status codes capability */ int CAP_STATUS32 = 0x0040; /** Level II oplocks capability */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
when(tree.acquire()).thenReturn(tree); // Setup for ensureOpen when(tree.isSMB2()).thenReturn(false); when(tree.hasCapability(SmbConstants.CAP_NT_SMBS)).thenReturn(true); when(pipe.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenReturn(fh); when(fh.acquire()).thenReturn(fh); lenient().when(fh.isValid()).thenReturn(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K 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 Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K 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); } else {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 10.2K bytes - Viewed (0) -
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)