Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for readyFunc (0.08 sec)

  1. src/go/doc/reader.go

    }
    
    // isPredeclared reports whether n denotes a predeclared type.
    func (r *reader) isPredeclared(n string) bool {
    	return predeclaredTypes[n] && r.types[n] == nil
    }
    
    // readFunc processes a func or method declaration.
    func (r *reader) readFunc(fun *ast.FuncDecl) {
    	// strip function body if requested.
    	if r.mode&PreserveAST == 0 {
    		fun.Body = nil
    	}
    
    	// associate methods with the receiver type, if any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  2. src/internal/coverage/cfile/testsupport.go

    		}
    		ts.cf.SetPackage(pd.PackagePath())
    		importpaths[pd.PackagePath()] = struct{}{}
    		var fd coverage.FuncDesc
    		nf := pd.NumFuncs()
    		for fnIdx := uint32(0); fnIdx < nf; fnIdx++ {
    			if err := pd.ReadFunc(fnIdx, &fd); err != nil {
    				return fmt.Errorf("reading meta-data file %s: %v",
    					p.MetaFile, err)
    			}
    			key := pkfunc{pk: pkIdx, fcn: fnIdx}
    			counters, haveCounters := pmm[key]
    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