- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 157 for linknames (0.16 sec)
-
src/syscall/badlinkname_unix.go
package syscall import _ "unsafe" // As of Go 1.22, the symbols below are found to be pulled via // linkname in the wild. We provide a push linkname here, to // keep them accessible with pull linknames. // This may change in the future. Please do not depend on them // in new code. // golang.org/x/sys linknames getsockopt. // Do not remove or change the type signature. // //go:linkname getsockopt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 679 bytes - Viewed (0) -
src/runtime/sys_openbsd3.go
// and we need to know whether to check 32 or 64 bits of the result. // (Some libc functions that return 32 bits put junk in the upper 32 bits of AX.) // golang.org/x/sys linknames syscall_syscall // (in addition to standard package syscall). // Do not remove or change the type signature. // //go:linkname syscall_syscall syscall.syscall //go:nosplit //go:cgo_unsafe_args
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 4.1K bytes - Viewed (0) -
src/runtime/badlinkname_linux.go
//go:build amd64 || arm64 package runtime import _ "unsafe" // As of Go 1.22, the symbols below are found to be pulled via // linkname in the wild. We provide a push linkname here, to // keep them accessible with pull linknames. // This may change in the future. Please do not depend on them // in new code.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:47:42 UTC 2024 - 506 bytes - Viewed (0) -
src/reflect/badlinkname.go
// It is no longer used by this package and is here entirely for the // linkname uses. // //go:linkname unusedIfaceIndir reflect.ifaceIndir func unusedIfaceIndir(t *abi.Type) bool { return t.Kind_&abi.KindDirectIface == 0 } //go:linkname valueInterface // The compiler doesn't allow linknames on methods, for good reasons. // We use this trick to push linknames of the methods. // Do not call them in this package.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 4.5K bytes - Viewed (0) -
src/runtime/sys_darwin.go
exitsyscall() return args.r1, args.r2, args.err } func syscallX() // golang.org/x/sys linknames syscall.syscall6 // (in addition to standard package syscall). // Do not remove or change the type signature. // // syscall.syscall6 is meant for package syscall (and x/sys), // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - github.com/tetratelabs/wazero //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 23.9K bytes - Viewed (0) -
src/cmd/link/testdata/linkname/push.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // "Push" linknames are ok. package main import ( "cmd/link/testdata/linkname/p" _ "unsafe" ) // Push f1 to p. // //go:linkname f1 cmd/link/testdata/linkname/p.f1 func f1() { f2() } // f2 is pushed from p. // //go:linkname f2 func f2() func main() { p.F()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 17:05:33 UTC 2024 - 426 bytes - Viewed (0) -
src/syscall/linkname_bsd.go
//go:build darwin || dragonfly || freebsd || netbsd || openbsd package syscall import _ "unsafe" // used by internal/syscall/unix //go:linkname ioctlPtr // golang.org/x/net linknames sysctl. // Do not remove or change the type signature. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 426 bytes - Viewed (0) -
src/cmd/link/testdata/linkname/badlinkname.go
// Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Existing pull linknames in the wild are allowed _for now_, // for legacy reason. Test a function and a method. // NOTE: this may not be allowed in the future. Don't do this! package main import ( _ "reflect" "unsafe" ) //go:linkname noescape runtime.noescape
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:48:00 UTC 2024 - 620 bytes - Viewed (0) -
src/runtime/syscall_windows.go
KeepAlive(filename) if handle != 0 { err = 0 } return } // golang.org/x/sys linknames syscall.loadlibrary // (in addition to standard package syscall). // Do not remove or change the type signature. // //go:linkname syscall_loadlibrary syscall.loadlibrary
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 16.6K bytes - Viewed (0) -
src/cmd/internal/obj/objfile.go
} if s.IsPkgInit() { flag2 |= goobj.SymFlagPkgInit } if s.IsLinkname() || (w.ctxt.IsAsm && name != "") || name == "main.main" { // Assembly reference is treated the same as linkname, // but not for unnamed (aux) symbols. // The runtime linknames main.main. flag2 |= goobj.SymFlagLinkname } if s.ABIWrapper() { flag2 |= goobj.SymFlagABIWrapper } if strings.HasPrefix(name, "gofile..") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24K bytes - Viewed (0)