- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for MergeCounters (0.1 sec)
-
src/internal/coverage/cfile/testsupport.go
} // NB: sanity check on pkg and func IDs? key := pkfunc{pk: data.PkgIdx, fcn: data.FuncIdx} if prev, found := pmm[key]; found { // Note: no overflow reporting here. if err, _ := ts.cm.MergeCounters(data.Counters, prev); err != nil { return fmt.Errorf("processing counter data file %s: %v", cdf, err) } } c := ts.AllocateCounters(len(data.Counters)) copy(c, data.Counters) pmm[key] = c
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 8.7K bytes - Viewed (0)