Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 138 for fileset (0.16 sec)

  1. 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)
  2. 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)
  3. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go

    		slicesContains(pass.IgnoredFiles, filename) {
    		return nil
    	}
    	for _, f := range pass.Files {
    		// TODO(adonovan): use go1.20 f.FileStart
    		if pass.Fset.File(f.Pos()).Name() == filename {
    			return nil
    		}
    	}
    	return fmt.Errorf("Pass.ReadFile: %s is not among OtherFiles, IgnoredFiles, or names of Files", filename)
    }
    
    // TODO(adonovan): use go1.21 slices.Contains.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/other/ant.adoc

    include::sample[dir="snippets/ant/hello/groovy",files="build.gradle"]
    ====
    
    ====
    include::sample[dir="snippets/ant/hello/groovy",files="build.xml"]
    ====
    
    ----
    $ gradle hello
    include::{snippetsPath}/ant/hello/tests/antHello.out[]
    ----
    
    You can add a task that depends on an Ant target:
    
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 15:23:52 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. src/go/types/check_test.go

    	if len(filenames) == 0 {
    		t.Fatal("no source files")
    	}
    
    	// parse files
    	files, errlist := parseFiles(t, filenames, srcs, parser.AllErrors)
    	pkgName := "<no package>"
    	if len(files) > 0 {
    		pkgName = files[0].Name.Name
    	}
    	listErrors := manual && !*verifyErrors
    	if listErrors && len(errlist) > 0 {
    		t.Errorf("--- %s:", pkgName)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/doc.go

    	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)
    		...
    	}
    
    The Fset, Files, Pkg, and TypesInfo fields provide the syntax trees,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. src/go/types/generate_test.go

    	if *filesToWrite != "" && *filesToWrite != "all" {
    		files = strings.Split(*filesToWrite, ",")
    	} else {
    		for file := range filemap {
    			files = append(files, file)
    		}
    	}
    
    	for _, filename := range files {
    		generate(t, filename, write)
    	}
    }
    
    func generate(t *testing.T, filename string, write bool) {
    	// parse src (cmd/compile/internal/types2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/releases/migrating/migrating_from_ant.adoc

    You can see several examples of Gradle's file API and learn more about it in the <<working_with_files#working_with_files,Working with Files>> chapter.
    
    .On paths and filesets
    --
    Ant makes use of the concepts of path-like structures and filesets to enable users to work with collections of files and directories.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  9. src/go/internal/gcimporter/ureader.go

    // 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),
    		},
    
    		ctxt:    ctxt,
    		imports: imports,
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. src/go/internal/gcimporter/iimport.go

    		// name (name with subscript).
    		tparamIndex: make(map[ident]*types.TypeParam),
    
    		fake: fakeFileSet{
    			fset:  fset,
    			files: make(map[string]*fileInfo),
    		},
    	}
    	defer p.fake.setLines() // set lines for files in fset
    
    	for i, pt := range predeclared {
    		p.typCache[uint64(i)] = pt
    	}
    	// Special handling for "any", whose representation may be changed by the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top