Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 8,738 for FILE (0.05 sec)

  1. maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

        }
    
        public File createFile(File dir, String filename, String contents, String encoding) throws IOException {
            File file = new File(dir, filename);
    
            file.getParentFile().mkdirs();
    
            FileUtils.fileWrite(file.getPath(), encoding, contents);
    
            markForDeletion(file);
    
            return file;
        }
    
        public String getFileContents(File file, String encoding) throws IOException {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. 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)
  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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/ProcessInstrumentationInStaticGroovyIntegrationTest.groovy

                ProcessGroovyMethodsExecute.execute(["some", "string"])
                ProcessGroovyMethodsExecute.execute(["some", "string"], ["array"] as String[], file("test"))
                ProcessGroovyMethodsExecute.execute(["some", "string"], ["array"], file("test"))
    
                execute("some string")
                execute("some string", ["array"] as String[], file("test"))
                execute("some string", ["array"], file("test"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/main/java/org/gradle/util/GFileUtils.java

         * @param file to read
         * @return content of the file or the problem description in case file cannot be read.
         */
        public static String readFileQuietly(File file) {
            try {
                return readFile(file);
            } catch (Exception e) {
                return "Unable to read file '" + file + "' due to: " + e.toString();
            }
        }
    
        public static void writeFile(String content, File destination) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

            given:
            def dir = testDir.file("thing.dir")
            classesDir(dir)
            def file = testDir.file("thing.jar")
            jar(file)
            def dir2 = testDir.file("thing2.dir")
            classesDir(dir2)
            def file2 = testDir.file("thing2.jar")
            jar(file2)
            def dir3 = testDir.file("thing3.dir")
            classesDir(dir3)
            def file3 = testDir.file("thing3.jar")
            jar(file3)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top