- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for FILE_SHARE_READ (0.11 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java
if ( this.desiredAccess == 0x3 ) { this.desiredAccess = 0x2; /* Mmm, I thought 0x03 was RDWR */ } // 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 ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 7K bytes - Viewed (0) -
src/test/java/jcifs/tests/OplockTests.java
} 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; int access = SmbConstants.FILE_READ_DATA | SmbConstants.FILE_READ_ATTRIBUTES | SmbConstants.FILE_WRITE_ATTRIBUTES | SmbConstants.FILE_WRITE_DATA;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
/** * */ public static final int SMB2_IMPERSONATION_LEVEL_DELEGATE = 0x3; /** * */ public static final int FILE_SHARE_READ = 0x1; /** * */ public static final int FILE_SHARE_WRITE = 0x2; /** * */ public static final int FILE_SHARE_DELETE = 0x4; /** *
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jun 01 09:52:11 UTC 2019 - 14.3K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
* other SMB clients will be permitted to read from the target file while * this file is open. This constant may be logically OR'd with other share * access flags. */ static final int FILE_SHARE_READ = 0x01; /** * When specified as the <tt>shareAccess</tt> constructor parameter, * other SMB clients will be permitted to write to the target file while
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
withOpen(th, Smb2CreateRequest.FILE_OPEN, FILE_WRITE_ATTRIBUTES, FILE_SHARE_READ | FILE_SHARE_WRITE, req); } else if ( th.hasCapability(SmbConstants.CAP_NT_SMBS) ) { try ( SmbFileHandleImpl f = openUnshared( O_RDONLY, FILE_WRITE_ATTRIBUTES, FILE_SHARE_READ | FILE_SHARE_WRITE, dir,
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu May 23 01:50:13 UTC 2024 - 82.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
throw SmbException.wrap(e); } } try ( SmbFileHandleImpl sfd = src.openUnshared(0, SmbConstants.O_RDONLY, SmbConstants.FILE_SHARE_READ, SmbConstants.ATTR_NORMAL, 0); SmbFileInputStream fis = new SmbFileInputStream(src, sh, sfd) ) { int attrs = src.getAttributes();
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/smb1/smb1/SmbFile.java
* other SMB clients will be permitted to read from the target file while * this file is open. This constant may be logically OR'd with other share * access flags. */ public static final int FILE_SHARE_READ = 0x01; /** * When specified as the <tt>shareAccess</tt> constructor parameter, * other SMB clients will be permitted to write to the target file while
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 107.9K bytes - Viewed (0) -
internal/lock/lock_windows.go
var createflag uint32 switch { case flag&syscall.O_CREAT == syscall.O_CREAT: createflag = syscall.OPEN_ALWAYS default: createflag = syscall.OPEN_EXISTING } shareflag := uint32(syscall.FILE_SHARE_READ | syscall.FILE_SHARE_WRITE | syscall.FILE_SHARE_DELETE) accessAttr := uint32(syscall.FILE_ATTRIBUTE_NORMAL | 0x80000000) fd, err := syscall.CreateFile(pathp, access, shareflag, nil, createflag, accessAttr, 0)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Oct 18 18:08:15 UTC 2023 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
<code>SmbFile.FILE_NO_SHARE</code> is specified the client will have exclusive access to the file. An additional open command from jCIFS or another application will fail with the "file is being accessed by another process" error. The <code>FILE_SHARE_READ</code>, <code>FILE_SHARE_WRITE</code>, and <code>FILE_SHARE_DELETE</code> may be combined with the bitwise OR '|' to specify that other peocesses may read, write, and/or delete the file while the jCIFS user has the file open.
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 9.2K bytes - Viewed (0) -
api/go1.txt
pkg syscall (windows-386), const FILE_NOTIFY_CHANGE_SIZE ideal-int pkg syscall (windows-386), const FILE_SHARE_DELETE ideal-int pkg syscall (windows-386), const FILE_SHARE_READ ideal-int pkg syscall (windows-386), const FILE_SHARE_WRITE ideal-int pkg syscall (windows-386), const FILE_TYPE_CHAR ideal-int pkg syscall (windows-386), const FILE_TYPE_DISK ideal-int
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)