Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FindPkg (0.07 sec)

  1. src/go/internal/gcimporter/gcimporter.go

    var pkgExts = [...]string{".a", ".o"} // a file from the build cache will have no extension
    
    // FindPkg returns the filename and unique package id for an import
    // path based on package information provided by build.Import (using
    // the build.Default build.Context). A relative srcDir is interpreted
    // relative to the current working directory.
    func FindPkg(path, srcDir string) (filename, id string, err error) {
    	if path == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. src/go/internal/gcimporter/gcimporter_test.go

    	{"math.Pi", "const Pi untyped float"},
    	{"math.Sin", "func Sin(x float64) float64"},
    	{"go/ast.NotNilFilter", "func NotNilFilter(_ string, v reflect.Value) bool"},
    	{"go/internal/gcimporter.FindPkg", "func FindPkg(path string, srcDir string) (filename string, id string, err error)"},
    
    	// interfaces
    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