Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 529 for importer (0.11 sec)

  1. src/go/types/resolver.go

    		imp.cgo = check.conf.go115UsesCgo
    	} 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)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/issues_test.go

    		_ = 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
    	// (used to fail with this issue)
    	const src2 = `
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/compile/internal/test/dep_test.go

    		switch dep {
    		case "go/build", "go/scanner":
    			// cmd/compile/internal/importer introduces a dependency
    			// on go/build and go/token; cmd/compile/internal/ uses
    			// go/constant which uses go/token in its API. Once we
    			// got rid of those dependencies, enable this check again.
    			// TODO(gri) fix this
    			// t.Errorf("undesired dependency on %q", dep)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:19:15 UTC 2022
    - 853 bytes
    - Viewed (0)
  7. src/go/internal/gcimporter/gcimporter_test.go

    	// the imported package to mark it as complete; effectively marking the
    	// wrong package as complete. By using an "unclean" package path, the
    	// file and package path are different, exposing the problem if present.
    	// The same issue occurs with vendoring.)
    	imports := make(map[string]*types.Package)
    	fset := token.NewFileSet()
    	for i := 0; i < 3; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/samples/android-application/README.adoc

    NOTE: You can open this sample inside a Android Studio IDE using the https://developer.android.com/studio/projects/create-project#ImportAProject[project importer].
    
    This sample shows how a simple Android application written in Java can be built with Gradle.
    The application was created following the https://developer.android.com/training/basics/firstapp[Build your first app guide].
    
    ====
    include::sample[dir="kotlin",files="app/build.gradle.kts[]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 846 bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/python/save_model.py

    from tensorflow.python.framework import importer
    from tensorflow.python.framework import ops
    from tensorflow.python.lib.io import file_io
    from tensorflow.python.saved_model import builder
    from tensorflow.python.saved_model import constants as saved_model_constants
    from tensorflow.python.saved_model import loader_impl as saved_model_loader
    from tensorflow.python.saved_model import tag_constants
    from tensorflow.python.training import saver
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/samples/java/jvm-multi-project-with-toolchains/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 configure a toolchain for a JVM project in Gradle.
    Your project usually targets a specific java version.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top