Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of about 10,000 for FILE (0.07 sec)

  1. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/mutator/ClearArtifactTransformCacheWithoutInstrumentedJarsMutatorTest.groovy

            createFile(new File(cachesDir, "8.7-rc-4/transforms/first/metadata.bin"))
            createFile(new File(cachesDir, "8.7-rc-4/transforms/first/transformed/instrumented/file"))
            createFile(new File(cachesDir, "8.7-rc-4/transforms/second/transformed/original/file"))
            createFile(new File(cachesDir, "8.8/transforms/first/transformed/instrumented/file"))
            createFile(new File(cachesDir, "8.8/transforms/first/transformed/original/file"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 12:30:06 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/AbstractFileCollectionTest.groovy

            File file = new File("f1")
            TestFileCollection collection = new TestFileCollection(file)
    
            expect:
            collection as Collection == toList(file)
            collection as Set == toLinkedSet(file)
            collection as List == toList(file)
        }
    
        void toFileTreeReturnsSingletonTreeForEachFileInCollection() {
            File file = testDir.createFile("f1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Files.java

       *
       * <p><b>Warning:</b> If {@code to} represents an existing file, that file will be overwritten
       * with the contents of {@code from}. If {@code to} and {@code from} refer to the <i>same</i>
       * file, the contents of that file will be deleted.
       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link
       * java.nio.file.Files#copy(java.nio.file.Path, java.nio.file.Path, java.nio.file.CopyOption...)}.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/parsing/RejectedLanguageFeaturesParsingTest.kt

                    erroneousSource = indexes: 13..14, line/column: 1/14..1/15, file: test
                )
                UnsupportedConstruct(
                    languageFeature = StarImport,
                    potentialElementSource = indexes: 15..25, line/column: 2/1..2/11, file: test,
                    erroneousSource = indexes: 24..25, line/column: 2/10..2/11, file: test
                )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:53:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/tutorial/antLoadfileWithMethod/groovy/build.gradle

        doLast {
            fileList('./antLoadfileResources').each { File file ->
                ant.checksum(file: file, property: "cs_$file.name")
                println "$file.name Checksum: ${ant.properties["cs_$file.name"]}"
            }
        }
    }
    
    tasks.register('loadfile') {
        doLast {
            fileList('./antLoadfileResources').each { File file ->
                ant.loadfile(srcFile: file, property: file.name)
                println "I'm fond of $file.name"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 599 bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/internal/fingerprint/impl/AbsolutePathFileCollectionFingerprinterTest.groovy

            given:
            TestFile file = tmpDir.createFile('file')
            file.setLastModified(1234L)
    
            when:
            FileCollectionFingerprint fingerprint = fingerprinter.fingerprint(files(file))
            virtualFileSystem.invalidateAll()
            changes(fingerprint, fingerprinter.fingerprint(files(file)), listener)
            file.setLastModified(45600L)
            virtualFileSystem.invalidateAll()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 20 16:00:23 UTC 2022
    - 9.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/GenericFileSystem.java

        }
    
        private File createFile(String content) throws IOException {
            File file = temporaryFileProvider.createTemporaryFile("gradle_fs_probing", null);
            Files.asCharSink(file, Charsets.UTF_8).write(content);
            return file;
        }
    
        private boolean probeCaseSensitive(File file, String content) {
            try {
                File upperCased = new File(file.getPath().toUpperCase(Locale.ROOT));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:39 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/FilesTest.java

      }
    
      public void testCreateParentDirs_noParentsNeeded() throws IOException {
        File file = file(getTempDir(), "nonexistent.file");
        assertTrue(file.getParentFile().exists());
        Files.createParentDirs(file);
      }
    
      public void testCreateParentDirs_oneParentNeeded() throws IOException {
        File file = file(getTempDir(), "parent", "nonexistent.file");
        File parent = file.getParentFile();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy

            where:
            scenario | content
            "archive of other format"   | { td -> td.file('content/some-file.txt').text = "Content"; td.file('content').tarTo(td.file('compressedTarWithWrongExtension.zip')) }
            "random file"               | { td -> td.file('compressedZipWithWrongExtension.tar').text = "MamboJumbo" }
        }
    
        def "tarTreeFailsGracefully when #scenario"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/file/BaseDirFileResolverSpec.groovy

        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        def "normalizes path when ancestor is an absolute link"() {
            def target = createFile(new File(tmpDir.testDirectory, 'target/file.txt'))
            def file = new File(tmpDir.testDirectory, 'a/b/file.txt')
            createLink(file.parentFile, target.parentFile)
            assert file.exists() && file.file
    
            expect:
            normalize(file) == file
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top