Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 518 for Importer (0.15 sec)

  1. src/cmd/go/internal/modload/import.go

    	found                     bool
    	mods                      []module.Version
    	importer, importerVersion string // optional, but used for additional context
    	importerIsTest            bool
    }
    
    func (e *ImportMissingSumError) Error() string {
    	var importParen string
    	if e.importer != "" {
    		importParen = fmt.Sprintf(" (imported by %s)", e.importer)
    	}
    	var message string
    	if e.found {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/api_predicates.go

    // A collection of symbols is consistent if, for each logical
    // package whose path is P, the creation of those symbols
    // involved at most one call to [NewPackage](P, ...).
    // To ensure consistency, use a single [Importer] for
    // all loaded packages and their dependencies.
    // For more information, see https://github.com/golang/go/issues/57497.
    func Identical(x, y Type) bool {
    	var c comparer
    	return c.identical(x, y, nil)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 16:36:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. src/go/types/api_test.go

    			Importer: importer.For(compiler, nil),
    		}
    
    		info := &Info{
    			Uses: make(map[*ast.Ident]Object),
    		}
    		pkg, _ := conf.Check("p", fset, files, info)
    		if pkg == nil {
    			t.Errorf("for %s importer, type-checking failed to return a package", compiler)
    			continue
    		}
    
    		imports := pkg.Imports()
    		if len(imports) != 1 {
    			t.Errorf("for %s importer, got %d imports, want 1", compiler, len(imports))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  4. src/go/types/api_predicates.go

    // A collection of symbols is consistent if, for each logical
    // package whose path is P, the creation of those symbols
    // involved at most one call to [NewPackage](P, ...).
    // To ensure consistency, use a single [Importer] for
    // all loaded packages and their dependencies.
    // For more information, see https://github.com/golang/go/issues/57497.
    func Identical(x, y Type) bool {
    	var c comparer
    	return c.identical(x, y, nil)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 16:36:08 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.h

                     const std::string& device_type);
    
      ~Tf2XlaRewriter();
    
      // Compiles the given Operation with XlaBuilder and imports the generated HLO
      // via the HLO -> MHLO importer.
      absl::StatusOr<mhlo::TupleOp> CompileWithHloImporter(
          tensorflow::OpKernelContext& op_context);
    
      // Import the given XlaComputation into the parent module. Returns the given
      // generated function.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/samples/build-organization/composite-builds/hierarchical-multirepo/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].
    
    == Using composite builds in a hierarchical multirepo project
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/api_test.go

    			//Importer: importer.For(compiler, nil),
    		}
    
    		info := &Info{
    			Uses: make(map[*syntax.Name]Object),
    		}
    		pkg, _ := conf.Check("p", files, info)
    		if pkg == nil {
    			t.Errorf("for %s importer, type-checking failed to return a package", compiler)
    			continue
    		}
    
    		imports := pkg.Imports()
    		if len(imports) != 1 {
    			t.Errorf("for %s importer, got %d imports, want 1", compiler, len(imports))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modload/load.go

    		if pkg.err == nil {
    			continue
    		}
    
    		// Add importer information to checksum errors.
    		if sumErr := (*ImportMissingSumError)(nil); errors.As(pkg.err, &sumErr) {
    			if importer := pkg.stack; importer != nil {
    				sumErr.importer = importer.path
    				sumErr.importerVersion = importer.mod.Version
    				sumErr.importerIsTest = importer.testOf != nil
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/object_test.go

    	testenv.MustHaveGoBuild(t)
    
    	for i, test := range testObjects {
    		t.Run(fmt.Sprint(i), func(t *testing.T) {
    			src := "package p; " + test.src
    			conf := Config{Error: func(error) {}, Importer: defaultImporter(), EnableAlias: test.alias}
    			pkg, err := typecheck(src, &conf, nil)
    			if err != nil {
    				t.Fatalf("%s: %s", src, err)
    			}
    
    			names := strings.Split(test.obj, ".")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/samples/readme-templates/common-body.adoc.template

    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 guide demonstrates how to create a ${language.raw} ${componentType.raw} with Gradle using `gradle init`.
    You can follow the guide step-by-step to create a new project from scratch or download the complete sample project using the links above.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top