Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for fileText (0.34 sec)

  1. 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)
  2. 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)
  3. src/debug/pe/file_test.go

    	"path/filepath"
    	"reflect"
    	"regexp"
    	"runtime"
    	"strconv"
    	"testing"
    	"text/template"
    )
    
    type fileTest struct {
    	file           string
    	hdr            FileHeader
    	opthdr         any
    	sections       []*SectionHeader
    	symbols        []*Symbol
    	hasNoDwarfInfo bool
    }
    
    var fileTests = []fileTest{
    	{
    		file: "testdata/gcc-386-mingw-obj",
    		hdr:  FileHeader{0x014c, 0x000c, 0x0, 0x64a, 0x1e, 0x0, 0x104},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 01 02:25:16 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  4. cmd/sftp-server-driver.go

    // - sftp.Filelist
    // - sftp.Filecmd
    func NewSFTPDriver(perms *ssh.Permissions) sftp.Handlers {
    	handler := &sftpDriver{endpoint: fmt.Sprintf("127.0.0.1:%s", globalMinioPort), permissions: perms}
    	return sftp.Handlers{
    		FileGet:  handler,
    		FilePut:  handler,
    		FileCmd:  handler,
    		FileList: handler,
    	}
    }
    
    func (f *sftpDriver) getMinIOClient() (*minio.Client, error) {
    	mcreds := credentials.NewStaticV4(
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/go/internal/modindex/build.go

    var dummyPkg build.Package
    
    // fileInfo records information learned about a file included in a build.
    type fileInfo struct {
    	name       string // full name including dir
    	header     []byte
    	fset       *token.FileSet
    	parsed     *ast.File
    	parseErr   error
    	imports    []fileImport
    	embeds     []fileEmbed
    	directives []build.Directive
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 17:39:23 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top