- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 341 for linkname (1.09 sec)
-
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) -
test/linknameasm.dir/x.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. // Test that a linkname applied on an assembly declaration // does not affect stack map generation. package main import ( "runtime" _ "unsafe" ) //go:linkname asm func asm(*int) func main() { x := new(int) asm(x) } // called from asm
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 15:22:22 UTC 2024 - 451 bytes - Viewed (0) -
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/vendor/golang.org/x/net/route/empty.s
// Copyright 2018 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. //go:build darwin && go1.12
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 255 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/vendor/golang.org/x/sys/cpu/runtime_auxv_go121.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. //go:build go1.21 package cpu import ( _ "unsafe" // for linkname ) //go:linkname runtime_getAuxv runtime.getAuxv func runtime_getAuxv() []uintptr func init() { getAuxvFn = runtime_getAuxv
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 357 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/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)