Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for racereadpc (0.69 sec)

  1. src/runtime/map_fast64.go

    package runtime
    
    import (
    	"internal/abi"
    	"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 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. src/runtime/race.go

    		racereadrangepc(addr, t.Size_, callerpc, pc)
    	} else {
    		// for non-composite objects we can read just the start
    		// address, as any write must write the first byte.
    		racereadpc(addr, callerpc, pc)
    	}
    }
    
    func raceWriteObjectPC(t *_type, addr unsafe.Pointer, callerpc, pc uintptr) {
    	kind := t.Kind_ & abi.KindMask
    	if kind == abi.Array || kind == abi.Struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. src/runtime/map_fast32.go

    package runtime
    
    import (
    	"internal/abi"
    	"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 {
    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/map_faststr.go

    package runtime
    
    import (
    	"internal/abi"
    	"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 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. src/runtime/map.go

    // hold onto it for very long.
    func mapaccess1(t *maptype, h *hmap, key unsafe.Pointer) unsafe.Pointer {
    	if raceenabled && h != nil {
    		callerpc := getcallerpc()
    		pc := abi.FuncPCABIInternal(mapaccess1)
    		racereadpc(unsafe.Pointer(h), callerpc, pc)
    		raceReadObjectPC(t.Key, key, callerpc, pc)
    	}
    	if msanenabled && h != nil {
    		msanread(key, t.Key.Size_)
    	}
    	if asanenabled && h != nil {
    		asanread(key, t.Key.Size_)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  6. src/runtime/chan.go

    		}
    		gopark(nil, nil, waitReasonChanSendNilChan, traceBlockForever, 2)
    		throw("unreachable")
    	}
    
    	if debugChan {
    		print("chansend: chan=", c, "\n")
    	}
    
    	if raceenabled {
    		racereadpc(c.raceaddr(), callerpc, abi.FuncPCABIInternal(chansend))
    	}
    
    	// Fast path: check for failed non-blocking operation without acquiring the lock.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  7. src/runtime/panic.go

    // following d0.
    // See the doc comment for deferrangefunc for details.
    func deferconvert(d0 *_defer) {
    	head := d0.head
    	if raceenabled {
    		racereadpc(unsafe.Pointer(head), getcallerpc(), abi.FuncPCABIInternal(deferconvert))
    	}
    	tail := d0.link
    	d0.rangefunc = false
    
    	var d *_defer
    	for {
    		d = head.Load()
    		if head.CompareAndSwap(d, badDefer()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  8. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.uint32tofloat64", 1},
    	{"runtime.complex128div", 1},
    	{"runtime.getcallerpc", 1},
    	{"runtime.getcallersp", 1},
    	{"runtime.racefuncenter", 1},
    	{"runtime.racefuncexit", 1},
    	{"runtime.raceread", 1},
    	{"runtime.racewrite", 1},
    	{"runtime.racereadrange", 1},
    	{"runtime.racewriterange", 1},
    	{"runtime.msanread", 1},
    	{"runtime.msanwrite", 1},
    	{"runtime.msanmove", 1},
    	{"runtime.asanread", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func complex128div(num complex128, den complex128) (quo complex128)
    
    func getcallerpc() uintptr
    func getcallersp() uintptr
    
    // race detection
    func racefuncenter(uintptr)
    func racefuncexit()
    func raceread(uintptr)
    func racewrite(uintptr)
    func racereadrange(addr, size uintptr)
    func racewriterange(addr, size uintptr)
    
    // memory sanitizer
    func msanread(addr, size uintptr)
    func msanwrite(addr, size uintptr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. src/runtime/race_s390x.s

    	MOVD	$__tsan_read(SB), R1
    	MOVD	addr+0(FP), R3
    	MOVD	R14, R4
    	JMP	racecalladdr<>(SB)
    
    // func runtime·RaceRead(addr uintptr)
    TEXT	runtime·RaceRead(SB), NOSPLIT, $0-8
    	// This needs to be a tail call, because raceread reads caller pc.
    	JMP	runtime·raceread(SB)
    
    // func runtime·racereadpc(void *addr, void *callpc, void *pc)
    TEXT	runtime·racereadpc(SB), NOSPLIT, $0-24
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top