Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CompiledImports (0.14 sec)

  1. src/cmd/go/internal/list/list.go

    				srcPath = p.Internal.RawImports[i]
    			} else {
    				// This path is not within the raw imports, so it must be an import
    				// found only within CompiledGoFiles. Those paths are found in
    				// CompiledImports.
    				srcPath = p.Internal.CompiledImports[i-nRaw]
    			}
    
    			if path != srcPath {
    				if p.ImportMap == nil {
    					p.ImportMap = make(map[string]string)
    				}
    				p.ImportMap[srcPath] = path
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/load/pkg.go

    		for _, p := range importPaths {
    			if path == p {
    				return
    			}
    		}
    		importPaths = append(importPaths, path)
    		if forCompiler {
    			p.Internal.CompiledImports = append(p.Internal.CompiledImports, path)
    		}
    	}
    
    	if !opts.IgnoreImports {
    		// Cgo translation adds imports of "unsafe", "runtime/cgo" and "syscall",
    		// except for certain packages, to avoid circular dependencies.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
Back to top