Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for beginCounterDataFile (0.4 sec)

  1. src/cmd/covdata/merge.go

    	m.mm.beginPod()
    }
    
    func (m *mstate) EndPod(p pods.Pod) {
    	m.mm.endPod(*pcombineflag)
    }
    
    func (m *mstate) BeginCounterDataFile(cdf string, cdr *decodecounter.CounterDataReader, dirIdx int) {
    	dbgtrace(2, "visit counter data file %s dirIdx %d", cdf, dirIdx)
    	m.mm.beginCounterDataFile(cdr)
    }
    
    func (m *mstate) EndCounterDataFile(cdf string, cdr *decodecounter.CounterDataReader, dirIdx int) {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:37 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. src/cmd/internal/cov/readcovdata.go

    // visitor method invocations is:
    //
    //	for each pod P {
    //		BeginPod(p)
    //		let MF be the meta-data file for P
    //		VisitMetaDataFile(MF)
    //		for each counter data file D in P {
    //			BeginCounterDataFile(D)
    //			for each live function F in D {
    //				VisitFuncCounterData(F)
    //			}
    //			EndCounterDataFile(D)
    //		}
    //		EndCounters(MF)
    //		for each package PK in MF {
    //			BeginPackage(PK)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  3. src/cmd/internal/cov/read_test.go

    func (v *visitor) BeginPod(p pods.Pod) {}
    func (v *visitor) EndPod(p pods.Pod)   {}
    func (v *visitor) VisitMetaDataFile(mdf string, mfr *decodemeta.CoverageMetaFileReader) {
    	v.metaFileCount++
    }
    func (v *visitor) BeginCounterDataFile(cdf string, cdr *decodecounter.CounterDataReader, dirIdx int) {
    	v.counterFileCount++
    }
    func (v *visitor) EndCounterDataFile(cdf string, cdr *decodecounter.CounterDataReader, dirIdx int) {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:17 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. src/cmd/covdata/subtractintersect.go

    	// since we don't add anything to imm if there is no pmm entry.
    	for _, k := range pkeys {
    		if _, found := s.imm[k]; !found {
    			delete(s.mm.pod.pmm, k)
    		}
    	}
    	s.imm = nil
    }
    
    func (s *sstate) BeginCounterDataFile(cdf string, cdr *decodecounter.CounterDataReader, dirIdx int) {
    	dbgtrace(2, "visiting counter data file %s diridx %d", cdf, dirIdx)
    	if s.inidx != dirIdx {
    		if s.inidx > dirIdx {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 12 12:50:46 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  5. src/cmd/covdata/dump.go

    	d.mm = make(map[pkfunc]decodecounter.FuncPayload)
    }
    
    func (d *dstate) EndPod(p pods.Pod) {
    	if d.cmd == debugDumpMode {
    		d.cm.ResetModeAndGranularity()
    	}
    }
    
    func (d *dstate) BeginCounterDataFile(cdf string, cdr *decodecounter.CounterDataReader, dirIdx int) {
    	dbgtrace(2, "visit counter data file %s dirIdx %d", cdf, dirIdx)
    	if d.cmd == debugDumpMode {
    		fmt.Printf("data file %s", cdf)
    		if cdr.Goos() != "" {
    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/cmd/covdata/metamerge.go

    	newgran := mfr.CounterGranularity()
    	newmode := mfr.CounterMode()
    	if err := mm.SetModeAndGranularity(mdf, newmode, newgran); err != nil {
    		fatal("%v", err)
    	}
    }
    
    func (mm *metaMerge) beginCounterDataFile(cdr *decodecounter.CounterDataReader) {
    	state := argvalues{
    		osargs: cdr.OsArgs(),
    		goos:   cdr.Goos(),
    		goarch: cdr.Goarch(),
    	}
    	mm.astate.Merge(state)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 17:17:47 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top