- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for FuncIdx (0.14 sec)
-
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) -
src/cmd/covdata/metamerge.go
key := pkfunc{pk: data.PkgIdx, fcn: data.FuncIdx} val := mm.pod.pmm[key] // FIXME: in theory either A) len(val.Counters) is zero, or B) // the two lengths are equal. Assert if not? Of course, we could // see odd stuff if there is source file skew. if *verbflag > 4 { fmt.Printf("visit pk=%d fid=%d len(counters)=%d\n", data.PkgIdx, data.FuncIdx, len(data.Counters)) } if len(val.Counters) < len(data.Counters) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 17:17:47 UTC 2024 - 12.1K bytes - Viewed (0) -
src/internal/coverage/decodecounter/decodecounterfile.go
return cdr.goarch } // FuncPayload encapsulates the counter data payload for a single // function as read from a counter data file. type FuncPayload struct { PkgIdx uint32 FuncIdx uint32 Counters []uint32 } // NumSegments returns the number of execution segments in the file. func (cdr *CounterDataReader) NumSegments() uint32 { return cdr.ftr.NumSegments }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 27 15:29:54 UTC 2023 - 9.8K bytes - Viewed (0) -
src/cmd/link/internal/wasm/asm.go
writeName(ctxt.Out, "_start") // the wasi entrypoint ctxt.Out.WriteByte(0x00) // func export writeUleb128(ctxt.Out, uint64(idx)) // funcidx writeName(ctxt.Out, "memory") // memory in wasi ctxt.Out.WriteByte(0x02) // mem export writeUleb128(ctxt.Out, 0) // memidx case "js": writeUleb128(ctxt.Out, 4) // number of exports
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 16:17:48 UTC 2024 - 21.9K bytes - Viewed (0)