Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mapassign0 (0.24 sec)

  1. src/runtime/map.go

    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname mapassign
    func mapassign(t *maptype, h *hmap, key unsafe.Pointer) unsafe.Pointer {
    	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)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
Back to top