Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 52 for FuncPCABIInternal (0.23 sec)

  1. src/runtime/norace_linux_test.go

    	newOSProcDone = true
    }
    
    // Can't be run with -race because it inserts calls into newOSProcCreated()
    // that require a valid G/M.
    func TestNewOSProc0(t *testing.T) {
    	runtime.NewOSProc0(0x800000, unsafe.Pointer(abi.FuncPCABIInternal(newOSProcCreated)))
    	check := time.NewTicker(100 * time.Millisecond)
    	defer check.Stop()
    	end := time.After(5 * time.Second)
    	for {
    		select {
    		case <-check.C:
    			if newOSProcDone {
    				return
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 915 bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/runtime/symtabinl_test.go

    	"internal/stringslite"
    	"runtime/internal/sys"
    )
    
    func XTestInlineUnwinder(t TestingT) {
    	if TestenvOptimizationOff() {
    		t.Skip("skipping test with inlining optimizations disabled")
    	}
    
    	pc1 := abi.FuncPCABIInternal(tiuTest)
    	f := findfunc(pc1)
    	if !f.valid() {
    		t.Fatalf("failed to resolve tiuTest at PC %#x", pc1)
    	}
    
    	want := map[string]int{
    		"tiuInlined1:3 tiuTest:10":               0,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. src/runtime/slice.go

    			// type et. See the comment on bulkBarrierPreWrite.
    			bulkBarrierPreWriteSrcOnly(uintptr(to), uintptr(from), copymem, et)
    		}
    	}
    
    	if raceenabled {
    		callerpc := getcallerpc()
    		pc := abi.FuncPCABIInternal(makeslicecopy)
    		racereadrangepc(from, copymem, callerpc, pc)
    	}
    	if msanenabled {
    		msanread(from, copymem)
    	}
    	if asanenabled {
    		asanread(from, copymem)
    	}
    
    	memmove(to, from, copymem)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. src/runtime/signal_riscv64.go

    		// Make it look the like faulting PC called sigpanic.
    		c.set_ra(uint64(pc))
    	}
    
    	// In case we are panicking from external C code
    	c.set_gp(uint64(uintptr(unsafe.Pointer(gp))))
    	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: Wed Oct 04 02:55:17 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. src/runtime/signal_mipsx.go

    		// Make it look the like faulting PC called sigpanic.
    		c.set_link(uint32(pc))
    	}
    
    	// In case we are panicking from external C code
    	c.set_r30(uint32(uintptr(unsafe.Pointer(gp))))
    	c.set_pc(uint32(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: Thu Oct 28 18:17:57 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  10. src/runtime/map_faststr.go

    	"internal/goarch"
    	"unsafe"
    )
    
    func mapaccess1_faststr(t *maptype, h *hmap, ky string) unsafe.Pointer {
    	if raceenabled && h != nil {
    		callerpc := getcallerpc()
    		racereadpc(unsafe.Pointer(h), callerpc, abi.FuncPCABIInternal(mapaccess1_faststr))
    	}
    	if h == nil || h.count == 0 {
    		return unsafe.Pointer(&zeroVal[0])
    	}
    	if h.flags&hashWriting != 0 {
    		fatal("concurrent map read and map write")
    	}
    	key := stringStructOf(&ky)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top