Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 39 for fileText (0.49 sec)

  1. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileTreeTest.groovy

            testDir == fileTree.dir
        }
    
        def testFileSetConstructionWithNoBaseDirSpecified() {
            DefaultConfigurableFileTree fileSet = new DefaultConfigurableFileTree(fileResolverStub, listener, TestFiles.patternSetFactory, taskDependencyFactory, directoryFileTreeFactory())
    
            when:
            fileSet.contains(new File('unknown'))
            then:
            thrown(InvalidUserDataException)
        }
    
        def testCanVisitStructure() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  2. 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)
  3. maven-core/src/test/resources-project-builder/foo/sub/pom.xml

                </goals>
              </execution>
    
              <execution>
                <id>archetype-test-fileset</id>
                <phase>process-test-resources</phase>
                <configuration>
                  <tasks>
                    <property name="test.projects.name" value="fileset" />
                    <property name="test.projects.version" value="1.0" />
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 08:59:31 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  4. src/debug/macho/file_test.go

    package macho
    
    import (
    	"bytes"
    	"internal/obscuretestdata"
    	"io"
    	"reflect"
    	"testing"
    )
    
    type fileTest struct {
    	file        string
    	hdr         FileHeader
    	loads       []any
    	sections    []*SectionHeader
    	relocations map[string][]Reloc
    }
    
    var fileTests = []fileTest{
    	{
    		"testdata/gcc-386-darwin-exec.base64",
    		FileHeader{0xfeedface, Cpu386, 0x3, 0x2, 0xc, 0x3c0, 0x85},
    		[]any{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 12.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top