Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 59 for fileText (1.57 sec)

  1. 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)
  2. 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)
  3. 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)
  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/go/types/example_test.go

    package fib
    
    type S string
    
    var a, b, c = len(b), S(c), "hello"
    
    func fib(x int) int {
    	if x < 2 {
    		return x
    	}
    	return fib(x-1) - fib(x-2)
    }`
    	// We need a specific fileset in this test below for positions.
    	// Cannot use typecheck helper.
    	fset := token.NewFileSet()
    	f := mustParse(fset, input)
    
    	// Type-check the package.
    	// We create an empty map for each kind of input
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. 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)
  10. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals("target", pom.getValue("build/plugins[1]/configuration/domParam/copy/fileset/@dir"));
            assertNull(pom.getValue("build/plugins[1]/configuration/domParam/copy/fileset/@todir"));
            assertNull(pom.getValue("build/plugins[1]/configuration/domParam/copy/fileset/@overwrite"));
        }
    
        /** MNG-4053*/
        @Test
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 93.2K bytes
    - Viewed (0)
Back to top