Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for fileText (0.14 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/AbstractUndeclaredBuildInputsIntegrationTest.groovy

            where:
            testCase                                        | fileAccess
            "reading text with default encoding"            | (TestFile it) -> { UndeclaredFileAccess.fileText(testFilePath(it)) }
            "reading text with customized encoding"         | (TestFile it) -> { UndeclaredFileAccess.fileTextWithEncoding(testFilePath(it)) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. src/go/token/position.go

    // file already in the file set. For convenience, [FileSet.Base] provides
    // such a value, which is simply the end of the Pos interval of the most
    // recently added file, plus one. Unless there is a need to extend an
    // interval later, using the [FileSet.Base] should be used as argument
    // for [FileSet.AddFile].
    //
    // A [File] may be removed from a FileSet when it is no longer needed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  3. guava-gwt/pom.xml

                      <fileset dir="${project.build.directory}/guava-sources">
                        <contains text="@GwtCompatible"/>
                      </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">
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 15:00:55 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  4. src/go/token/position_test.go

    			}
    			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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top