Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 117 for fileText (1.08 sec)

  1. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/PmdInvoker.groovy

            ant.taskdef(name: 'pmd', classname: 'net.sourceforge.pmd.ant.PMDTask')
            ant.pmd(antPmdArgs) {
                parameters.source.addToAntBuilder(ant, 'fileset', FileCollection.AntType.FileSet)
                ruleSets.each {
                    ruleset(it)
                }
                parameters.ruleSetConfigFiles.each {
                    ruleset(it)
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  2. pkg/test/datasets/Readme.md

          },
          "Body": {}
        },
        {
          "Metadata": {
            "name": "outout-resource-2"
          },
          "Body": {}
        }
      ]
    }
    ```
    
    To add a new test data fileset:
     1. Create a new, appropriately named folder under dataset.
     2. Create the input, expected, and (optionally) the mesh config files.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  3. src/go/printer/example_test.go

    package printer_test
    
    import (
    	"bytes"
    	"fmt"
    	"go/ast"
    	"go/parser"
    	"go/printer"
    	"go/token"
    	"strings"
    )
    
    func parseFunc(filename, functionname string) (fun *ast.FuncDecl, fset *token.FileSet) {
    	fset = token.NewFileSet()
    	if file, err := parser.ParseFile(fset, filename, nil, 0); err == nil {
    		for _, d := range file.Decls {
    			if f, ok := d.(*ast.FuncDecl); ok && f.Name.Name == functionname {
    				fun = f
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 14:55:02 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  4. security/pkg/nodeagent/cache/secretcache.go

    	s.mu.Lock()
    	defer s.mu.Unlock()
    	s.workload = value
    }
    
    var _ security.SecretManager = &SecretManagerClient{}
    
    // FileCert stores a reference to a certificate on disk
    type FileCert struct {
    	ResourceName string
    	Filename     string
    }
    
    // NewSecretManagerClient creates a new SecretManagerClient.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 04 08:29:46 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AutoTestedSamplesUtil.groovy

        String includes = '**/*.groovy **/*.java'
    
        void findSamples(String dir, Closure runner) {
            def sources = findDir(dir)
            def ant = new AntBuilder()
    
            def list = ant.fileScanner {
                fileset(dir: sources, includes: includes)
            }
    
            list.each() { runSamplesFromFile(it, runner) }
        }
    
        static String findDir(String dir) {
            def workDir = SystemProperties.instance.currentDir
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectTest.groovy

            project.ant.is(project.ant)
        }
    
        def ant() {
            given:
            Closure configureClosure = { fileset(dir: 'dir', id: 'fileset') }
            when:
            project.ant(configureClosure)
            then:
            project.ant.project.getReference('fileset') instanceof FileSet
        }
    
        def createAntBuilder() {
            expect:
            project.createAntBuilder().is(testAntBuilder)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  7. apache-maven/pom.xml

                    <configuration>
                      <excludeDefaultDirectories>true</excludeDefaultDirectories>
                      <filesets>
                        <fileset>
                          <directory>${distributionTargetDir}</directory>
                        </fileset>
                      </filesets>
                    </configuration>
                  </execution>
                </executions>
              </plugin>
              <plugin>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 14:07:09 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testerrors/argposition_test.go

    type ShortPosition struct {
    	Line    int
    	Column  int
    	Visited bool
    }
    
    type IdentPositionInfo map[string][]ShortPosition
    
    type Visitor struct {
    	identPosInfo IdentPositionInfo
    	fset         *token.FileSet
    	t            *testing.T
    }
    
    func (v *Visitor) Visit(node ast.Node) ast.Visitor {
    	if ident, ok := node.(*ast.Ident); ok {
    		if expectedPositions, ok := v.identPosInfo[ident.Name]; ok {
    			gotMatch := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. src/go/types/self_test.go

    			b.Fatal(err)
    		}
    	}
    	b.StopTimer()
    	b.ReportMetric(float64(lines)*float64(b.N)/time.Since(start).Seconds(), "lines/s")
    }
    
    func pkgFiles(fset *token.FileSet, path string) ([]*ast.File, error) {
    	filenames, err := pkgFilenames(path, true) // from stdlib_test.go
    	if err != nil {
    		return nil, err
    	}
    
    	var files []*ast.File
    	for _, filename := range filenames {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 19:39:00 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. 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)
Back to top