- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 130 for lzcntl (0.12 sec)
-
src/runtime/linkname_unix.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build unix package runtime import _ "unsafe" // used in internal/syscall/unix
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 266 bytes - Viewed (0) -
src/net/sock_cloexec_solaris.go
// Support for SOCK_* flags as part of the type parameter was added to Oracle // Solaris in the 11.4 release. Thus, on releases prior to 11.4, we fall back // to the combination of socket(3c) and fcntl(2). package net import ( "internal/poll" "internal/syscall/unix" "os" "syscall" ) // Wrapper around the socket system call that marks the returned file
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:17:25 UTC 2024 - 1.4K bytes - Viewed (0) -
src/runtime/defs1_linux.go
//go:build ignore /* Input to cgo -cdefs GOARCH=amd64 cgo -cdefs defs.go defs1.go >amd64/defs.h */ package runtime /* #include <ucontext.h> #include <fcntl.h> #include <asm/signal.h> */ import "C" const ( O_RDONLY = C.O_RDONLY O_NONBLOCK = C.O_NONBLOCK O_CLOEXEC = C.O_CLOEXEC SA_RESTORER = C.SA_RESTORER ) type Usigset C.__sigset_t
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 845 bytes - Viewed (0) -
src/syscall/flock_linux.go
import "unsafe" // fcntl64Syscall is usually SYS_FCNTL, but is overridden on 32-bit Linux // systems by flock_linux_32bit.go to be SYS_FCNTL64. var fcntl64Syscall uintptr = SYS_FCNTL // FcntlFlock performs a fcntl syscall for the [F_GETLK], [F_SETLK] or [F_SETLKW] command. func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error { _, _, errno := Syscall(fcntl64Syscall, fd, uintptr(cmd), uintptr(unsafe.Pointer(lk))) if errno == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 647 bytes - Viewed (0) -
src/runtime/defs3_linux.go
#define sigset_t __sigset_t // rename the sigset_t here otherwise cgo will complain about "inconsistent definitions for C.sigset_t" #define _SYS_TYPES_H // avoid inclusion of sys/types.h #include <asm/ucontext.h> #include <asm-generic/fcntl.h> */ import "C" const ( O_RDONLY = C.O_RDONLY O_CLOEXEC = C.O_CLOEXEC SA_RESTORER = 0 // unused ) type Usigset C.__sigset_t // types used in sigcontext type Ptregs C.struct_pt_regs
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteAMD64.go
v1.AddArg(x) v0.AddArg2(v1, v1) v.AddArg(v0) return true } // match: (BitLen16 <t> x) // cond: buildcfg.GOAMD64 >= 3 // result: (NEGQ (ADDQconst <t> [-32] (LZCNTL (MOVWQZX <x.Type> x)))) for { t := v.Type x := v_0 if !(buildcfg.GOAMD64 >= 3) { break } v.reset(OpAMD64NEGQ) v0 := b.NewValue0(v.Pos, OpAMD64ADDQconst, t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 19:38:41 UTC 2024 - 712.7K bytes - Viewed (0) -
src/runtime/syscall2_solaris.go
//go:cgo_import_dynamic libc_chdir chdir "libc.so" //go:cgo_import_dynamic libc_chroot chroot "libc.so" //go:cgo_import_dynamic libc_close close "libc.so" //go:cgo_import_dynamic libc_execve execve "libc.so" //go:cgo_import_dynamic libc_fcntl fcntl "libc.so" //go:cgo_import_dynamic libc_forkx forkx "libc.so" //go:cgo_import_dynamic libc_gethostname gethostname "libc.so" //go:cgo_import_dynamic libc_getpid getpid "libc.so" //go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 1.8K bytes - Viewed (0) -
src/internal/poll/sock_cloexec_solaris.go
// The accept4(3c) function was added to Oracle Solaris in the Solaris 11.4.0 // release. Thus, on releases prior to 11.4, we fall back to the combination // of accept(3c) and fcntl(2). package poll import ( "internal/syscall/unix" "syscall" ) // Wrapper around the accept system call that marks the returned file // descriptor as nonblocking and close-on-exec.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:17:25 UTC 2024 - 1.5K bytes - Viewed (0) -
src/runtime/fds_unix.go
// we define them here rather than in each of the OS specific files. F_GETFD = 0x01 EBADF = 0x09 O_RDWR = 0x02 ) devNull := []byte("/dev/null\x00") for i := 0; i < 3; i++ { ret, errno := fcntl(int32(i), F_GETFD, 0) if ret >= 0 { continue } if errno != EBADF { print("runtime: unexpected error while checking standard file descriptor ", i, ", errno=", errno, "\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 27 22:20:25 UTC 2023 - 1.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_openbsd.go
//sys fcntl(fd int, cmd int, arg int) (n int, err error) //sys fcntlPtr(fd int, cmd int, arg unsafe.Pointer) (n int, err error) = SYS_FCNTL // FcntlInt performs a fcntl syscall on fd with the provided command and argument. func FcntlInt(fd uintptr, cmd, arg int) (int, error) { return fcntl(int(fd), cmd, arg) } // FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 29 21:28:33 UTC 2023 - 11K bytes - Viewed (0)