Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for seenPkgMap (0.1 sec)

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

    	}
    	return ""
    }
    
    // markImports recursively walks pkg and its imports, to record unique import
    // paths in pkgPathMap.
    func (check *Checker) markImports(pkg *Package) {
    	if check.seenPkgMap[pkg] {
    		return
    	}
    	check.seenPkgMap[pkg] = true
    
    	forName, ok := check.pkgPathMap[pkg.name]
    	if !ok {
    		forName = make(map[string]bool)
    		check.pkgPathMap[pkg.name] = forName
    	}
    	forName[pkg.path] = true
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. src/go/types/format.go

    	}
    	return ""
    }
    
    // markImports recursively walks pkg and its imports, to record unique import
    // paths in pkgPathMap.
    func (check *Checker) markImports(pkg *Package) {
    	if check.seenPkgMap[pkg] {
    		return
    	}
    	check.seenPkgMap[pkg] = true
    
    	forName, ok := check.pkgPathMap[pkg.name]
    	if !ok {
    		forName = make(map[string]bool)
    		check.pkgPathMap[pkg.name] = forName
    	}
    	forName[pkg.path] = true
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top