- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 537 for libc (0.1 sec)
-
src/runtime/netpoll_solaris.go
//go:cgo_import_dynamic libc_port_create port_create "libc.so" //go:cgo_import_dynamic libc_port_associate port_associate "libc.so" //go:cgo_import_dynamic libc_port_dissociate port_dissociate "libc.so" //go:cgo_import_dynamic libc_port_getn port_getn "libc.so" //go:cgo_import_dynamic libc_port_alert port_alert "libc.so" //go:linkname libc_port_create libc_port_create
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 11.2K bytes - Viewed (0) -
src/net/conf.go
// similar local resolution mechanisms, assume that // libc might (via Avahi, etc) and use cgo. return hostLookupCgo, dnsConf } // We don't parse mdns.allow files. They're rare. If one // exists, it might list other TLDs (besides .local) or even // '*', so just let libc deal with it. var haveMDNSAllow bool switch c.mdnsTest { case mdnsFromSystem:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 18 03:13:26 UTC 2024 - 15.5K bytes - Viewed (0) -
src/runtime/sys_darwin_arm64.s
RET TEXT runtime·osinit_hack_trampoline(SB),NOSPLIT,$0 MOVD $0, R0 // arg 1 val BL libc_notify_is_valid_token(SB) BL libc_xpc_date_create_from_current(SB) RET // syscall calls a function in libc on behalf of the syscall package. // syscall takes a pointer to a struct like: // struct { // fn uintptr // a1 uintptr // a2 uintptr // a3 uintptr // r1 uintptr // r2 uintptr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 03 16:07:59 UTC 2023 - 18.3K bytes - Viewed (0) -
src/vendor/golang.org/x/sys/cpu/cpu_openbsd_arm64.go
if errno != 0 { return errno } return nil } var libc_sysctl_trampoline_addr uintptr //go:cgo_import_dynamic libc_sysctl sysctl "libc.so" func sysctlUint64(mib []uint32) (uint64, bool) { var out uint64 nout := unsafe.Sizeof(out) if err := sysctl(mib, (*byte)(unsafe.Pointer(&out)), &nout, nil, 0); err != nil { return 0, false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 26 00:11:50 UTC 2022 - 1.7K bytes - Viewed (0) -
src/cmd/go/internal/bug/bug.go
return } re := regexp.MustCompile(`libc\.so[^ ]* => ([^ ]+)`) m := re.FindStringSubmatch(string(out)) if m == nil { return } cmd = exec.Command(m[1]) out, err = cmd.Output() if err != nil { return } fmt.Fprintf(w, "%s: %s\n", m[1], firstLine(out)) // print another line (the one containing version string) in case of musl libc
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 5.7K bytes - Viewed (0) -
src/cmd/cgo/internal/test/stubtest_linux_ppc64le.S
addi 2,2,.TOC.-toc_func@l .localentry toc_func, .-toc_func mflr 0 std 0,16(1) stdu 1,-32(1) // Call a NOTOC function which clobbers R2. bl notoc_nor2_func nop // Call libc random. This should generate a TOC relative plt stub. bl random nop addi 1,1,32 ld 0,16(1) mtlr 0 blr // An ELFv2 st_other==0 function. It preserves R2 (TOC), but does not use it.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 15:06:17 UTC 2023 - 3.7K bytes - Viewed (0) -
src/runtime/lock_futex.go
} func notesleep(n *note) { gp := getg() if gp != gp.m.g0 { throw("notesleep not on g0") } ns := int64(-1) if *cgo_yield != nil { // Sleep for an arbitrary-but-moderate interval to poll libc interceptors. ns = 10e6 } for atomic.Load(key32(&n.key)) == 0 { gp.m.blocked = true futexsleep(key32(&n.key), 0, ns) if *cgo_yield != nil { asmcgocall(*cgo_yield, nil) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:34 UTC 2024 - 5.4K bytes - Viewed (0) -
src/runtime/sys_darwin_arm64.go
} func pthread_setspecific_trampoline() //go:cgo_import_dynamic libc_pthread_key_create pthread_key_create "/usr/lib/libSystem.B.dylib" //go:cgo_import_dynamic libc_pthread_setspecific pthread_setspecific "/usr/lib/libSystem.B.dylib" // tlsinit allocates a thread-local storage slot for g. // // It finds the first available slot using pthread_key_create and uses
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 30 03:11:18 UTC 2021 - 1.7K bytes - Viewed (0) -
src/runtime/lock_sema.go
} return } // Queued. Sleep. gp.m.blocked = true if *cgo_yield == nil { semasleep(-1) } else { // Sleep for an arbitrary-but-moderate interval to poll libc interceptors. const ns = 10e6 for atomic.Loaduintptr(&n.key) == 0 { semasleep(ns) asmcgocall(*cgo_yield, nil) } } gp.m.blocked = false } //go:nosplit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 6.8K bytes - Viewed (0) -
src/runtime/cgo/linux.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Linux system call wrappers that provide POSIX semantics through the // corresponding cgo->libc (nptl) wrappers for various system calls. //go:build linux package cgo import "unsafe" // Each of the following entries is needed to ensure that the // syscall.syscall_linux code can conditionally call these
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 2.7K bytes - Viewed (0)