Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 133 for reporter (7.39 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/vendor/golang.org/x/tools/internal/facts/imports.go

    // importMap computes the import map for a package by traversing the
    // entire exported API each of its imports.
    //
    // 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()).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/load.go

    		ld.exitIfErrors(ctx)
    	}
    
    	// Report errors, if any.
    	for _, pkg := range ld.pkgs {
    		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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/api_predicates.go

    // 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)
    }
    
    // IdenticalIgnoreTags reports whether x and y are identical types if tags are ignored.
    // Receivers of [Signature] types are ignored.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 16:36:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. src/cmd/go/internal/load/pkg.go

    		key := pkg.ImportPath
    		if pkg.Internal.PGOProfile != "" {
    			key += " pgo:" + pkg.Internal.PGOProfile
    		}
    		if seen[key] && !reported[key] {
    			reported[key] = true
    			base.Errorf("internal error: duplicate loads of %s", pkg.ImportPath)
    		}
    		seen[key] = true
    	}
    	base.ExitIfErrors()
    }
    
    // mainPackagesOnly filters out non-main packages matched only by arguments
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/instantiate.go

    	return updateContexts(res)
    }
    
    // validateTArgLen checks that the number of type arguments (got) matches the
    // number of type parameters (want); if they don't match an error is reported.
    // If validation fails and check is nil, validateTArgLen panics.
    func (check *Checker) validateTArgLen(pos syntax.Pos, name string, want, got int) bool {
    	var qual string
    	switch {
    	case got < want:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/doc.go

    # Background
    
    A static analysis is a function that inspects a package of Go code and
    reports a set of diagnostics (typically mistakes in the code), and
    perhaps produces other results as well, such as suggested refactorings
    or other facts. An analysis that reports mistakes is informally called a
    "checker". For example, the printf checker reports mistakes in
    fmt.Printf format strings.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    			}
    		}
    		return true
    	})
    }
    
    // isFuzzTargetDotFuzz reports whether call is (*testing.F).Fuzz().
    func isFuzzTargetDotFuzz(pass *analysis.Pass, call *ast.CallExpr) bool {
    	return isFuzzTargetDot(pass, call, "Fuzz")
    }
    
    // isFuzzTargetDotAdd reports whether call is (*testing.F).Add().
    func isFuzzTargetDotAdd(pass *analysis.Pass, call *ast.CallExpr) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  9. src/cmd/internal/moddeps/moddeps_test.go

    			out, err := cmd.Output()
    			if err != nil {
    				t.Fatalf("%s: %v\n%s", strings.Join(cmd.Args, " "), err, cmd.Stderr)
    			}
    			if strings.TrimSpace(string(out)) != m.Path {
    				t.Errorf("'%s' reported active modules other than %s:\n%s", strings.Join(cmd.Args, " "), m.Path, out)
    				t.Logf("(Run 'go mod tidy' in %s to ensure that no extraneous dependencies were added, or 'go mod vendor' to copy in imported packages.)", m.Dir)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. src/cmd/go/internal/help/helpdoc.go

    run 'go env -w <NAME>=<VALUE>'. Defaults changed using 'go env -w'
    are recorded in a Go environment configuration file stored in the
    per-user configuration directory, as reported by os.UserConfigDir.
    The location of the configuration file can be changed by setting
    the environment variable GOENV, and 'go env GOENV' prints the
    effective location, but 'go env -w' cannot change the default location.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
Back to top