Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for FuncPCABIInternal (0.29 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/runtime/string.go

    		// you find the indices and convert the subslice to string.
    		return ""
    	}
    	if raceenabled {
    		racereadrangepc(unsafe.Pointer(ptr),
    			uintptr(n),
    			getcallerpc(),
    			abi.FuncPCABIInternal(slicebytetostring))
    	}
    	if msanenabled {
    		msanread(unsafe.Pointer(ptr), uintptr(n))
    	}
    	if asanenabled {
    		asanread(unsafe.Pointer(ptr), uintptr(n))
    	}
    	if n == 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. src/runtime/mbarrier.go

    //go:linkname reflect_typedmemmove reflect.typedmemmove
    func reflect_typedmemmove(typ *_type, dst, src unsafe.Pointer) {
    	if raceenabled {
    		raceWriteObjectPC(typ, dst, getcallerpc(), abi.FuncPCABIInternal(reflect_typedmemmove))
    		raceReadObjectPC(typ, src, getcallerpc(), abi.FuncPCABIInternal(reflect_typedmemmove))
    	}
    	if msanenabled {
    		msanwrite(dst, typ.Size_)
    		msanread(src, typ.Size_)
    	}
    	if asanenabled {
    		asanwrite(dst, typ.Size_)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  9. src/runtime/pprof/vminfo_darwin_test.go

    	if got, want := offset, uint64(0); got != want {
    		t.Errorf("got %x, want %x", got, want)
    	}
    	if !strings.HasSuffix(filename, "pprof.test") {
    		t.Errorf("got %s, want pprof.test", filename)
    	}
    	addr := uint64(abi.FuncPCABIInternal(TestVMInfo))
    	if addr < lo || addr > hi {
    		t.Errorf("%x..%x does not contain function %p (%x)", lo, hi, TestVMInfo, addr)
    	}
    }
    
    func useVMMapWithRetry(t *testing.T) (hi, lo uint64, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 19:59:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. src/runtime/export_debug_test.go

    		if getg().m != h.mp {
    			println("trap on wrong M", getg().m, h.mp)
    			return false
    		}
    		// Save the signal context
    		h.saveSigContext(ctxt)
    		// Set PC to debugCallV2.
    		ctxt.setsigpc(uint64(abi.FuncPCABIInternal(debugCallV2)))
    		// Call injected. Switch to the debugCall protocol.
    		testSigtrap = h.handleF
    	case _Grunnable:
    		// Ask InjectDebugCall to pause for a bit and then try
    		// again to interrupt this goroutine.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top