Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 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. src/syscall/fs_js.go

    	}
    	if openmode&O_TRUNC != 0 {
    		flags |= nodeTRUNC
    	}
    	if openmode&O_APPEND != 0 {
    		flags |= nodeAPPEND
    	}
    	if openmode&O_EXCL != 0 {
    		flags |= nodeEXCL
    	}
    	if openmode&O_SYNC != 0 {
    		return 0, errors.New("syscall.Open: O_SYNC is not supported by js/wasm")
    	}
    
    	jsFD, err := fsCall("open", path, flags, perm)
    	if err != nil {
    		return 0, err
    	}
    	fd := jsFD.Int()
    
    	var entries []string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 11 18:19:17 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  3. api/except.txt

    pkg math/big, const MaxBase = 36
    pkg math/big, type Word uintptr
    pkg net, func ListenUnixgram(string, *UnixAddr) (*UDPConn, error)
    pkg os (linux-arm), const O_SYNC = 1052672
    pkg os (linux-arm), const O_SYNC = 4096
    pkg os (linux-arm-cgo), const O_SYNC = 1052672
    pkg os (linux-arm-cgo), const O_SYNC = 4096
    pkg os, const ModeAppend FileMode
    pkg os, const ModeCharDevice FileMode
    pkg os, const ModeDevice FileMode
    pkg os, const ModeDir FileMode
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:13:30 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top