- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 103 for Syscall (0.21 sec)
-
internal/lock/lock_nix.go
fallthrough case syscall.O_RDWR | syscall.O_CREAT: lockType |= syscall.LOCK_EX default: return nil, &os.PathError{ Op: "open", Path: path, Err: syscall.EINVAL, } } f, err := os.OpenFile(path, flag|syscall.O_SYNC, perm) if err != nil { return nil, err } if err = syscall.Flock(int(f.Fd()), lockType); err != nil { f.Close() if err == syscall.EWOULDBLOCK { err = ErrAlreadyLocked
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 2.8K bytes - Viewed (0) -
internal/lock/lock_windows.go
fallthrough case syscall.O_WRONLY | syscall.O_CREAT: access = syscall.GENERIC_READ | syscall.GENERIC_WRITE case syscall.O_WRONLY | syscall.O_CREAT | syscall.O_APPEND: access = syscall.FILE_APPEND_DATA default: return nil, fmt.Errorf("Unsupported flag (%d)", flag) } var createflag uint32 switch { case flag&syscall.O_CREAT == syscall.O_CREAT: createflag = syscall.OPEN_ALWAYS default:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Oct 18 18:08:15 UTC 2023 - 7.9K bytes - Viewed (0) -
cmd/xl-storage-errors.go
package cmd import ( "errors" "os" "runtime" "syscall" ) // No space left on device error func isSysErrNoSpace(err error) bool { return errors.Is(err, syscall.ENOSPC) } // Invalid argument, unsupported flags such as O_DIRECT func isSysErrInvalidArg(err error) bool { return errors.Is(err, syscall.EINVAL) } // Input/output error func isSysErrIO(err error) bool {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 06 16:56:29 UTC 2023 - 3.8K bytes - Viewed (0) -
api/go1.20.txt
pkg syscall (freebsd-amd64), const SYS_FSTATAT = 552 #53280 pkg syscall (freebsd-amd64), const SYS_FSTATFS = 556 #53280 pkg syscall (freebsd-amd64), const SYS_GETDIRENTRIES = 554 #53280 pkg syscall (freebsd-amd64), const SYS_GETFSSTAT = 557 #53280 pkg syscall (freebsd-amd64), const SYS_MKNODAT = 559 #53280 pkg syscall (freebsd-amd64), const SYS_STATFS = 555 #53280 pkg syscall (freebsd-arm-cgo), const SYS_FSTAT = 551 #53280
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Feb 17 21:23:32 UTC 2023 - 602.6K bytes - Viewed (0) -
lib/wasm/wasm_exec.js
this._ids.delete(v); this._idPool.push(id); } }, // func stringVal(value string) ref "syscall/js.stringVal": (sp) => { sp >>>= 0; storeValue(sp + 24, loadString(sp + 8)); }, // func valueGet(v ref, p string) ref "syscall/js.valueGet": (sp) => { sp >>>= 0; const result = Reflect.get(loadValue(sp + 8), loadString(sp + 16));
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Aug 30 19:15:21 UTC 2024 - 16.5K bytes - Viewed (0) -
api/go1.3.txt
pkg syscall (freebsd-386), const AF_INET6_SDP = 42 pkg syscall (freebsd-386), const AF_INET6_SDP ideal-int pkg syscall (freebsd-386), const AF_INET_SDP = 40 pkg syscall (freebsd-386), const AF_INET_SDP ideal-int pkg syscall (freebsd-386), const AF_MAX = 42 pkg syscall (freebsd-386), const DLT_MATCHING_MAX = 246 pkg syscall (freebsd-386), const DLT_MPEG_2_TS = 243 pkg syscall (freebsd-386), const DLT_MPEG_2_TS ideal-int
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Jun 02 02:45:00 UTC 2014 - 117K bytes - Viewed (0) -
api/go1.4.txt
pkg syscall (windows-386), const DnsSectionAdditional = 3 pkg syscall (windows-386), const DnsSectionAdditional ideal-int pkg syscall (windows-386), const DnsSectionAnswer = 1 pkg syscall (windows-386), const DnsSectionAnswer ideal-int pkg syscall (windows-386), const DnsSectionAuthority = 2 pkg syscall (windows-386), const DnsSectionAuthority ideal-int pkg syscall (windows-386), const DnsSectionQuestion = 0
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Dec 12 03:01:01 UTC 2014 - 34K bytes - Viewed (0) -
internal/lock/lock_solaris.go
package lock import ( "os" "syscall" ) // lockedOpenFile is an internal function. func lockedOpenFile(path string, flag int, perm os.FileMode, rlockType int) (*LockedFile, error) { var lockType int16 switch flag { case syscall.O_RDONLY: lockType = syscall.F_RDLCK case syscall.O_WRONLY: fallthrough case syscall.O_RDWR: fallthrough case syscall.O_WRONLY | syscall.O_CREAT: fallthrough
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 2.8K bytes - Viewed (0) -
api/go1.11.txt
pkg syscall (openbsd-386), const SOCK_NONBLOCK = 16384 pkg syscall (openbsd-386), const SOCK_NONBLOCK ideal-int pkg syscall (openbsd-386), const SYS_ACCEPT4 = 93 pkg syscall (openbsd-386), const SYS_ACCEPT4 ideal-int pkg syscall (openbsd-386), const SYS_PIPE2 = 101 pkg syscall (openbsd-386), const SYS_PIPE2 ideal-int pkg syscall (openbsd-386), func Accept4(int, int) (int, Sockaddr, error) pkg syscall (openbsd-386), func Pipe2([]int, int) error
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 22 03:48:56 UTC 2018 - 25K bytes - Viewed (0) -
internal/http/dial_others.go
package http import ( "context" "net" "syscall" "time" ) // TODO: if possible implement for non-linux platforms, not a priority at the moment // //nolint:unused func setTCPParametersFn(opts TCPOptions) func(network, address string, c syscall.RawConn) error { return func(network, address string, c syscall.RawConn) error { return nil } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Apr 24 04:08:47 UTC 2024 - 1.6K bytes - Viewed (0)