- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 57 for linkage (0.14 sec)
-
src/internal/cpu/cpu_arm64_hwcap.go
// license that can be found in the LICENSE file. //go:build arm64 && linux package cpu import _ "unsafe" // for linkname // HWCap may be initialized by archauxv and // should not be changed after it was initialized. // // Other widely used packages // access HWCap using linkname as well, most notably: // - github.com/klauspost/cpuid/v2 // // 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 22 21:17:41 UTC 2024 - 2.4K bytes - Viewed (0) -
src/runtime/env_posix.go
} func lowerASCII(c byte) byte { if 'A' <= c && c <= 'Z' { return c + ('a' - 'A') } return c } // _cgo_setenv should be an internal detail, // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - github.com/ebitengine/purego // // Do not remove or change the type signature. // See go.dev/issue/67401. // //go:linkname _cgo_setenv
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:47 UTC 2024 - 2.1K bytes - Viewed (0) -
src/cmd/link/testdata/linkname/coro.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. // Linkname coroswitch is not allowed, even if iter.Pull // is instantiated in the same package. package main import ( "iter" "unsafe" ) func seq(yield func(int) bool) { yield(123) } func main() { next, stop := iter.Pull(seq) next() stop()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 17:05:33 UTC 2024 - 506 bytes - Viewed (0) -
src/reflect/badlinkname.go
// license that can be found in the LICENSE file. package reflect import ( "internal/abi" "unsafe" _ "unsafe" ) // Widely used packages access these symbols using linkname, // most notably: // - github.com/goccy/go-json // - github.com/goccy/go-reflect // - github.com/sohaha/zlsgo // - github.com/undefinedlabs/go-mpatch // // Do not remove or change the type signature.
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/go/types/badlinkname.go
package types import _ "unsafe" // This should properly be in infer.go, but that file is auto-generated. // infer should be an internal detail, // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - github.com/goplus/gox // // 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 - 702 bytes - Viewed (0) -
src/runtime/symtabinl.go
// Copyright 2023 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. package runtime import ( "internal/abi" _ "unsafe" // for linkname ) // inlinedCall is the encoding of entries in the FUNCDATA_InlTree table. type inlinedCall struct { funcID abi.FuncID // type of the called function _ [3]byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 4.5K bytes - Viewed (0) -
src/os/executable_solaris.go
// Copyright 2016 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. package os import ( "syscall" _ "unsafe" // for linkname ) //go:linkname executablePath var executablePath string // set by sysauxv in ../runtime/os3_solaris.go var initCwd, initCwdErr = Getwd() func executable() (string, error) { path := executablePath
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 757 bytes - Viewed (0) -
src/runtime/badlinkname.go
// license that can be found in the LICENSE file. package runtime import _ "unsafe" // These should be an internal details // but widely used packages access them using linkname. // Do not remove or change the type signature. // See go.dev/issue/67401. // Notable members of the hall of shame include: // - github.com/dgraph-io/ristretto // - github.com/outcaste-io/ristretto
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 661 bytes - Viewed (0) -
src/cmd/link/testdata/linkname/coro2.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. // Linkname corostart is not allowed, as it doesn't have // a linknamed definition. package main import _ "unsafe" //go:linkname corostart runtime.corostart func corostart() func main() { corostart()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 367 bytes - Viewed (0) -
src/cmd/link/testdata/linkname/fastrand.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. // Linkname fastrand is allowed _for now_, as it has a // linknamed definition, for legacy reason. // NOTE: this may not be allowed in the future. Don't do this! package main import _ "unsafe" //go:linkname fastrand runtime.fastrand func fastrand() uint32 func main() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 457 bytes - Viewed (0)