- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 59 for fileText (0.13 sec)
-
src/go/types/check.go
type Checker struct { // package information // (initialized by NewChecker, valid for the life-time of checker) conf *Config ctxt *Context // context for de-duplicating instances fset *token.FileSet pkg *Package *Info version goVersion // accepted language version nextID uint64 // unique Id for type parameters (first valid Id is 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.1K bytes - Viewed (0) -
src/go/types/typestring.go
if isTypes2 { w.string(fmt.Sprintf(" /* with %s declared at %v */", t.obj.name, t.obj.Pos())) } else { // Can't print position information because // we don't have a token.FileSet accessible. w.string("/* type parameter */") } } } case *Alias: w.typeName(t.obj) if list := t.targs.list(); len(list) != 0 { // instantiated type w.typeList(list)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typestring.go
if isTypes2 { w.string(fmt.Sprintf(" /* with %s declared at %v */", t.obj.name, t.obj.Pos())) } else { // Can't print position information because // we don't have a token.FileSet accessible. w.string("/* type parameter */") } } } case *Alias: w.typeName(t.obj) if list := t.targs.list(); len(list) != 0 { // instantiated type w.typeList(list)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go
import ( "bytes" "fmt" "go/ast" "go/token" "go/types" "os" "strconv" "golang.org/x/tools/go/analysis" "golang.org/x/tools/internal/aliases" ) func TypeErrorEndPos(fset *token.FileSet, src []byte, start token.Pos) token.Pos { // Get the end position for the type error. offset, end := fset.PositionFor(start, false).Offset, start if offset >= len(src) { return end }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 11.7K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/other/ant.adoc
You execute an Ant task by calling a method on the `AntBuilder` instance. You use the task name as the method name: .build.gradle [source,groovy] ---- ant.mkdir(dir: "$STAGE") ant.copy(todir: "$STAGE/bin") { ant.fileset(dir: 'bin', includes: "**") } ant.gzip(destfile:"build/file-${VERSION}.tar.gz", src: "build/file-${VERSION}.tar") ---- For example, you execute the Ant `echo` task using the `ant.echo()` method.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 15:23:52 UTC 2024 - 13.1K bytes - Viewed (0) -
src/go/types/check_test.go
for _, err := range list { errlist = append(errlist, err) } } else { errlist = append(errlist, err) } } } return files, errlist } func unpackError(fset *token.FileSet, err error) (token.Position, string) { switch err := err.(type) { case *scanner.Error: return err.Pos, err.Msg case Error: return fset.Position(err.Pos), err.Msg } panic("unreachable") }
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/vendor/golang.org/x/tools/go/analysis/doc.go
package being analyzed, and provides operations to the Run function for reporting diagnostics and other information back to the driver. type Pass struct { Fset *token.FileSet Files []*ast.File OtherFiles []string IgnoredFiles []string Pkg *types.Package TypesInfo *types.Info ResultOf map[*Analyzer]interface{} Report func(Diagnostic)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 13.3K bytes - Viewed (0) -
src/go/types/generate_test.go
n.Values[0].(*ast.CompositeLit).Type.(*ast.ArrayType).Len = nil return false } } return true }) } // fixSprintf adds an extra nil argument for the *token.FileSet parameter in sprintf calls. func fixSprintf(f *ast.File) { ast.Inspect(f, func(n ast.Node) bool { switch n := n.(type) { case *ast.CallExpr: if isIdent(n.Fun, "sprintf") && len(n.Args) >= 4 /* ... args */ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 16.5K bytes - Viewed (0) -
src/go/internal/gcimporter/ureader.go
func (pr *pkgReader) later(fn func()) { pr.laterFns = append(pr.laterFns, fn) } // readUnifiedPackage reads a package description from the given // unified IR export data decoder. func readUnifiedPackage(fset *token.FileSet, ctxt *types.Context, imports map[string]*types.Package, input pkgbits.PkgDecoder) *types.Package { pr := pkgReader{ PkgDecoder: input, fake: fakeFileSet{ fset: fset, files: make(map[string]*fileInfo),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.6K bytes - Viewed (0) -
src/go/internal/gcimporter/iimport.go
// and returns the number of bytes consumed and a reference to the package. // If the export data version is not recognized or the format is otherwise // compromised, an error is returned. func iImportData(fset *token.FileSet, imports map[string]*types.Package, dataReader *bufio.Reader, path string) (pkg *types.Package, err error) { const currentVersion = iexportVersionCurrent version := int64(-1) defer func() { if e := recover(); e != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.2K bytes - Viewed (0)