Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,401 for datap (0.05 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/runtime/symtabinl.go

    //
    // The go:linkname is below.
    func (u *inlineUnwinder) srcFunc(uf inlineFrame) srcFunc {
    	if uf.index < 0 {
    		return u.f.srcFunc()
    	}
    	t := &u.inlTree[uf.index]
    	return srcFunc{
    		u.f.datap,
    		t.nameOff,
    		t.startLine,
    		t.funcID,
    	}
    }
    
    //go:linkname badSrcFunc runtime.(*inlineUnwinder).srcFunc
    func badSrcFunc(*inlineUnwinder, inlineFrame) srcFunc
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. src/runtime/stack.go

    // gcdata returns pointer map or GC prog of the type.
    func (r *stackObjectRecord) gcdata() *byte {
    	ptr := uintptr(unsafe.Pointer(r))
    	var mod *moduledata
    	for datap := &firstmoduledata; datap != nil; datap = datap.next {
    		if datap.gofunc <= ptr && ptr < datap.end {
    			mod = datap
    			break
    		}
    	}
    	// If you get a panic here due to a nil mod,
    	// you may have made a copy of a stackObjectRecord.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  10. src/runtime/mgc.go

    	}
    	if base, _, _ := findObject(p2, 0, 0); base != 0 {
    		return "heap"
    	}
    	for _, datap := range activeModules() {
    		if datap.data <= p2 && p2 < datap.edata || datap.noptrdata <= p2 && p2 < datap.enoptrdata {
    			return "data"
    		}
    		if datap.bss <= p2 && p2 < datap.ebss || datap.noptrbss <= p2 && p2 <= datap.enoptrbss {
    			return "bss"
    		}
    	}
    	KeepAlive(p)
    	return "other"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
Back to top