Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for pkgImports (0.11 sec)

  1. src/cmd/compile/internal/types2/resolver.go

    func (check *Checker) collectObjects() {
    	pkg := check.pkg
    
    	// pkgImports is the set of packages already imported by any package file seen
    	// so far. Used to avoid duplicate entries in pkg.imports. Allocate and populate
    	// it (pkg.imports may not be empty if we are checking test files incrementally).
    	// Note that pkgImports is keyed by package (and thus package path), not by an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. src/go/types/resolver.go

    func (check *Checker) collectObjects() {
    	pkg := check.pkg
    
    	// pkgImports is the set of packages already imported by any package file seen
    	// so far. Used to avoid duplicate entries in pkg.imports. Allocate and populate
    	// it (pkg.imports may not be empty if we are checking test files incrementally).
    	// Note that pkgImports is keyed by package (and thus package path), not by an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. src/go/internal/gcimporter/gcimporter_test.go

    	// filename must end with ".go"
    	basename, ok := strings.CutSuffix(filepath.Base(filename), ".go")
    	if !ok {
    		t.Fatalf("filename doesn't end in .go: %s", filename)
    	}
    	objname := basename + ".o"
    	outname := filepath.Join(outdirname, objname)
    
    	importcfgfile := os.DevNull
    	if len(packageFiles) > 0 || len(pkgImports) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top