- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for OpenFile (0.04 seconds)
-
cmd/erasure-healing-common_test.go
// and check if that disk // 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 }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 22.4K bytes - Click Count (0) -
misc/go_android_exec/main.go
// See https://github.com/golang/go/issues/23795 or // https://issuetracker.google.com/issues/73230216. lockPath := filepath.Join(os.TempDir(), "go_android_exec-adb-lock") lock, err := os.OpenFile(lockPath, os.O_CREATE|os.O_RDWR, 0666) if err != nil { return 0, err } defer lock.Close() if err := syscall.Flock(int(lock.Fd()), syscall.LOCK_EX); err != nil { return 0, err }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Aug 21 17:46:57 GMT 2023 - 15.3K bytes - Click Count (0) -
api/go1.24.txt
pkg os, method (*Root) Mkdir(string, fs.FileMode) error #67002 pkg os, method (*Root) Name() string #67002 pkg os, method (*Root) Open(string) (*File, error) #67002 pkg os, method (*Root) OpenFile(string, int, fs.FileMode) (*File, error) #67002 pkg os, method (*Root) OpenRoot(string) (*Root, error) #67002 pkg os, method (*Root) Remove(string) error #67002 pkg os, method (*Root) Stat(string) (fs.FileInfo, error) #67002
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 17 21:28:29 GMT 2024 - 14.2K bytes - Click Count (0) -
api/except.txt
pkg os, const ModeType FileMode pkg os, func Chmod(string, FileMode) error pkg os, func Lstat(string) (FileInfo, error) pkg os, func Mkdir(string, FileMode) error pkg os, func MkdirAll(string, FileMode) error pkg os, func OpenFile(string, int, FileMode) (*File, error) pkg os, func SameFile(FileInfo, FileInfo) bool pkg os, func Stat(string) (FileInfo, error) pkg os, method (*File) Chmod(FileMode) error
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Sun Jun 16 23:08:08 GMT 2024 - 34.8K bytes - Click Count (0)