- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 37 for fileText (0.13 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go
// (Note that the eventual API will likely be quite different.) // // The defaults honor a Config in a manner compatible with 'go vet'. var ( makeTypesImporter = func(cfg *Config, fset *token.FileSet) types.Importer { compilerImporter := importer.ForCompiler(fset, cfg.Compiler, func(path string) (io.ReadCloser, error) { // path is a resolved package path, not an import path. file, ok := cfg.PackageFile[path]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 13K bytes - Viewed (0) -
maven-core/src/test/resources-project-builder/foo/sub/pom.xml
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Sep 22 08:59:31 UTC 2023 - 15.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go
} // ---- output helpers common to all drivers ---- // PrintPlain prints a diagnostic in plain text form, // with context specified by the -c flag. func PrintPlain(fset *token.FileSet, diag analysis.Diagnostic) { posn := fset.Position(diag.Pos) fmt.Fprintf(os.Stderr, "%s: %s\n", posn, diag.Message) // -c=N: show offending line plus N lines of context. if Context >= 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 19:00:13 UTC 2024 - 12.1K bytes - Viewed (0) -
src/go/doc/doc.go
// NewFromFiles takes ownership of the AST files and may edit them, // unless the PreserveAST Mode bit is on. func NewFromFiles(fset *token.FileSet, files []*ast.File, importPath string, opts ...any) (*Package, error) { // Check for invalid API usage. if fset == nil { panic(fmt.Errorf("doc.NewFromFiles: no token.FileSet provided (fset == nil)")) } var mode Mode
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 11.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/cgocall/cgocall.go
if err != nil { return nil, err } for _, f := range cgofiles { checkCgo(pass.Fset, f, info, pass.Reportf) } return nil, nil } func checkCgo(fset *token.FileSet, f *ast.File, info *types.Info, reportf func(token.Pos, string, ...interface{})) { ast.Inspect(f, func(n ast.Node) bool { call, ok := n.(*ast.CallExpr) if !ok { return true } // Is this a C.f() call?
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 11.2K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/TestTest.groovy
private Test test def setup() { classesDir = temporaryFolder.createDir("classes") File classfile = new File(classesDir, "FileTest.class") FileUtils.touch(classfile) resultsDir = temporaryFolder.createDir("testResults") binResultsDir = temporaryFolder.createDir("binResults") reportDir = temporaryFolder.createDir("report")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 11.1K bytes - Viewed (0) -
src/go/printer/printer.go
commentNewline bool // true if the comment group contains newlines } type printer struct { // Configuration (does not change after initialization) Config fset *token.FileSet // Current state output []byte // raw printer result indent int // current indentation level int // level == 0: outside composite literal; level > 0: inside composite literal
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 41.6K bytes - Viewed (0) -
src/go/types/api.go
// A "soft" error is an error that still permits a valid interpretation of a // package (such as "unused variable"); "hard" errors may lead to unpredictable // behavior if ignored. type Error struct { Fset *token.FileSet // file set for interpretation of Pos Pos token.Pos // error position Msg string // error message Soft bool // if set, error is "soft"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 17.2K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractFileCollection.java
public void addToAntBuilder(Object builder, String nodeName, AntType type) { if (type == AntType.ResourceCollection) { addAsResourceCollection(builder, nodeName); } else if (type == AntType.FileSet) { addAsFileSet(builder, nodeName); } else { addAsMatchingTask(builder, nodeName); } } protected void addAsMatchingTask(Object builder, String nodeName) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 07:32:50 UTC 2024 - 13.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/DefaultSourceDirectorySetTest.groovy
void failsWhenSourceDirectoryIsNotADirectory() { File srcDir = new File(testDir, 'dir1') touch(srcDir) when: set.srcDir 'dir1' set.addToAntBuilder("node", "fileset") then: InvalidUserDataException e = thrown() e.message == "Source directory '$srcDir' is not a directory." } void hasNoDependenciesWhenNoSourceDirectoriesSpecified() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Oct 28 15:32:09 UTC 2022 - 14.4K bytes - Viewed (0)