- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for FuncPCABIInternal (0.28 sec)
-
src/internal/abi/testdata/x.go
var FnExpr func() func test() { _ = abi.FuncPCABI0(Fn0) // line 16, no error _ = abi.FuncPCABIInternal(Fn0) // line 17, error _ = abi.FuncPCABI0(Fn1) // line 18, error _ = abi.FuncPCABIInternal(Fn1) // line 19, no error _ = abi.FuncPCABI0(FnExpr) // line 20, error _ = abi.FuncPCABIInternal(FnExpr) // line 21, no error
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 23 21:05:39 UTC 2021 - 606 bytes - Viewed (0) -
src/runtime/os_freebsd_amd64.go
//go:nosplit //go:nowritebarrierrec func setsig(i uint32, fn uintptr) { var sa sigactiont sa.sa_flags = _SA_SIGINFO | _SA_ONSTACK | _SA_RESTART sa.sa_mask = sigset_all if fn == abi.FuncPCABIInternal(sighandler) { // abi.FuncPCABIInternal(sighandler) matches the callers in signal_unix.go if iscgo { fn = abi.FuncPCABI0(cgoSigtramp) } else { fn = abi.FuncPCABI0(sigtramp) } } sa.sa_handler = fn
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 21 22:40:36 UTC 2021 - 658 bytes - Viewed (0) -
src/runtime/os_freebsd2.go
//go:nosplit //go:nowritebarrierrec func setsig(i uint32, fn uintptr) { var sa sigactiont sa.sa_flags = _SA_SIGINFO | _SA_ONSTACK | _SA_RESTART sa.sa_mask = sigset_all if fn == abi.FuncPCABIInternal(sighandler) { // abi.FuncPCABIInternal(sighandler) matches the callers in signal_unix.go fn = abi.FuncPCABI0(sigtramp) } sa.sa_handler = fn sigaction(i, &sa, nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 603 bytes - Viewed (0) -
src/internal/abi/funcpc.go
// direct reference of a function defined as ABI0. Otherwise it is a // compile-time error. // // Implemented as a compile intrinsic. func FuncPCABI0(f interface{}) uintptr // FuncPCABIInternal returns the entry PC of the function f. If f is a // direct reference of a function, it must be defined as ABIInternal. // Otherwise it is a compile-time error. If f is not a direct reference
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 27 21:15:37 UTC 2023 - 1.2K bytes - Viewed (0) -
src/runtime/runtime-seh_windows_test.go
// first fix the .pdata generation. sehf1pc := abi.FuncPCABIInternal(sehf1) var fnwithframe func() fnwithframe = func() { fnwithframe() } fnwithoutframe := func() {} tests := []struct { name string pc uintptr hasframe bool }{ {"no frame func", abi.FuncPCABIInternal(sehf2), false}, {"no func", sehf1pc - 1, false}, {"func at entry", sehf1pc, true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 31 16:52:06 UTC 2023 - 4.7K bytes - Viewed (0) -
src/runtime/signal_386.go
pc := uintptr(c.eip()) sp := uintptr(c.esp()) if shouldPushSigpanic(gp, pc, *(*uintptr)(unsafe.Pointer(sp))) { c.pushCall(abi.FuncPCABIInternal(sigpanic), pc) } else { // Not safe to push the call. Just clobber the frame. c.set_eip(uint32(abi.FuncPCABIInternal(sigpanic))) } } func (c *sigctxt) pushCall(targetPC, resumePC uintptr) { // Make it look like we called target at resumePC.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1.7K bytes - Viewed (0) -
src/internal/abi/funcpc_gccgo.go
//go:build gccgo package abi import "unsafe" func FuncPCABI0(f interface{}) uintptr { words := (*[2]unsafe.Pointer)(unsafe.Pointer(&f)) return *(*uintptr)(unsafe.Pointer(words[1])) } func FuncPCABIInternal(f interface{}) uintptr { words := (*[2]unsafe.Pointer)(unsafe.Pointer(&f)) return *(*uintptr)(unsafe.Pointer(words[1]))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 27 21:15:37 UTC 2023 - 530 bytes - Viewed (0) -
src/runtime/cpuprof.go
hdr := [1]uint64{p.lostExtra} lostStk := [2]uintptr{ abi.FuncPCABIInternal(_LostExternalCode) + sys.PCQuantum, abi.FuncPCABIInternal(_ExternalCode) + sys.PCQuantum, } p.log.write(nil, 0, hdr[:], lostStk[:]) p.lostExtra = 0 } if p.lostAtomic > 0 { hdr := [1]uint64{p.lostAtomic} lostStk := [2]uintptr{ abi.FuncPCABIInternal(_LostSIGPROFDuringAtomic64) + sys.PCQuantum,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 8.5K bytes - Viewed (0) -
src/runtime/map_fast64.go
"internal/goarch" "unsafe" ) func mapaccess1_fast64(t *maptype, h *hmap, key uint64) unsafe.Pointer { if raceenabled && h != nil { callerpc := getcallerpc() racereadpc(unsafe.Pointer(h), callerpc, abi.FuncPCABIInternal(mapaccess1_fast64)) } if h == nil || h.count == 0 { return unsafe.Pointer(&zeroVal[0]) } if h.flags&hashWriting != 0 { fatal("concurrent map read and map write") } var b *bmap if h.B == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 14.1K bytes - Viewed (0) -
src/runtime/map_fast32.go
"internal/goarch" "unsafe" ) func mapaccess1_fast32(t *maptype, h *hmap, key uint32) unsafe.Pointer { if raceenabled && h != nil { callerpc := getcallerpc() racereadpc(unsafe.Pointer(h), callerpc, abi.FuncPCABIInternal(mapaccess1_fast32)) } if h == nil || h.count == 0 { return unsafe.Pointer(&zeroVal[0]) } if h.flags&hashWriting != 0 { fatal("concurrent map read and map write") } var b *bmap if h.B == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 13.9K bytes - Viewed (0)