Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of about 10,000 for FILE (0.08 sec)

  1. 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)
  2. 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)
  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. 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)
  6. platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/artifact/IvyArtifactNotationParserFactoryTest.groovy

            ivyArtifact.file == publishArtifact.file
            ivyArtifact.buildDependencies.getDependencies(task) == dependencies
        }
    
        def "creates IvyArtifact for source map notation with file"() {
            given:
            File file = new File('some-file-1.2.zip')
    
            when:
            def ivyArtifact = parser.parseNotation(source: 'some-file')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  7. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoAggregationIntegrationTest.groovy

            then:
            file("transitive/build/jacoco/test.exec").assertExists()
            file("transitive/build/jacoco/integTest.exec").assertExists()
            file("direct/build/jacoco/test.exec").assertExists()
            file("direct/build/jacoco/integTest.exec").assertDoesNotExist()
            file("application/build/jacoco/test.exec").assertExists()
            file("application/build/jacoco/integTest.exec").assertExists()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 26.3K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/tutorial/antLoadfileWithMethod/kotlin/build.gradle.kts

                }
                println("I'm fond of ${file.name}")
            }
        }
    }
    
    fun fileList(dir: String): List<File> =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 723 bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top