Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for FuncPCABIInternal (0.27 sec)

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

    			if fwdSig[i] != _SIG_DFL && fwdSig[i] != _SIG_IGN {
    				setsigstack(i)
    			} else if fwdSig[i] == _SIG_IGN {
    				sigInitIgnored(i)
    			}
    			continue
    		}
    
    		handlingSig[i] = 1
    		setsig(i, abi.FuncPCABIInternal(sighandler))
    	}
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func sigInstallGoHandler(sig uint32) bool {
    	// For some signals, we respect an inherited SIG_IGN handler
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  8. src/runtime/iface.go

    // be used as the second word of an interface value.
    func convT(t *_type, v unsafe.Pointer) unsafe.Pointer {
    	if raceenabled {
    		raceReadObjectPC(t, v, getcallerpc(), abi.FuncPCABIInternal(convT))
    	}
    	if msanenabled {
    		msanread(v, t.Size_)
    	}
    	if asanenabled {
    		asanread(v, t.Size_)
    	}
    	x := mallocgc(t.Size_, t, true)
    	typedmemmove(t, x, v)
    	return x
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  9. src/runtime/chan.go

    		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.
    	//
    	// After observing that the channel is not closed, we observe that the channel is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  10. src/runtime/preempt.go

    // asyncPreempt call.
    var asyncPreemptStack = ^uintptr(0)
    
    func init() {
    	f := findfunc(abi.FuncPCABI0(asyncPreempt))
    	total := funcMaxSPDelta(f)
    	f = findfunc(abi.FuncPCABIInternal(asyncPreempt2))
    	total += funcMaxSPDelta(f)
    	// Add some overhead for return PCs, etc.
    	asyncPreemptStack = uintptr(total) + 8*goarch.PtrSize
    	if asyncPreemptStack > stackNosplit {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top