Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 45 for dstCap (0.27 sec)

  1. src/runtime/mbitmap.go

    		// 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 {
    				bulkBarrierBitmap(dst, src, size, dst-datap.bss, datap.gcbssmask.bytedata)
    				return
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_solaris.go

    	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)
  5. src/runtime/debuglog.go

    }
    
    //go:nosplit
    func (l *dlogger) s(x string) *dlogger {
    	if !dlogEnabled {
    		return l
    	}
    
    	strData := unsafe.StringData(x)
    	datap := &firstmoduledata
    	if len(x) > 4 && datap.etext <= uintptr(unsafe.Pointer(strData)) && uintptr(unsafe.Pointer(strData)) < datap.end {
    		// String constants are in the rodata section, which
    		// isn't recorded in moduledata. But it has to be
    		// somewhere between etext and end.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  6. src/runtime/map.go

    		}
    
    		if oldB >= dst.B { // main bucket bits in dst is less than oldB bits in src
    			dstBmap := (*bmap)(add(dst.buckets, (uintptr(i)&bucketMask(dst.B))*uintptr(t.BucketSize)))
    			for dstBmap.overflow(t) != nil {
    				dstBmap = dstBmap.overflow(t)
    			}
    			pos := 0
    			for srcBmap != nil {
    				dstBmap, pos = moveToBmap(t, dst, dstBmap, pos, srcBmap)
    				srcBmap = srcBmap.overflow(t)
    			}
    			continue
    		}
    
    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/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)
  8. 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)
  9. 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)
  10. src/cmd/link/internal/ld/link.go

    	runtimeCU *sym.CompilationUnit   // One of the runtime CUs, the last one seen.
    
    	loader  *loader.Loader
    	cgodata []cgodata // cgo directives to load, three strings are args for loadcgo
    
    	datap  []loader.Sym
    	dynexp []loader.Sym
    
    	// Elf symtab variables.
    	numelfsym int // starts at 0, 1 is reserved
    
    	// These are symbols that created and written by the linker.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 19 15:59:22 UTC 2022
    - 5.1K bytes
    - Viewed (0)
Back to top