Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for O_TRUNC (0.56 sec)

  1. cmd/xl-storage.go

    // Create or truncate an existing file before writing
    func (s *xlStorage) writeAllInternal(ctx context.Context, filePath string, b []byte, sync bool, skipParent string) (err error) {
    	flags := os.O_CREATE | os.O_WRONLY | os.O_TRUNC
    
    	var w *os.File
    	if sync {
    		// Perform DirectIO along with fdatasync for larger xl.meta, mostly when
    		// xl.meta has "inlined data" we prefer writing O_DIRECT and then doing
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 13 11:33:47 UTC 2025
    - 91.7K bytes
    - Viewed (0)
  2. api/go1.13.txt

    pkg os (netbsd-arm64-cgo), const O_APPEND = 8
    pkg os (netbsd-arm64-cgo), const O_CREATE = 512
    pkg os (netbsd-arm64-cgo), const O_EXCL = 2048
    pkg os (netbsd-arm64-cgo), const O_SYNC = 128
    pkg os (netbsd-arm64-cgo), const O_TRUNC = 1024
    pkg os (netbsd-arm64-cgo), const PathListSeparator = 58
    pkg os (netbsd-arm64-cgo), const PathSeparator = 47
    pkg os (netbsd-arm64), const DevNull = "/dev/null"
    pkg os (netbsd-arm64), const O_APPEND = 8
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Aug 08 18:44:16 UTC 2019
    - 452.6K bytes
    - Viewed (0)
  3. api/go1.14.txt

    pkg os (freebsd-arm64), const O_APPEND = 8
    pkg os (freebsd-arm64), const O_CREATE = 512
    pkg os (freebsd-arm64), const O_EXCL = 2048
    pkg os (freebsd-arm64), const O_SYNC = 128
    pkg os (freebsd-arm64), const O_TRUNC = 1024
    pkg os (freebsd-arm64), const PathListSeparator = 58
    pkg os (freebsd-arm64), const PathSeparator = 47
    pkg os (freebsd-arm64-cgo), const DevNull = "/dev/null"
    pkg os (freebsd-arm64-cgo), const O_APPEND = 8
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 508.9K bytes
    - Viewed (0)
  4. api/go1.16.txt

    pkg os (darwin-arm64), const O_APPEND = 8
    pkg os (darwin-arm64), const O_CREATE = 512
    pkg os (darwin-arm64), const O_EXCL = 2048
    pkg os (darwin-arm64), const O_SYNC = 128
    pkg os (darwin-arm64), const O_TRUNC = 1024
    pkg os (darwin-arm64), const PathListSeparator = 58
    pkg os (darwin-arm64), const PathSeparator = 47
    pkg os (darwin-arm64-cgo), const DevNull = "/dev/null"
    pkg os (darwin-arm64-cgo), const O_APPEND = 8
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
  5. api/go1.20.txt

    pkg os (freebsd-riscv64), const O_CREATE = 512 #53466
    pkg os (freebsd-riscv64), const O_EXCL = 2048 #53466
    pkg os (freebsd-riscv64), const O_SYNC = 128 #53466
    pkg os (freebsd-riscv64), const O_TRUNC = 1024 #53466
    pkg os (freebsd-riscv64), const PathListSeparator = 58 #53466
    pkg os (freebsd-riscv64), const PathSeparator = 47 #53466
    pkg os (freebsd-riscv64-cgo), const DevNull = "/dev/null" #53466
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 17 21:23:32 UTC 2023
    - 602.6K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.14.md

    * Pre-existing log files are now opened with O_APPEND, instead of O_TRUNC. This helps prevent losing logs when components crash-loop, and also enables external log rotation utilities to truncate log files in-place without components extending log files to their pre-truncation sizes on subsequent writes. ([#74837](https...
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Mon Jun 14 22:06:39 UTC 2021
    - 271.5K bytes
    - Viewed (0)
  7. api/go1.txt

    pkg os, const ModeType FileMode
    pkg os, const O_APPEND int
    pkg os, const O_CREATE int
    pkg os, const O_EXCL int
    pkg os, const O_RDONLY int
    pkg os, const O_RDWR int
    pkg os, const O_SYNC int
    pkg os, const O_TRUNC int
    pkg os, const O_WRONLY int
    pkg os, const PathListSeparator ideal-char
    pkg os, const PathSeparator ideal-char
    pkg os, const SEEK_CUR int
    pkg os, const SEEK_END int
    pkg os, const SEEK_SET int
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top