- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 215 for linknames (0.19 sec)
-
src/cmd/compile/internal/base/link.go
return linksym(prefix, "_", abi) } sep := "." if ReservedImports[prefix] { sep = ":" } return linksym(prefix, prefix+sep+name, abi) } // Linkname returns the linker symbol for the given name as it might // appear within a //go:linkname directive. func Linkname(name string, abi obj.ABI) *obj.LSym { return linksym("_", name, abi) } // linksym is an internal helper function for implementing the above // exported APIs.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 09 11:28:56 UTC 2022 - 1.6K bytes - Viewed (0) -
src/crypto/tls/defaults.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package tls import ( "internal/godebug" "slices" _ "unsafe" // for linkname ) // Defaults are collected in this file to allow distributions to more easily patch // them to apply local policies. var tlskyber = godebug.New("tlskyber") func defaultCurvePreferences() []CurveID {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 3.9K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_andor_generic.go
// license that can be found in the LICENSE file. //go:build arm || wasm // Export some functions via linkname to assembly in sync/atomic. // //go:linkname And32 //go:linkname Or32 //go:linkname And64 //go:linkname Or64 //go:linkname Anduintptr //go:linkname Oruintptr package atomic import _ "unsafe" // For linkname //go:nosplit func And32(ptr *uint32, val uint32) uint32 { for { old := *ptr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 20:08:37 UTC 2024 - 1.2K bytes - Viewed (0) -
src/runtime/proflabel.go
// license that can be found in the LICENSE file. package runtime import "unsafe" var labelSync uintptr // runtime_setProfLabel should be an internal detail, // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - github.com/cloudwego/localsession // - github.com/DataDog/datadog-agent // // Do not remove or change the type signature. // See go.dev/issue/67401. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 2.1K bytes - Viewed (0) -
test/fixedbugs/issue23311.dir/main.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 26 20:00:59 UTC 2018 - 267 bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/abi.go
// Go or assembly) and given a linkname, it may be // referenced from another package, so make it // callable via any ABI. It's important that we know // it's defined in this package since other packages // may "pull" symbols using linkname and we don't want // to create duplicate ABI wrappers. // // However, if it's given a linkname for exporting to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 13.8K bytes - Viewed (0) -
src/runtime/syscall_aix.go
// // This is exported via linkname to assembly in the syscall package. // //go:nosplit //go:linkname syscall_Syscall func syscall_Syscall(fn, a1, a2, a3 uintptr) (r1, r2, err uintptr) { return 0, 0, _EINVAL } // This is syscall.RawSyscall, it exists to satisfy some build dependency, // but it doesn't work. // // This is exported via linkname to assembly in the syscall package. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 6.3K bytes - Viewed (0) -
src/crypto/x509/root.go
// license that can be found in the LICENSE file. package x509 import ( "internal/godebug" "sync" _ "unsafe" // for linkname ) // systemRoots should be an internal detail, // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - github.com/breml/rootcerts // // Do not remove or change the type signature. // See go.dev/issue/67401.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 2.3K bytes - Viewed (0) -
src/internal/syscall/unix/getentropy_openbsd.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build openbsd && !mips64 package unix import _ "unsafe" // for linkname // GetEntropy calls the OpenBSD getentropy system call. func GetEntropy(p []byte) error { return getentropy(p) } //go:linkname getentropy syscall.getentropy
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 31 16:59:38 UTC 2022 - 431 bytes - Viewed (0) -
src/runtime/rand.go
// //go:nosplit func rand32() uint32 { return uint32(rand()) } // rand returns a random uint64 from the per-m chacha8 state. // Do not change signature: used via linkname from other packages. // //go:nosplit //go:linkname rand func rand() uint64 { // Note: We avoid acquirem here so that in the fast path // there is just a getg, an inlined c.Next, and a return.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 14:32:47 UTC 2024 - 8K bytes - Viewed (0)