Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 254 for fileset (0.12 sec)

  1. platforms/documentation/docs/src/snippets/ant/useAntType/groovy/build.gradle

    tasks.register('list') {
        doLast {
            def path = ant.path {
                fileset(dir: 'libs', includes: '*.jar')
            }
            path.list().each {
                println it
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 198 bytes
    - Viewed (0)
  2. src/go/types/format.go

    // This file implements (error and trace) message formatting support.
    
    package types
    
    import (
    	"bytes"
    	"fmt"
    	"go/ast"
    	"go/token"
    	"strconv"
    	"strings"
    )
    
    func sprintf(fset *token.FileSet, qf Qualifier, tpSubscripts bool, format string, args ...any) string {
    	for i, arg := range args {
    		switch a := arg.(type) {
    		case nil:
    			arg = "<nil>"
    		case operand:
    			panic("got operand instead of *operand")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/cmd/gofmt/gofmt.go

    		return err
    	}
    
    	fileSet := token.NewFileSet()
    	// If we are formatting stdin, we accept a program fragment in lieu of a
    	// complete source file.
    	fragmentOk := info == nil
    	file, sourceAdj, indentAdj, err := parse(fileSet, filename, src, fragmentOk)
    	if err != nil {
    		return err
    	}
    
    	if rewrite != nil {
    		if sourceAdj == nil {
    			file = rewrite(fileSet, file)
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. src/go/ast/import.go

    	"slices"
    	"strconv"
    )
    
    // SortImports sorts runs of consecutive import lines in import blocks in f.
    // It also removes duplicate imports when it is possible to do so without data loss.
    func SortImports(fset *token.FileSet, f *File) {
    	for _, d := range f.Decls {
    		d, ok := d.(*GenDecl)
    		if !ok || d.Tok != token.IMPORT {
    			// Not an import declaration, so we're done.
    			// Imports are always first.
    			break
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/CodeNarcInvoker.groovy

                                option(name: 'outputFile', value: r.outputLocation.asFile.get())
                            }
                        }
                    }
    
                    source.addToAntBuilder(ant, 'fileset', FileCollection.AntType.FileSet)
    
                    if (!compilationClasspath.empty) {
                        compilationClasspath.addToAntBuilder(ant, 'classpath')
                    }
                }
            } catch (Exception e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 14:00:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. module.xml

    	<target name="remove.jars" if="with.fess">
    		<delete>
    			<fileset dir="${modules.dir}">
    				<include name="lang-expression/asm-*" />
    				<include name="lang-painless/asm-*" />
    				<include name="reindex/commons-codec-*" />
    				<include name="reindex/commons-logging-*" />
    				<include name="reindex/httpclient-*" />
    				<include name="reindex/httpcore-4*" />
    			</fileset>
    		</delete>
    	</target>
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 16 07:10:50 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/internal/analysisutil/util.go

    	"golang.org/x/tools/go/analysis"
    	"golang.org/x/tools/internal/aliases"
    	"golang.org/x/tools/internal/analysisinternal"
    )
    
    // Format returns a string representation of the expression.
    func Format(fset *token.FileSet, x ast.Expr) string {
    	var b bytes.Buffer
    	printer.Fprint(&b, fset, x)
    	return b.String()
    }
    
    // HasSideEffects reports whether evaluation of e has side effects.
    func HasSideEffects(info *types.Info, e ast.Expr) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/imports.go

    func DeleteImport(fset *token.FileSet, f *ast.File, path string) (deleted bool) {
    	return DeleteNamedImport(fset, f, "", path)
    }
    
    // DeleteNamedImport deletes the import with the given name and path from the file f, if present.
    // If there are duplicate import declarations, all matching ones are deleted.
    func DeleteNamedImport(fset *token.FileSet, f *ast.File, name, path string) (deleted bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 21:56:21 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AntFileSetBuilder.java

            for (final DirectoryTree tree : trees) {
                if (!tree.getDir().exists()) {
                    continue;
                }
    
                dynamicObject.invokeMethod(nodeName == null ? "fileset" : nodeName, Collections.singletonMap("dir", AntUtil.maskFilename(tree.getDir().getAbsolutePath())), new Closure<Void>(this) {
                    public Object doCall(Object ignore) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/CheckstyleInvoker.groovy

                        maxErrors: maxErrors, maxWarnings: maxWarnings, failureProperty: FAILURE_PROPERTY_NAME) {
    
                    source.addToAntBuilder(ant, 'fileset', FileCollection.AntType.FileSet)
    
                    if (showViolations) {
                        formatter(type: 'plain', useFile: false)
                    }
    
                    if (isXmlRequired || isHtmlRequired) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 16 22:34:07 UTC 2023
    - 9.2K bytes
    - Viewed (0)
Back to top