- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 21 for onCreate (0.2 sec)
-
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 }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0) -
internal/logger/logrotate.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.8K bytes - Viewed (0) -
misc/ios/go_ios_exec.go
// // The lock file is never deleted, to avoid concurrent locks on distinct // files with the same path. lockName := filepath.Join(os.TempDir(), "go_ios_exec-"+deviceID+".lock") lock, err = os.OpenFile(lockName, os.O_CREATE|os.O_RDONLY, 0666) if err != nil { return 1, err } if err := syscall.Flock(int(lock.Fd()), syscall.LOCK_EX); err != nil { return 1, err } err = runOnSimulator(appdir) if err != nil {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Jun 18 16:32:49 UTC 2024 - 8.7K bytes - Viewed (0) -
cmd/xl-storage.go
// Create top level directories if they don't exist. // with mode 0o777 mkdir honors system umask. mkdirAll(pathutil.Dir(filePath), 0o777, s.drivePath) // don't need to fail here w, err := s.openFileDirect(filePath, os.O_CREATE|os.O_WRONLY|os.O_EXCL) if err != nil { return err } _, err = w.Write(alignedBuf) w.Close() if err != nil { if isSysErrInvalidArg(err) { err = errUnsupportedDisk } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 91.3K bytes - Viewed (0) -
cmd/test-utils_test.go
extractedFilePath := filepath.Join(targetDir, file.Name) if file.FileInfo().IsDir() { return os.MkdirAll(extractedFilePath, file.Mode()) } outputFile, err := os.OpenFile(extractedFilePath, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, file.Mode()) if err != nil { return err } defer outputFile.Close() _, err = io.Copy(outputFile, zippedFile) return err }() if err != nil { return err
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K bytes - Viewed (0) -
api/go1.1.txt
pkg os (darwin-amd64-cgo), const O_EXCL = 2048 pkg os (darwin-amd64-cgo), const O_SYNC = 128 pkg os (darwin-amd64-cgo), const O_TRUNC = 1024 pkg os (darwin-amd64-cgo), const PathListSeparator = 58 pkg os (darwin-amd64-cgo), const PathSeparator = 47 pkg os (freebsd-386), const DevNull = "/dev/null" pkg os (freebsd-386), const O_APPEND = 8 pkg os (freebsd-386), const O_CREATE = 512 pkg os (freebsd-386), const O_EXCL = 2048
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 2.6M bytes - Viewed (0) -
api/go1.13.txt
pkg os, method (*PathError) Unwrap() error pkg os, method (*SyscallError) Unwrap() error pkg os (netbsd-arm64-cgo), const DevNull = "/dev/null" 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
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Aug 08 18:44:16 UTC 2019 - 452.6K bytes - Viewed (0) -
api/go1.20.txt
pkg math/bits (freebsd-riscv64-cgo), const UintSize = 64 #53466 pkg os (freebsd-riscv64), const DevNull = "/dev/null" #53466 pkg os (freebsd-riscv64), const O_APPEND = 8 #53466 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
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Feb 17 21:23:32 UTC 2023 - 602.6K bytes - Viewed (0) -
api/go1.14.txt
pkg math/bits (freebsd-arm64-cgo), const UintSize = 64 pkg os (freebsd-arm64), const DevNull = "/dev/null" 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
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 508.9K bytes - Viewed (0) -
api/go1.16.txt
pkg math/bits (darwin-arm64-cgo), const UintSize = 64 pkg os (darwin-arm64), const DevNull = "/dev/null" 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
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Dec 02 16:30:41 UTC 2022 - 479.2K bytes - Viewed (0)