- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for O_RDONLY (0.06 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/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) -
internal/ioutil/read_file_noatime_notsupported.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 893 bytes - Click Count (0) -
cmd/xl-storage_noatime_supported.go
package cmd import ( "os" "syscall" ) var ( // Disallow updating access times // Add non-block to avoid syscall to attempt to set epoll on files. readMode = os.O_RDONLY | 0x40000 | syscall.O_NONBLOCK // O_NOATIME // Write with data sync only used only for `xl.meta` writes writeMode = 0x1000 | syscall.O_NONBLOCK // O_DSYNC
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jul 23 16:36:24 GMT 2024 - 1.1K bytes - Click Count (0) -
internal/ioutil/append-file_windows.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 1.2K bytes - Click Count (0)