Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of about 10,000 for FILE (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/jvm/JvmTest.groovy

            jvm.jdk
            jvm.toolsJar == software.file('jdk/lib/tools.jar')
            jvm.javaExecutable == software.file('jdk/bin/java.exe')
            jvm.javacExecutable == software.file('jdk/bin/javac.exe')
            jvm.javadocExecutable == software.file('jdk/bin/javadoc.exe')
            jvm.jre == software.file('jdk/jre')
            jvm.embeddedJre == software.file("jdk/jre")
            jvm.standaloneJre == null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInBuildScriptIntegrationTest.groovy

            runtimeExec().kotlin        | "buildSrc/settings.gradle.kts" | "Settings file 'buildSrc/settings.gradle.kts'"
        }
    
        def "using #snippetsFactory.summary in settings file #file is a problem"() {
            given:
            def snippets = snippetsFactory.newSnippets(execOperationsFixture)
            testDirectory.file(file) << """
                ${snippets.imports}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/file/FileTreeElement.java

        void copyTo(OutputStream output);
    
        /**
         * Copies this file to the given target file. Does not copy the file if the target is already a copy of this file.
         *
         * @param target the target file.
         * @return true if this file was copied, false if it was up-to-date
         */
        boolean copyTo(File target);
    
        /**
         * Returns the base name of this file.
         *
         * @return The name. Never returns null.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 13:43:13 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

      }
    
      private static File fullpath(String path) {
        return new File(new File(path).toURI());
      }
    
      private static URL makeJarUrlWithName(String name) throws IOException {
        /*
         * TODO: cpovirk - Use java.nio.file.Files.createTempDirectory instead of
         * c.g.c.io.Files.createTempDir?
         */
        File fullPath = new File(Files.createTempDir(), name);
        File jarFile = pickAnyJarFile();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 26 14:02:27 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  9. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/AbstractFileSystemAccessTest.groovy

            assert snapshot.absolutePath == file.absolutePath
            assert snapshot.name == file.name
            assert snapshot.type == FileType.RegularFile
            assert snapshot.hash == hashFile(file)
        }
    
        void assertIsMissingFileSnapshot(FileSystemLocationSnapshot snapshot, File file) {
            assert snapshot.absolutePath == file.absolutePath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:55 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/file/DefaultFileOperationsTest.groovy

            when:
            TestFile file = expectPathResolved('path')
    
            then:
            fileOperations.file('path') == file
        }
    
        def resolvesFileWithValidation() {
            TestFile file = tmpDir.file('path')
            resolver.resolve('path', PathValidation.EXISTS) >> file
    
            expect:
            fileOperations.file('path', PathValidation.EXISTS) == file
        }
    
        def resolvesURI() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 15:15:04 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top