- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 537 for libc (0.06 sec)
-
src/cmd/cgo/internal/testerrors/testdata/malloc.go
// Test that C.malloc does not return nil. package main // #include <stdlib.h> import "C" import ( "fmt" "runtime" ) func main() { var size C.size_t size-- // The Dragonfly libc succeeds when asked to allocate // 0xffffffffffffffff bytes, so pass a different value that // causes it to fail. if runtime.GOOS == "dragonfly" { size = C.size_t(0x7fffffff << (32 * (^uintptr(0) >> 63))) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 766 bytes - Viewed (0) -
src/syscall/mkall.sh
mktypes="GOARCH=$GOARCH go tool cgo -godefs" ;; openbsd_386) GOOSARCH_in="syscall_openbsd_libc.go syscall_openbsd_$GOARCH.go" mkerrors="$mkerrors -m32" mksyscall="./mksyscall.pl -l32 -openbsd -libc" mksysctl="./mksysctl_openbsd.pl" zsysctl="zsysctl_openbsd.go" mksysnum="curl -s 'http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master' | ./mksysnum_openbsd.pl"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 18:22:23 UTC 2023 - 14.6K bytes - Viewed (0) -
src/runtime/cgo/dragonfly.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 485 bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/tsan12.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main // This program hung when run under the C/C++ ThreadSanitizer. TSAN installs a // libc interceptor that writes signal handlers to a global variable within the // TSAN runtime instead of making a sigaction system call. A bug in // syscall.runtime_AfterForkInChild corrupted TSAN's signal forwarding table
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 929 bytes - Viewed (0) -
src/internal/syscall/unix/getrandom_solaris.go
// license that can be found in the LICENSE file. package unix import ( "sync/atomic" "syscall" "unsafe" ) //go:cgo_import_dynamic libc_getrandom getrandom "libc.so" //go:linkname procGetrandom libc_getrandom var procGetrandom uintptr var getrandomUnsupported atomic.Bool // GetRandomFlag is a flag supported by the getrandom system call. type GetRandomFlag uintptr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 26 21:54:02 UTC 2023 - 1.2K bytes - Viewed (0) -
src/syscall/syscall_illumos.go
//go:build illumos package syscall import "unsafe" // F_DUP2FD_CLOEXEC has different values on Solaris and Illumos. const F_DUP2FD_CLOEXEC = 0x24 //go:cgo_import_dynamic libc_flock flock "libc.so" //go:linkname procFlock libc_flock var procFlock libcFunc func Flock(fd int, how int) error { _, _, errno := sysvicall6(uintptr(unsafe.Pointer(&procFlock)), 2, uintptr(fd), uintptr(how), 0, 0, 0, 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 15 21:07:18 UTC 2022 - 613 bytes - Viewed (0) -
src/vendor/golang.org/x/sys/cpu/syscall_aix_ppc64_gc.go
// (See golang.org/issue/32102) //go:build aix && ppc64 && gc package cpu import ( "syscall" "unsafe" ) //go:cgo_import_dynamic libc_getsystemcfg getsystemcfg "libc.a/shr_64.o" //go:linkname libc_getsystemcfg libc_getsystemcfg type syscallFunc uintptr var libc_getsystemcfg syscallFunc type errno = syscall.Errno // Implemented in runtime/syscall_aix.go.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 988 bytes - Viewed (0) -
src/syscall/syscall_openbsd_libc.go
// packages make use of syscall.Syscall with SYS_IOCTL since it is // not well supported by golang.org/x/sys/unix. Reroute this system // call number to the respective libc stub so that it continues to // work for the time being. See #63900 for further details. if trap == SYS_IOCTL { return syscallX(abi.FuncPCABI0(libc_ioctl_trampoline), a1, a2, a3) } return 0, 0, ENOSYS }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 07:51:20 UTC 2024 - 3.7K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/DeclarativeDslTestProjectGenerator.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat May 11 07:05:10 UTC 2024 - 11.9K bytes - Viewed (0) -
src/syscall/zsysnum_plan9.go
// mksysnum_plan9.sh /media/sys/src/libc/9syscall/sys.h // Code generated by the command above; DO NOT EDIT. package syscall const ( SYS_SYSR1 = 0 SYS_BIND = 2 SYS_CHDIR = 3 SYS_CLOSE = 4 SYS_DUP = 5 SYS_ALARM = 6 SYS_EXEC = 7 SYS_EXITS = 8 SYS_FAUTH = 10 SYS_SEGBRK = 12 SYS_OPEN = 14 SYS_OSEEK = 16 SYS_SLEEP = 17
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 14 13:21:46 UTC 2018 - 1K bytes - Viewed (0)