Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 969 for realtime (0.12 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/file/PathToFileResolver.java

    import java.io.File;
    
    /**
     * Resolves some path object to a `File`. May or may not be able to resolve relative paths.
     */
    public interface PathToFileResolver {
        /**
         * Resolves the given path to a file.
         */
        File resolve(Object path);
    
        /**
         * Returns a resolver that resolves paths relative to the given base dir.
         */
        PathToFileResolver newResolver(File baseDir);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/files/file/groovy/build.gradle

    import java.nio.file.Paths
    
    // tag::simple-params[]
    // Using a relative path
    File configFile = file('src/config.xml')
    
    // Using an absolute path
    configFile = file(configFile.absolutePath)
    
    // Using a File object with a relative path
    configFile = file(new File('src/config.xml'))
    
    // Using a java.nio.file.Path object with a relative path
    configFile = file(Paths.get('src', 'config.xml'))
    
    // Using an absolute java.nio.file.Path object
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 551 bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/file/FileSystemLocationProperty.java

         * that owns this property instance.
         */
        void set(@Nullable File file);
    
        /**
         * Sets the location of this file, using a {@link File} instance. {@link File} instances with relative paths are resolved relative to the project directory of the project
         * that owns this property instance.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 12:28:22 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/vcs/VersionControlRepository.java

        /**
         * Returns the relative path to the root of the build within the repository.
         *
         * <p>Defaults to an empty relative path, meaning the root of the repository.
         *
         * @return the root directory of the build, relative to the root of this repository.
         */
        String getRootDir();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 05 16:56:23 UTC 2019
    - 2.5K bytes
    - Viewed (0)
  5. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/ApacheDirectoryListingParserTest.groovy

            "http://[2001:db8::7]" | "directory1"                 | "ipv6 host with relative URLS"
            "http://[2001:db8::7]" | "./directory1"               | "ipv6 host with explicit relative URLS"
            "http://192.0.0.10"    | "directory1"                 | "ipv4 host with relative URLS"
            "http://192.0.0.10"    | "./directory1"               | "ipv4 host with relative URLS"
        }
    
        def "parse is compatible with #repoType"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/files/file/kotlin/build.gradle.kts

    import java.nio.file.Paths
    
    // tag::simple-params[]
    // Using a relative path
    var configFile = file("src/config.xml")
    
    // Using an absolute path
    configFile = file(configFile.absolutePath)
    
    // Using a File object with a relative path
    configFile = file(File("src/config.xml"))
    
    // Using a java.nio.file.Path object with a relative path
    configFile = file(Paths.get("src", "config.xml"))
    
    // Using an absolute java.nio.file.Path object
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 546 bytes
    - Viewed (0)
  7. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/util/internal/WrapperDistributionUrlConverter.java

        /**
         * Converts the given distribution url to a URI.
         * <p>
         * If the url is relative, it is resolved against the given file root.
         * Otherwise, the URI is created from the url.
         *
         * @param distributionUrl The distribution url.
         * @param fileRoot The root directory to resolve relative urls against.
         * @return The URI.
         * @throws URISyntaxException If the url is not a valid URI.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:12:34 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/native/src/jmh/java/org/gradle/internal/nativeintegration/filesystem/FileMetadataAccessorBenchmark.java

            directory.mkdirs();
            realFile = File.createTempFile("jmh", "tmp");
            realFilePath = realFile.toPath();
    
            FileOutputStream fos = new FileOutputStream(realFile);
            fos.write(new byte[1024]);
            fos.close();
        }
    
        @TearDown
        public void tearDown() {
            directory.delete();
            realFile.delete();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. src/go/token/example_test.go

    		return
    	}
    
    	// Print the location and kind of each declaration in f.
    	for _, decl := range f.Decls {
    		// Get the filename, line, and column back via the file set.
    		// We get both the relative and absolute position.
    		// The relative position is relative to the last line directive.
    		// The absolute position is the exact position in the source.
    		pos := decl.Pos()
    		relPosition := fset.Position(pos)
    		absPosition := fset.PositionFor(pos, false)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 22:09:31 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        Manifest manifest = manifestClasspath("file:/with/absolute.jar relative.jar  relative/dir");
        assertThat(ClassPath.getClassPathFromManifest(jarFile, manifest))
            .containsExactly(
                fullpath("/with/absolute.jar"),
                fullpath("base/relative.jar"),
                fullpath("base/relative/dir"))
            .inOrder();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 26 14:02:27 UTC 2024
    - 24.9K bytes
    - Viewed (0)
Back to top