Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 730 for Importer (0.14 sec)

  1. src/go/internal/gccgoimporter/gccgoinstallation.go

    		paths = append(paths, spath)
    	}
    
    	paths = append(paths, inst.LibPaths...)
    
    	return
    }
    
    // Return an importer that searches incpaths followed by the gcc installation's
    // built-in search paths and the current directory.
    func (inst *GccgoInstallation) GetImporter(incpaths []string, initmap map[*types.Package]InitData) Importer {
    	return GetImporter(append(append(incpaths, inst.SearchPaths()...), "."), initmap)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 17:49:12 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/README.md

    # SavedModel importer FileCheck tests.
    
    ## Debugging tests
    
    While debugging tests, the following commands are handy.
    
    Run FileCheck test:
    
    ```
    bazel run :foo.py.test
    ```
    
    Run just the Python file and look at the output:
    
    ```
    bazel run :foo
    ```
    
    Generate saved model to inspect proto:
    
    ```
    bazel run :foo -- --save_model_path=/tmp/my.saved_model
    # Inspect /tmp/my.saved_model/saved_model.pb
    ```
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 02 03:37:19 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  3. src/runtime/align_test.go

    		if fileMap[fname] {
    			files = append(files, f)
    		}
    	}
    
    	// Call go/types to analyze the runtime package.
    	var info types.Info
    	info.Types = map[ast.Expr]types.TypeAndValue{}
    	conf := types.Config{Importer: importer.Default()}
    	_, err = conf.Check("runtime", fset, files, &info)
    	if err != nil {
    		t.Fatalf("typechecking runtime failed: %v", err)
    	}
    
    	// Analyze all atomic.*64 callsites.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 14:52:12 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/facts/imports.go

    //
    // This is a workaround for the fact that we cannot access the map used
    // internally by the types.Importer returned by go/importer. The entries
    // in this map are the packages and objects that may be relevant to the
    // current analysis unit.
    //
    // Packages in the map that are only indirectly imported may be
    // incomplete (!pkg.Complete()).
    //
    // This function scales very poorly with packages' transitive object
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/samples/writing-tasks/task-with-arguments/README.adoc

    NOTE: You can open the samples inside an IDE using the https://www.jetbrains.com/help/idea/gradle.html#gradle_import_project_start[IntelliJ native importer] or https://projects.eclipse.org/projects/tools.buildship[Eclipse Buildship].
    
    This sample shows how to create a plugin with a task that accepts arguments.
    The plugin is packaged via an included build.
    
    ====
    include::sample[dir="kotlin",files="build.gradle.kts[];settings.gradle.kts[]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1020 bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/issues_test.go

    import "go/types"
    
    func main() {
    	var info types.Info
    	for _, obj := range info.Uses {
    		_ = obj.Pkg()
    	}
    }
    `
    	// like src0, but also imports go/importer
    	const src1 = `
    package main
    
    import (
    	"go/types"
    	_ "go/importer"
    )
    
    func main() {
    	var info types.Info
    	for _, obj := range info.Uses {
    		_ = obj.Pkg()
    	}
    }
    `
    	// like src1 but with different import order
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/stdlib_test.go

    // type-checking.
    var printPackageMu sync.Mutex
    
    // typecheckFiles typechecks the given package files.
    func typecheckFiles(path string, filenames []string, importer Importer) (*Package, error) {
    	// Parse package files.
    	var files []*syntax.File
    	for _, filename := range filenames {
    		var errs []error
    		errh := func(err error) { errs = append(errs, err) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:18:33 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/resolver.go

    	} else {
    		// ordinary import
    		var err error
    		if importer := check.conf.Importer; importer == nil {
    			err = fmt.Errorf("Config.Importer not installed")
    		} else if importerFrom, ok := importer.(ImporterFrom); ok {
    			imp, err = importerFrom.ImportFrom(path, dir, 0)
    			if imp == nil && err == nil {
    				err = fmt.Errorf("Config.Importer.ImportFrom(%s, %s, 0) returned nil but no error", path, dir)
    			}
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. src/go/types/resolver.go

    	} else {
    		// ordinary import
    		var err error
    		if importer := check.conf.Importer; importer == nil {
    			err = fmt.Errorf("Config.Importer not installed")
    		} else if importerFrom, ok := importer.(ImporterFrom); ok {
    			imp, err = importerFrom.ImportFrom(path, dir, 0)
    			if imp == nil && err == nil {
    				err = fmt.Errorf("Config.Importer.ImportFrom(%s, %s, 0) returned nil but no error", path, dir)
    			}
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/samples/build-organization/gradle-plugin/README.adoc

    NOTE: You can open this sample inside an IDE using the https://www.jetbrains.com/help/idea/gradle.html#gradle_import_project_start[IntelliJ native importer] or https://projects.eclipse.org/projects/tools.buildship[Eclipse Buildship].
    
    This sample shows how to build a Gradle plugin in the Java language.
    
    ====
    include::sample[dir="kotlin",files="greeting-plugin/build.gradle.kts[tags=plugin]"]
    include::sample[dir="groovy",files="greeting-plugin/build.gradle[tags=plugin]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 757 bytes
    - Viewed (0)
Back to top