Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for dstCap (0.29 sec)

  1. src/regexp/regexp.go

    	if bsrc != nil {
    		endPos = len(bsrc)
    	} else {
    		endPos = len(src)
    	}
    	if nmatch > re.prog.NumCap {
    		nmatch = re.prog.NumCap
    	}
    
    	var dstCap [2]int
    	for searchPos <= endPos {
    		a := re.doExecute(nil, bsrc, src, searchPos, nmatch, dstCap[:0])
    		if len(a) == 0 {
    			break // no more matches
    		}
    
    		// Copy the unmatched characters before this match.
    		if bsrc != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. internal/disk/stat_linux.go

    		if err == nil {
    			devName := ""
    			diskstats, _ := bfs.ProcDiskstats()
    			for _, dstat := range diskstats {
    				// ignore all loop devices
    				if strings.HasPrefix(dstat.DeviceName, "loop") {
    					continue
    				}
    				if dstat.MajorNumber == info.Major && dstat.MinorNumber == info.Minor {
    					devName = dstat.DeviceName
    					break
    				}
    			}
    			if devName != "" {
    				info.Name = devName
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/runtime/mfinal.go

    	// 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 ||
    			datap.noptrbss <= uintptr(p) && uintptr(p) < datap.enoptrbss {
    			return true
    		}
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top