- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 239 for fileset (0.17 sec)
-
src/go/internal/gcimporter/gcimporter.go
// the corresponding package object to the packages map, and returns the object. // The packages map must contain all packages already imported. func Import(fset *token.FileSet, packages map[string]*types.Package, path, srcDir string, lookup func(path string) (io.ReadCloser, error)) (pkg *types.Package, err error) { var rc io.ReadCloser var id string if lookup != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 6.4K bytes - Viewed (0) -
src/runtime/align_test.go
} pkg := m["runtime"] // Note: ignore runtime_test and main packages // Filter files by those for the current architecture/os being tested. fileMap := map[string]bool{} for _, f := range buildableFiles(t, ".") { fileMap[f] = true } var files []*ast.File for fname, f := range pkg.Files { if fileMap[fname] { files = append(files, f) } } // Call go/types to analyze the runtime package. var info types.Info
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 08 14:52:12 UTC 2023 - 5.4K bytes - Viewed (0) -
src/go/types/api.go
// errors. // // The package is specified by a list of *ast.Files and corresponding // file set, and the package path the package is identified with. // The clean path must not be empty or dot ("."). func (conf *Config) Check(path string, fset *token.FileSet, files []*ast.File, info *Info) (*Package, error) { pkg := NewPackage(path, "") return pkg, NewChecker(conf, fset, pkg, info).Files(files)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 17.2K bytes - Viewed (0) -
src/go/types/eval_test.go
case "", "1": if strings.Contains(src, "interface{R}.Read") { continue } } files = append(files, file) } conf := Config{Importer: importer.Default()} pkg, err := conf.Check("p", fset, files, nil) if err != nil { t.Fatal(err) } for _, file := range files { for _, group := range file.Comments { for _, comment := range group.List { s := comment.Text
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 19:56:15 UTC 2024 - 8.3K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractFileCollection.java
// This is just a super simple implementation for now Set<File> files = fileCollection.getFiles(); ImmutableSet.Builder<FileSystemLocation> builder = ImmutableSet.builderWithExpectedSize(files.size()); for (File file : files) { builder.add(new DefaultFileSystemLocation(file)); } return builder.build(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 07:32:50 UTC 2024 - 13.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/analysis.go
// syntax and type information Fset *token.FileSet // file position information; Run may add new files Files []*ast.File // the abstract syntax tree of each file OtherFiles []string // names of non-Go files of this package IgnoredFiles []string // names of ignored source files in this package Pkg *types.Package // type information about the package
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 9.1K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/DefaultSourceDirectorySetTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Oct 28 15:32:09 UTC 2022 - 14.4K bytes - Viewed (0) -
src/go/types/check.go
seenPkgMap map[*Package]bool // information collected during type-checking of a set of package files // (initialized by Files, valid only for the duration of check.Files; // maps and lists are allocated on demand) files []*ast.File // package files versions map[*ast.File]string // maps files to version strings (each file has an entry); shared with Info.FileVersions if present
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/cmd/go/internal/modindex/build.go
func (e *NoGoError) Error() string { return "no buildable Go source files in " + e.Dir } // MultiplePackageError describes a directory containing // multiple buildable Go source files for multiple packages. type MultiplePackageError struct { Dir string // directory containing files Packages []string // package names found Files []string // corresponding files: Files[i] declares package Packages[i] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 17:39:23 UTC 2023 - 26.8K 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)