Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for O_SYNC (0.14 sec)

  1. internal/config/errors.go

    		"Environment can only accept `on` and `off` values. To disable Console access, set this value to `off`",
    	)
    
    	ErrInvalidFSOSyncValue = newErrFn(
    		"Invalid O_SYNC value",
    		"Please check the passed value",
    		"Can only accept `on` and `off` values. To enable O_SYNC for fs backend, set this value to `on`",
    	)
    
    	ErrOverlappingDomainValue = newErrFn(
    		"Overlapping domain values",
    		"Please check the passed value",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 18 22:25:32 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. 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)
  3. src/syscall/syscall_js.go

    	Stdout = 1
    	Stderr = 2
    )
    
    const (
    	O_RDONLY = 0
    	O_WRONLY = 1
    	O_RDWR   = 2
    
    	O_CREAT  = 0100
    	O_CREATE = O_CREAT
    	O_TRUNC  = 01000
    	O_APPEND = 02000
    	O_EXCL   = 0200
    	O_SYNC   = 010000
    
    	O_CLOEXEC = 0
    )
    
    const (
    	F_DUPFD   = 0
    	F_GETFD   = 1
    	F_SETFD   = 2
    	F_GETFL   = 3
    	F_SETFL   = 4
    	F_GETOWN  = 5
    	F_SETOWN  = 6
    	F_GETLK   = 7
    	F_SETLK   = 8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. internal/logger/logrotate.go

    		}
    	}
    
    	go w.listen()
    
    	return w, nil
    }
    
    func newFile(path string) (*os.File, error) {
    	return os.OpenFile(path, os.O_WRONLY|os.O_TRUNC|os.O_CREATE|os.O_SYNC, 0o666)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. src/syscall/syscall_wasip1.go

    	Stdout = 1
    	Stderr = 2
    )
    
    const (
    	O_RDONLY = 0
    	O_WRONLY = 1
    	O_RDWR   = 2
    
    	O_CREAT  = 0100
    	O_CREATE = O_CREAT
    	O_TRUNC  = 01000
    	O_APPEND = 02000
    	O_EXCL   = 0200
    	O_SYNC   = 010000
    
    	O_CLOEXEC = 0
    )
    
    const (
    	F_DUPFD   = 0
    	F_GETFD   = 1
    	F_SETFD   = 2
    	F_GETFL   = 3
    	F_SETFL   = 4
    	F_GETOWN  = 5
    	F_SETOWN  = 6
    	F_GETLK   = 7
    	F_SETLK   = 8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top