Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 166 for pkgid (0.03 sec)

  1. src/internal/coverage/rtcov/rtcov.go

    	slot := len(Meta.List)
    	Meta.List = append(Meta.List, CovMetaBlob{
    		P:                  (*byte)(p),
    		Len:                dlen,
    		Hash:               hash,
    		PkgPath:            pkgpath,
    		PkgID:              pkgid,
    		CounterMode:        cmode,
    		CounterGranularity: cgran,
    	})
    	if pkgid != -1 {
    		if Meta.PkgMap == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/internal/coverage/cfile/emit.go

    			}
    			if !isLive {
    				// Skip this function.
    				i += coverage.FirstCtrOffset + int(nCtrs) - 1
    				continue
    			}
    
    			if s.debug {
    				if pkgId != dpkg {
    					dpkg = pkgId
    					fmt.Fprintf(os.Stderr, "\n=+= %d: pk=%d visit live fcn",
    						i, pkgId)
    				}
    				fmt.Fprintf(os.Stderr, " {i=%d F%d NC%d}", i, funcId, nCtrs)
    			}
    
    			// Vet and/or fix up package ID. A package ID of zero
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. src/runtime/covermeta.go

    )
    
    // The compiler emits calls to runtime.addCovMeta
    // but this code has moved to rtcov.AddMeta.
    func addCovMeta(p unsafe.Pointer, dlen uint32, hash [16]byte, pkgpath string, pkgid int, cmode uint8, cgran uint8) uint32 {
    	id := rtcov.AddMeta(p, dlen, hash, pkgpath, pkgid, cmode, cgran)
    	if id == 0 {
    		throw("runtime.addCovMeta: coverage package map collision")
    	}
    	return id
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 603 bytes
    - Viewed (0)
  4. src/internal/coverage/cfile/apis.go

    	// value into main.XYZ's counter slab. However since we've just
    	// finished clearing the entire counter segment, we will have lost
    	// the values in the prolog portion of main.XYZ's counter slab
    	// (nctrs, pkgid, funcid). This means that later on at the end of
    	// program execution as we walk through the entire counter array
    	// for the program looking for executed functions, we'll zoom past
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. src/cmd/covdata/dump.go

    }
    
    func (d *dstate) VisitFuncCounterData(data decodecounter.FuncPayload) {
    	if nf, ok := d.pkm[data.PkgIdx]; !ok || data.FuncIdx > nf {
    		warn("func payload inconsistency: id [p=%d,f=%d] nf=%d len(ctrs)=%d in VisitFuncCounterData, ignored", data.PkgIdx, data.FuncIdx, nf, len(data.Counters))
    		return
    	}
    	key := pkfunc{pk: data.PkgIdx, fcn: data.FuncIdx}
    	val, found := d.mm[key]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:57 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  6. src/internal/coverage/defs.go

    // as a struct of the following form:
    //
    // struct {
    //     numCtrs uint32
    //     pkgid uint32
    //     funcid uint32
    //     counterArray [numBlocks]uint32
    // }
    //
    // where "numCtrs" is the number of blocks / coverable units within the
    // function, "pkgid" is the unique index assigned to this package by
    // the runtime, "funcid" is the index of this function within its containing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 12:51:16 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  7. src/internal/coverage/cfile/testsupport.go

    	}
    	newgran := mfr.CounterGranularity()
    	if err := ts.cm.SetModeAndGranularity(p.MetaFile, cmode, newgran); err != nil {
    		return err
    	}
    
    	// A map to store counter data, indexed by pkgid/fnid tuple.
    	pmm := make(map[pkfunc][]uint32)
    
    	// Helper to read a single counter data file.
    	readcdf := func(cdf string) error {
    		cf, err := os.Open(cdf)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func libfuzzerTraceConstCmp8(uint64, uint64, uint)
    func libfuzzerHookStrCmp(string, string, uint)
    func libfuzzerHookEqualFold(string, string, uint)
    
    func addCovMeta(p unsafe.Pointer, len uint32, hash [16]byte, pkpath string, pkgId int, cmode uint8, cgran uint8) uint32
    
    // architecture variants
    var x86HasPOPCNT bool
    var x86HasSSE41 bool
    var x86HasFMA bool
    var armHasVFPv4 bool
    var arm64HasATOMICS bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. src/cmd/cover/cover.go

    				atomicPackagePrefix(), cv, which, val)
    		}
    	}
    
    	// Generate the registration hook sequence for the function. This
    	// sequence looks like
    	//
    	//   counterVar[0] = <num_units>
    	//   counterVar[1] = pkgId
    	//   counterVar[2] = fnId
    	//
    	cv := f.fn.counterVar
    	regHook := hookWrite(cv, 0, strconv.Itoa(len(f.fn.units))) + " ; " +
    		hookWrite(cv, 1, mkPackageIdExpression()) + " ; " +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  10. src/internal/coverage/pkid.go

    Andy Pan <******@****.***> 1706754074 +0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top