- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 378 for Importer (0.31 sec)
-
docs/ko/docs/tutorial/debugging.md
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Apr 02 04:18:08 UTC 2024 - 2.8K bytes - Viewed (0) -
src/go/types/check_test.go
for _, err := range errlist { t.Error(err) } } // set up typechecker var conf Config *boolFieldAddr(&conf, "_Trace") = manual && testing.Verbose() conf.Importer = importer.Default() conf.Error = func(err error) { if *haltOnError { defer panic(err) } if listErrors { t.Error(err) return } // Ignore secondary error messages starting with "\t";
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 14.1K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)