Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for O_SYNC (0.11 sec)

  1. cmd/erasure-healing-common_test.go

    					// appears in outDatedDisks.
    					tamperedIndex = index
    					filePath := pathJoin(erasureDisks[index].String(), bucket, object, fi.DataDir, "part.1")
    					f, err := os.OpenFile(filePath, os.O_WRONLY|os.O_SYNC, 0)
    					if err != nil {
    						t.Fatalf("Failed to open %s: %s\n", filePath, err)
    					}
    					f.WriteString("oops") // Will cause bitrot error
    					f.Close()
    					break
    				}
    
    			}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. cmd/globals.go

    	globalBackgroundHealState   = newHealState(GlobalContext, false)
    
    	globalMRFState = mrfState{
    		opCh: make(chan partialOperation, mrfOpsQueueSize),
    	}
    
    	// If writes to FS backend should be O_SYNC.
    	globalFSOSync bool
    
    	globalProxyEndpoints []ProxyEndpoint
    
    	globalInternodeTransport http.RoundTripper
    
    	globalRemoteTargetTransport http.RoundTripper
    
    	globalDNSCache = &dnscache.Resolver{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. src/os/file.go

    	O_APPEND int = syscall.O_APPEND // append data to the file when writing.
    	O_CREATE int = syscall.O_CREAT  // create a new file if none exists.
    	O_EXCL   int = syscall.O_EXCL   // used with O_CREATE, file must not exist.
    	O_SYNC   int = syscall.O_SYNC   // open for synchronous I/O.
    	O_TRUNC  int = syscall.O_TRUNC  // truncate regular writable file when opened.
    )
    
    // Seek whence values.
    //
    // Deprecated: Use io.SeekStart, io.SeekCurrent, and io.SeekEnd.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:37 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go

    	O_NOCTTY                         = 0x800
    	O_NOFOLLOW                       = 0x20000
    	O_NONBLOCK                       = 0x80
    	O_PATH                           = 0x200000
    	O_RSYNC                          = 0x4010
    	O_SYNC                           = 0x4010
    	O_TMPFILE                        = 0x410000
    	O_TRUNC                          = 0x200
    	PARENB                           = 0x100
    	PARODD                           = 0x200
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_386.go

    	O_NOCTTY                         = 0x100
    	O_NOFOLLOW                       = 0x20000
    	O_NONBLOCK                       = 0x800
    	O_PATH                           = 0x200000
    	O_RSYNC                          = 0x101000
    	O_SYNC                           = 0x101000
    	O_TMPFILE                        = 0x410000
    	O_TRUNC                          = 0x200
    	PARENB                           = 0x100
    	PARODD                           = 0x200
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go

    	O_NOCTTY                         = 0x100
    	O_NOFOLLOW                       = 0x8000
    	O_NONBLOCK                       = 0x800
    	O_PATH                           = 0x200000
    	O_RSYNC                          = 0x101000
    	O_SYNC                           = 0x101000
    	O_TMPFILE                        = 0x404000
    	O_TRUNC                          = 0x200
    	PARENB                           = 0x100
    	PARODD                           = 0x200
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go

    	O_NOCTTY                         = 0x100
    	O_NOFOLLOW                       = 0x20000
    	O_NONBLOCK                       = 0x800
    	O_PATH                           = 0x200000
    	O_RSYNC                          = 0x101000
    	O_SYNC                           = 0x101000
    	O_TMPFILE                        = 0x410000
    	O_TRUNC                          = 0x200
    	PARENB                           = 0x100
    	PARODD                           = 0x200
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_aix.go

    //sys	fcntl(fd int, cmd int, arg int) (val int, err error)
    
    //sys	fsyncRange(fd int, how int, start int64, length int64) (err error) = fsync_range
    
    func Fsync(fd int) error {
    	return fsyncRange(fd, O_SYNC, 0, 0)
    }
    
    /*
     * Direct access
     */
    
    //sys	Acct(path string) (err error)
    //sys	Chdir(path string) (err error)
    //sys	Chroot(path string) (err error)
    //sys	Close(fd int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  9. src/syscall/types_windows.go

    	O_RDONLY   = 0x00000
    	O_WRONLY   = 0x00001
    	O_RDWR     = 0x00002
    	O_CREAT    = 0x00040
    	O_EXCL     = 0x00080
    	O_NOCTTY   = 0x00100
    	O_TRUNC    = 0x00200
    	O_NONBLOCK = 0x00800
    	O_APPEND   = 0x00400
    	O_SYNC     = 0x01000
    	O_ASYNC    = 0x02000
    	O_CLOEXEC  = 0x80000
    )
    
    const (
    	// More invented values for signals
    	SIGHUP  = Signal(0x1)
    	SIGINT  = Signal(0x2)
    	SIGQUIT = Signal(0x3)
    	SIGILL  = Signal(0x4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go

    	O_NOCTTY                         = 0x100
    	O_NOFOLLOW                       = 0x8000
    	O_NONBLOCK                       = 0x800
    	O_PATH                           = 0x200000
    	O_RSYNC                          = 0x101000
    	O_SYNC                           = 0x101000
    	O_TMPFILE                        = 0x404000
    	O_TRUNC                          = 0x200
    	PARENB                           = 0x100
    	PARODD                           = 0x200
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
Back to top