- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for cgoBuf (0.18 sec)
-
src/runtime/traceback.go
// // Callers should set the unwindSilentErrors flag on u. func tracebackPCs(u *unwinder, skip int, pcBuf []uintptr) int { var cgoBuf [32]uintptr n := 0 for ; n < len(pcBuf) && u.valid(); u.next() { f := u.frame.fn cgoN := u.cgoCallers(cgoBuf[:]) // TODO: Why does &u.cache cause u to escape? (Same in traceback2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 55.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/gccgo_link_c.txt
! stderr 'gccgo.*-lalib.*-lalib' # make sure -lalib is only passed once -- go.mod -- module m -- cgoref.go -- package main // #cgo LDFLAGS: -L alibpath -lalib // void f(void) {} import "C"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 16 16:38:51 UTC 2023 - 617 bytes - Viewed (0) -
src/runtime/sys_loong64.go
// license that can be found in the LICENSE file. //go:build loong64 package runtime import "unsafe" // adjust Gobuf as if it executed a call to fn with context ctxt // and then did an immediate Gosave. func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) { if buf.lr != 0 { throw("invalid use of gostartcall") } buf.lr = buf.pc buf.pc = uintptr(fn) buf.ctxt = ctxt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 20 15:12:31 UTC 2022 - 489 bytes - Viewed (0) -
src/runtime/sys_mipsx.go
// license that can be found in the LICENSE file. //go:build mips || mipsle package runtime import "unsafe" // adjust Gobuf as if it executed a call to fn with context ctxt // and then did an immediate Gosave. func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) { if buf.lr != 0 { throw("invalid use of gostartcall") } buf.lr = buf.pc buf.pc = uintptr(fn) buf.ctxt = ctxt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 496 bytes - Viewed (0) -
src/runtime/sys_x86.go
//go:build amd64 || 386 package runtime import ( "internal/goarch" "unsafe" ) // adjust Gobuf as if it executed a call to fn with context ctxt // and then stopped before the first instruction in fn. func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) { sp := buf.sp sp -= goarch.PtrSize *(*uintptr)(unsafe.Pointer(sp)) = buf.pc buf.sp = sp buf.pc = uintptr(fn)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 552 bytes - Viewed (0) -
src/runtime/sys_mips64x.go
// license that can be found in the LICENSE file. //go:build mips64 || mips64le package runtime import "unsafe" // adjust Gobuf as if it executed a call to fn with context ctxt // and then did an immediate Gosave. func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) { if buf.lr != 0 { throw("invalid use of gostartcall") } buf.lr = buf.pc buf.pc = uintptr(fn) buf.ctxt = ctxt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 500 bytes - Viewed (0) -
src/runtime/sys_ppc64x.go
// license that can be found in the LICENSE file. //go:build ppc64 || ppc64le package runtime import "unsafe" // adjust Gobuf as if it executed a call to fn with context ctxt // and then did an immediate Gosave. func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) { if buf.lr != 0 { throw("invalid use of gostartcall") } buf.lr = buf.pc buf.pc = uintptr(fn) buf.ctxt = ctxt }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 532 bytes - Viewed (0) -
src/runtime/sys_wasm.go
func wasmDiv() func wasmTruncS() func wasmTruncU() //go:wasmimport gojs runtime.wasmExit func wasmExit(code int32) // adjust Gobuf as it if executed a call to fn with context ctxt // and then stopped before the first instruction in fn. func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) { sp := buf.sp sp -= goarch.PtrSize *(*uintptr)(unsafe.Pointer(sp)) = buf.pc buf.sp = sp buf.pc = uintptr(fn)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 02 05:28:55 UTC 2023 - 758 bytes - Viewed (0) -
test/nosplit.go
for _, rej := range strings.Fields(m[4]) { if rej == goarch { reject = true } } } } if lines == "" && !reject { continue } var gobuf bytes.Buffer fmt.Fprintf(&gobuf, "package main\n") var buf bytes.Buffer ptrSize := 4 switch goarch { case "mips", "mipsle": fmt.Fprintf(&buf, "#define REGISTER (R0)\n") case "mips64", "mips64le":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 11.3K bytes - Viewed (0) -
src/runtime/runtime2.go
// nothing ever hold an muintptr across a safe point. // A guintptr holds a goroutine pointer, but typed as a uintptr // to bypass write barriers. It is used in the Gobuf goroutine state // and in scheduling lists that are manipulated without a P. // // The Gobuf.g goroutine pointer is almost always updated by assembly code. // In one of the few places it is updated by Go code - func save - it must be
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 47.9K bytes - Viewed (0)