Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for fileset (0.51 sec)

  1. src/go/token/position.go

    func (s *FileSet) RemoveFile(file *File) {
    	s.last.CompareAndSwap(file, nil) // clear last file cache
    
    	s.mutex.Lock()
    	defer s.mutex.Unlock()
    
    	if i := searchFiles(s.files, file.base); i >= 0 && s.files[i] == file {
    		last := &s.files[len(s.files)-1]
    		s.files = append(s.files[:i], s.files[i+1:]...)
    		*last = nil // don't prolong lifetime when popping last element
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. guava-gwt/pom.xml

                      </fileset>
                    </copy>
                    <!-- The following don't contain @GwtCompatible for dependency reasons. -->
                    <copy toDir="${project.build.directory}/guava-gwt-sources">
                      <fileset dir="${project.build.directory}/guava-sources">
                        <include name="**/ListenableFuture.java" />
                      </fileset>
                    </copy>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 15:00:55 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  3. src/go/token/position_test.go

    				t.Errorf("got filename = %s; want %s", f.Name(), tests[j].filename)
    			}
    			j++
    			return true
    		})
    		if j != i+1 {
    			t.Errorf("got %d files; want %d", j, i+1)
    		}
    	}
    }
    
    // FileSet.File should return nil if Pos is past the end of the FileSet.
    func TestFileSetPastEnd(t *testing.T) {
    	fset := NewFileSet()
    	for _, test := range tests {
    		fset.AddFile(test.filename, fset.Base(), test.size)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/GroovyJavaJointIncrementalCompilationIntegrationTest.groovy

        }
    
        void applyGroovyFileSet(List<String> fileSet) {
            file('src/main/groovy').forceDeleteDir()
            fileSet.each {
                file("src/main/groovy/${it.replace('.changed', '').replace('.failure', '') + (it.startsWith('J') ? '.java' : '.groovy')}").text = SOURCES[it]
            }
        }
    
        void applyMixFileSet(List<String> fileSet) {
            file('src/main/groovy').forceDeleteDir()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  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. 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)
  9. 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)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go

    		}
    	}
    
    	exportFacts = func(cfg *Config, data []byte) error {
    		return os.WriteFile(cfg.VetxOutput, data, 0666)
    	}
    )
    
    func run(fset *token.FileSet, cfg *Config, analyzers []*analysis.Analyzer) ([]result, error) {
    	// Load, parse, typecheck.
    	var files []*ast.File
    	for _, name := range cfg.GoFiles {
    		f, err := parser.ParseFile(fset, name, nil, parser.ParseComments)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top