- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for FuncPCABIInternal (0.22 sec)
-
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/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) -
src/runtime/pprof/proto_test.go
File: exe, BuildID: buildID, HasFunctions: true, } case "js", "wasip1": addr1 = uint64(abi.FuncPCABIInternal(f1)) addr2 = uint64(abi.FuncPCABIInternal(f2)) default: addr1 = uint64(abi.FuncPCABIInternal(f1)) addr2 = uint64(abi.FuncPCABIInternal(f2)) // Fake mapping - HasFunctions will be true because two PCs from Go // will be fully symbolized.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 23:21:53 UTC 2024 - 17K bytes - Viewed (0) -
src/runtime/signal_ppc64x.go
c.set_link(uint64(pc)) } // In case we are panicking from external C code c.set_r0(0) c.set_r30(uint64(uintptr(unsafe.Pointer(gp)))) c.set_r12(uint64(abi.FuncPCABIInternal(sigpanic))) c.set_pc(uint64(abi.FuncPCABIInternal(sigpanic))) } func (c *sigctxt) pushCall(targetPC, resumePC uintptr) { // Push the LR to stack, as we'll clobber it in order to // push the call. The function being pushed is responsible
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 15:08:04 UTC 2023 - 3.7K bytes - Viewed (0) -
src/runtime/os_openbsd.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 = uint32(sigset_all) if fn == abi.FuncPCABIInternal(sighandler) { // abi.FuncPCABIInternal(sighandler) matches the callers in signal_unix.go fn = abi.FuncPCABI0(sigtramp) } sa.sa_sigaction = fn sigaction(i, &sa, nil) } //go:nosplit //go:nowritebarrierrec
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 6.2K bytes - Viewed (0) -
src/runtime/os_aix.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 = uintptr(unsafe.Pointer(&sigtramp)) } sa.sa_handler = fn sigaction(uintptr(i), &sa, nil) } //go:nosplit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.9K bytes - Viewed (0)