- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 24 for O_RDONLY (0.18 seconds)
-
src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java
* Win32 Named Pipe server processes. * */ public class SmbNamedPipe extends SmbFile { /** * The pipe should be opened read-only. */ public static final int PIPE_TYPE_RDONLY = O_RDONLY; /** * The pipe should be opened only for writing. */ public static final int PIPE_TYPE_WRONLY = O_WRONLY; /** * The pipe should be opened for both reading and writing.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
* will never change. * * @see java.io.File */ public class SmbFile extends URLConnection implements SmbConstants { static final int O_RDONLY = 0x01; static final int O_WRONLY = 0x02; static final int O_RDWR = 0x03; static final int O_APPEND = 0x04; // Open Function Encoding // create if the file does not existCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (0) -
src/main/java/jcifs/SmbConstants.java
* represents is a communications device. */ int TYPE_COMM = 0x40; /* open flags */ /** * Open for reading only. */ int O_RDONLY = 0x01; /** * Open for writing only. */ int O_WRONLY = 0x02; /** * Open for reading and writing. */ int O_RDWR = 0x03; /** * Open in append mode.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 12.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFile.java
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); } } @Override public boolean canRead() throws SmbException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 103.2K bytes - Click Count (0) -
src/test/java/jcifs/SmbPipeResourceTest.java
/** * Test if the PIPE_TYPE_RDONLY constant has the correct value. */ @Test void testPipeTypeRdonly() { assertEquals(SmbConstants.O_RDONLY, SmbPipeResource.PIPE_TYPE_RDONLY, "PIPE_TYPE_RDONLY should match SmbConstants.O_RDONLY"); } /** * Test if the PIPE_TYPE_WRONLY constant has the correct value. */ @Test void testPipeTypeWronly() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2K bytes - Click Count (0) -
internal/ioutil/read_file_noatime_supported.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 937 bytes - Click Count (0) -
internal/lock/lock_nix.go
) // Internal function implements support for both // blocking and non blocking lock type. func lockedOpenFile(path string, flag int, perm os.FileMode, lockType int) (*LockedFile, error) { switch flag { case syscall.O_RDONLY: lockType |= syscall.LOCK_SH case syscall.O_WRONLY: fallthrough case syscall.O_RDWR: fallthrough case syscall.O_WRONLY | syscall.O_CREAT: fallthrough case syscall.O_RDWR | syscall.O_CREAT:
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 2.8K bytes - Click Count (0) -
cmd/xl-storage_noatime_notsupported.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jul 23 16:36:24 GMT 2024 - 1001 bytes - Click Count (0) -
internal/lock/lock_windows.go
// acquire a write lock. func TryLockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) { var lockType uint32 = lockFileFailImmediately | lockFileExclusiveLock if flag == syscall.O_RDONLY { // https://docs.microsoft.com/en-us/windows/desktop/api/fileapi/nf-fileapi-lockfileex //lint:ignore SA4016 Reasons lockType = lockFileFailImmediately // Set this to enable shared lock and fail immediately. }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.9K bytes - Click Count (0) -
src/main/java/jcifs/SmbPipeResource.java
* * @author mbechler * */ public interface SmbPipeResource extends SmbResource { /** * The pipe should be opened read-only. */ int PIPE_TYPE_RDONLY = SmbConstants.O_RDONLY; /** * The pipe should be opened only for writing. */ int PIPE_TYPE_WRONLY = SmbConstants.O_WRONLY; /** * The pipe should be opened for both reading and writing. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2K bytes - Click Count (0)