Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,309 for datap (0.08 sec)

  1. src/runtime/covercounter.go

    	res := []rtcov.CovCounterBlob{}
    	u32sz := unsafe.Sizeof(uint32(0))
    	for datap := &firstmoduledata; datap != nil; datap = datap.next {
    		if datap.covctrs == datap.ecovctrs {
    			continue
    		}
    		res = append(res, rtcov.CovCounterBlob{
    			Counters: (*uint32)(unsafe.Pointer(datap.covctrs)),
    			Len:      uint64((datap.ecovctrs - datap.covctrs) / u32sz),
    		})
    	}
    	return res
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:41:02 UTC 2024
    - 740 bytes
    - Viewed (0)
  2. src/runtime/checkptr.go

    	if base, _, _ := findObject(uintptr(p), 0, 0); base != 0 {
    		return base
    	}
    
    	// data or bss
    	for _, datap := range activeModules() {
    		if datap.data <= uintptr(p) && uintptr(p) < datap.edata {
    			return datap.data
    		}
    		if datap.bss <= uintptr(p) && uintptr(p) < datap.ebss {
    			return datap.bss
    		}
    	}
    
    	return 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. src/runtime/cgocheck.go

    	for _, datap := range activeModules() {
    		if cgoInRange(src, datap.data, datap.edata) {
    			doff := uintptr(src) - datap.data
    			cgoCheckBits(add(src, -doff), datap.gcdatamask.bytedata, off+doff, size)
    			return
    		}
    		if cgoInRange(src, datap.bss, datap.ebss) {
    			boff := uintptr(src) - datap.bss
    			cgoCheckBits(add(src, -boff), datap.gcbssmask.bytedata, off+boff, size)
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. src/runtime/symtab.go

    			f2 := funcInfo{(*_func)(unsafe.Pointer(&datap.pclntable[datap.ftab[i+1].funcoff])), datap}
    			f2name := "end"
    			if i+1 < nftab {
    				f2name = funcname(f2)
    			}
    			println("function symbol table not sorted by PC offset:", hex(datap.ftab[i].entryoff), funcname(f1), ">", hex(datap.ftab[i+1].entryoff), f2name, ", plugin:", datap.pluginpath)
    			for j := 0; j <= i; j++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  5. src/runtime/mfinal.go

    	//	}
    	// The relevant segments are: noptrdata, data, bss, noptrbss.
    	// We cannot assume they are in any order or even contiguous,
    	// due to external linking.
    	for datap := &firstmoduledata; datap != nil; datap = datap.next {
    		if datap.noptrdata <= uintptr(p) && uintptr(p) < datap.enoptrdata ||
    			datap.data <= uintptr(p) && uintptr(p) < datap.edata ||
    			datap.bss <= uintptr(p) && uintptr(p) < datap.ebss ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. src/runtime/stkframe.go

    	// stackObjectRecord.gcdata() will work correctly with it.
    	ptr := uintptr(unsafe.Pointer(&methodValueCallFrameObjs[0]))
    	var mod *moduledata
    	for datap := &firstmoduledata; datap != nil; datap = datap.next {
    		if datap.gofunc <= ptr && ptr < datap.end {
    			mod = datap
    			break
    		}
    	}
    	if mod == nil {
    		throw("methodValueCallFrameObjs is not in a module")
    	}
    	methodValueCallFrameObjs[0] = stackObjectRecord{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. src/runtime/mbitmap.go

    	if s == nil {
    		// If dst is a global, use the data or BSS bitmaps to
    		// execute write barriers.
    		for _, datap := range activeModules() {
    			if datap.data <= dst && dst < datap.edata {
    				bulkBarrierBitmap(dst, src, size, dst-datap.data, datap.gcdatamask.bytedata)
    				return
    			}
    		}
    		for _, datap := range activeModules() {
    			if datap.bss <= dst && dst < datap.ebss {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  8. src/runtime/cgocall.go

    			pp := *(*unsafe.Pointer)(unsafe.Pointer(addr))
    			if cgoIsGoPointer(pp) && !isPinned(pp) {
    				panic(errorString(msg))
    			}
    		}
    		return
    	}
    
    	for _, datap := range activeModules() {
    		if cgoInRange(p, datap.data, datap.edata) || cgoInRange(p, datap.bss, datap.ebss) {
    			// We have no way to know the size of the object.
    			// We have to assume that it might contain a pointer.
    			panic(errorString(msg))
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  9. src/runtime/mgcmark.go

    		for _, datap := range activeModules() {
    			workDone += markrootBlock(datap.data, datap.edata-datap.data, datap.gcdatamask.bytedata, gcw, int(i-work.baseData))
    		}
    
    	case work.baseBSS <= i && i < work.baseSpans:
    		workCounter = &gcController.globalsScanWork
    		for _, datap := range activeModules() {
    			workDone += markrootBlock(datap.bss, datap.ebss-datap.bss, datap.gcbssmask.bytedata, gcw, int(i-work.baseBSS))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall_solaris.go

    func Putmsg(fd int, cl []byte, data []byte, flags int) (err error) {
    	var clp, datap *strbuf
    	if len(cl) > 0 {
    		clp = &strbuf{
    			Len: int32(len(cl)),
    			Buf: (*int8)(unsafe.Pointer(&cl[0])),
    		}
    	}
    	if len(data) > 0 {
    		datap = &strbuf{
    			Len: int32(len(data)),
    			Buf: (*int8)(unsafe.Pointer(&data[0])),
    		}
    	}
    	return putmsg(fd, clp, datap, flags)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 31.1K bytes
    - Viewed (0)
Back to top