Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewFormatter (0.11 sec)

  1. src/internal/coverage/cformat/format.go

    // then make a series of calls to SetPackage and AddUnit passing in
    // data read from coverage meta-data and counter-data files. E.g.
    //
    //		myformatter := cformat.NewFormatter()
    //		...
    //		for each package P in meta-data file: {
    //			myformatter.SetPackage(P)
    //			for each function F in P: {
    //				for each coverable unit U in F: {
    //					myformatter.AddUnit(U)
    //				}
    //			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. src/internal/coverage/cfile/testsupport.go

    		}
    		defer func() {
    			if !tfClosed {
    				tfClosed = true
    				tf.Close()
    			}
    		}()
    	}
    
    	// Read/process the pods.
    	ts := &tstate{
    		cm:    &cmerge.Merger{},
    		cf:    cformat.NewFormatter(cmode),
    		cmode: cmode,
    	}
    	// Generate the expected hash string based on the final meta-data
    	// hash for this test, then look only for pods that refer to that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top