- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for shareAccess (0.04 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java
} // map shareAccess as far as we can if ((shareAccess & SmbConstants.FILE_SHARE_READ) != 0 && (shareAccess & SmbConstants.FILE_SHARE_WRITE) != 0) { this.desiredAccess |= SHARING_DENY_NONE; } else if (shareAccess == SmbConstants.FILE_NO_SHARE) { this.desiredAccess |= SHARING_DENY_READ_WRITE_EXECUTE; } else if ((shareAccess & SmbConstants.FILE_SHARE_WRITE) == 0) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
* @param shareAccess the share access flags for file sharing * @throws SmbException if an SMB error occurs * @throws MalformedURLException if the URL is malformed * @throws UnknownHostException if the host cannot be resolved */ public SmbRandomAccessFile(final String url, final String mode, final int shareAccess)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
this.fileAttributes = fileAttributes; } /** * Set the share access mode for the file * @param shareAccess the shareAccess to set */ public void setShareAccess(final int shareAccess) { this.shareAccess = shareAccess; } /** * Set the create disposition specifying what action to take if file exists or doesn't exist
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java
this.extFileAttributes = extFileAttributes; // shareAccess this.shareAccess = shareAccess; // createDisposition if ((flags & SmbFile.O_TRUNC) == SmbFile.O_TRUNC) { // truncate the file if ((flags & SmbFile.O_CREAT) == SmbFile.O_CREAT) { // create it if necessary createDisposition = FILE_OVERWRITE_IF;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java
// extFileAttributes this.extFileAttributes = extFileAttributes; // shareAccess this.shareAccess = shareAccess; // createDisposition if ((flags & SmbConstants.O_TRUNC) == SmbConstants.O_TRUNC) { // truncate the file
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
if ((shareAccess & ~(FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE)) != 0) { throw new RuntimeException("Illegal shareAccess parameter"); } this.shareAccess = shareAccess; } /** * Constructs an SmbFile representing a resource on an SMB network such * as a file or directory. The second parameter is a relative path from
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/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
void testSetShareAccess() { request = new Smb2CreateRequest(mockConfig, "test.txt"); int shareAccess = Smb2CreateRequest.FILE_SHARE_READ | Smb2CreateRequest.FILE_SHARE_WRITE | Smb2CreateRequest.FILE_SHARE_DELETE; request.setShareAccess(shareAccess); byte[] buffer = new byte[1024]; request.writeBytesWireFormat(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
/** * When specified as the <code>shareAccess</code> constructor parameter, * other SMB clients (including other threads making calls into jCIFS) * will not be permitted to access the target file and will receive "The * file is being accessed by another process" message. */ int FILE_NO_SHARE = 0x00; /** * When specified as the <code>shareAccess</code> constructor parameter,
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
* @throws UnknownHostException if the host cannot be resolved */ public SmbFileOutputStream(final String url, final int shareAccess) throws SmbException, MalformedURLException, UnknownHostException { this(new SmbFile(url, "", null, shareAccess), false); } SmbFileOutputStream(final SmbFile file, final boolean append, final int openFlags)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java
*/ private SmbComNTCreateAndX createRequest(int flags, int createOptions) { return new SmbComNTCreateAndX(mockConfig, "test.txt", flags, SmbConstants.FILE_READ_EA, // desired access 0, // shareAccess 0, // extFileAttributes createOptions, mockAndX); } @Nested @DisplayName("Constructor createDisposition calculation") class CreateDispositionTests {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0)