Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for racewritepc (0.24 sec)

  1. src/runtime/race0.go

    func raceprocdestroy(ctx uintptr)                                           { throw("race") }
    func racemapshadow(addr unsafe.Pointer, size uintptr)                       { throw("race") }
    func racewritepc(addr unsafe.Pointer, callerpc, pc uintptr)                 { throw("race") }
    func racereadpc(addr unsafe.Pointer, callerpc, pc uintptr)                  { throw("race") }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  2. src/runtime/map_fast64.go

    func mapassign_fast64(t *maptype, h *hmap, key uint64) unsafe.Pointer {
    	if h == nil {
    		panic(plainError("assignment to entry in nil map"))
    	}
    	if raceenabled {
    		callerpc := getcallerpc()
    		racewritepc(unsafe.Pointer(h), callerpc, abi.FuncPCABIInternal(mapassign_fast64))
    	}
    	if h.flags&hashWriting != 0 {
    		fatal("concurrent map writes")
    	}
    	hash := t.Hasher(noescape(unsafe.Pointer(&key)), uintptr(h.hash0))
    
    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

    func mapassign_fast32(t *maptype, h *hmap, key uint32) unsafe.Pointer {
    	if h == nil {
    		panic(plainError("assignment to entry in nil map"))
    	}
    	if raceenabled {
    		callerpc := getcallerpc()
    		racewritepc(unsafe.Pointer(h), callerpc, abi.FuncPCABIInternal(mapassign_fast32))
    	}
    	if h.flags&hashWriting != 0 {
    		fatal("concurrent map writes")
    	}
    	hash := t.Hasher(noescape(unsafe.Pointer(&key)), uintptr(h.hash0))
    
    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/race.go

    	} else {
    		// for non-composite objects we can write just the start
    		// address, as any write must write the first byte.
    		racewritepc(addr, callerpc, pc)
    	}
    }
    
    //go:noescape
    func racereadpc(addr unsafe.Pointer, callpc, pc uintptr)
    
    //go:noescape
    func racewritepc(addr unsafe.Pointer, callpc, pc uintptr)
    
    type symbolizeCodeContext struct {
    	pc   uintptr
    	fn   *byte
    	file *byte
    	line uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. src/runtime/map_faststr.go

    func mapassign_faststr(t *maptype, h *hmap, s string) unsafe.Pointer {
    	if h == nil {
    		panic(plainError("assignment to entry in nil map"))
    	}
    	if raceenabled {
    		callerpc := getcallerpc()
    		racewritepc(unsafe.Pointer(h), callerpc, abi.FuncPCABIInternal(mapassign_faststr))
    	}
    	if h.flags&hashWriting != 0 {
    		fatal("concurrent map writes")
    	}
    	key := stringStructOf(&s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. src/runtime/map.go

    	if h == nil {
    		panic(plainError("assignment to entry in nil map"))
    	}
    	if raceenabled {
    		callerpc := getcallerpc()
    		pc := abi.FuncPCABIInternal(mapassign)
    		racewritepc(unsafe.Pointer(h), callerpc, pc)
    		raceReadObjectPC(t.Key, key, callerpc, pc)
    	}
    	if msanenabled {
    		msanread(key, t.Key.Size_)
    	}
    	if asanenabled {
    		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)
  7. src/runtime/chan.go

    	}
    
    	lock(&c.lock)
    	if c.closed != 0 {
    		unlock(&c.lock)
    		panic(plainError("close of closed channel"))
    	}
    
    	if raceenabled {
    		callerpc := getcallerpc()
    		racewritepc(c.raceaddr(), callerpc, abi.FuncPCABIInternal(closechan))
    		racerelease(c.raceaddr())
    	}
    
    	c.closed = 1
    
    	var glist gList
    
    	// release all readers
    	for {
    		sg := c.recvq.dequeue()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  8. src/runtime/panic.go

    // See the doc comment for deferrangefunc for details.
    func deferprocat(fn func(), frame any) {
    	head := frame.(*atomic.Pointer[_defer])
    	if raceenabled {
    		racewritepc(unsafe.Pointer(head), getcallerpc(), abi.FuncPCABIInternal(deferprocat))
    	}
    	d1 := newdefer()
    	d1.fn = fn
    	for {
    		d1.link = head.Load()
    		if d1.link == 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)
  9. src/cmd/compile/internal/ir/symtab.go

    	PanicdottypeI     *obj.LSym
    	Panicnildottype   *obj.LSym
    	Panicoverflow     *obj.LSym
    	Racefuncenter     *obj.LSym
    	Racefuncexit      *obj.LSym
    	Raceread          *obj.LSym
    	Racereadrange     *obj.LSym
    	Racewrite         *obj.LSym
    	Racewriterange    *obj.LSym
    	TypeAssert        *obj.LSym
    	WBZero            *obj.LSym
    	WBMove            *obj.LSym
    	// Wasm
    	SigPanic        *obj.LSym
    	Staticuint64s   *obj.LSym
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 17:02:26 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. src/internal/race/race.go

    func Disable() {
    	runtime.RaceDisable()
    }
    
    func Enable() {
    	runtime.RaceEnable()
    }
    
    func Read(addr unsafe.Pointer) {
    	runtime.RaceRead(addr)
    }
    
    func Write(addr unsafe.Pointer) {
    	runtime.RaceWrite(addr)
    }
    
    func ReadRange(addr unsafe.Pointer, len int) {
    	runtime.RaceReadRange(addr, len)
    }
    
    func WriteRange(addr unsafe.Pointer, len int) {
    	runtime.RaceWriteRange(addr, len)
    }
    
    func Errors() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 881 bytes
    - Viewed (0)
Back to top