- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 948 for relativeTo (0.16 sec)
-
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelGroovyScalarConfigurationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 19.7K bytes - Viewed (0) -
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) -
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) -
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) -
.teamcity/src/main/kotlin/configurations/GitHubMergeQueueCheckPass.kt
import jetbrains.buildServer.configs.kotlin.CheckoutMode import jetbrains.buildServer.configs.kotlin.DslContext import jetbrains.buildServer.configs.kotlin.FailureAction import jetbrains.buildServer.configs.kotlin.RelativeId import jetbrains.buildServer.configs.kotlin.triggers.VcsTrigger import jetbrains.buildServer.configs.kotlin.triggers.vcs import model.CIBuildModel import model.StageName
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 23 05:43:32 UTC 2024 - 1.5K bytes - Viewed (0) -
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) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/PathSource.java
public String getLocation() { return location; } @Override public Source resolve(String relative) { return new PathSource(path.resolve(relative)); } @Override public ModelSource resolve(ModelLocator locator, String relative) { String norm = relative.replace('\\', File.separatorChar).replace('/', File.separatorChar); Path path = getPath().getParent().resolve(norm);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 02 15:10:38 UTC 2024 - 2.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/env_write.txt
[GOOS:windows] ! go env -w CC=bin\clang [GOOS:windows] stderr 'go: CC entry is relative; must be absolute path' # go env -w rejects relative CXX values [!GOOS:windows] go env -w CC=/usr/bin/cpp go env -w CXX=cpp [!GOOS:windows] ! go env -w CXX=./cpp [!GOOS:windows] ! go env -w CXX=bin/cpp [!GOOS:windows] stderr 'go: CXX entry is relative; must be absolute path' [GOOS:windows] go env -w CXX=$WORK\bin\cpp [GOOS:windows] ! go env -w CXX=.\cpp
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 18:42:31 UTC 2024 - 5.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
/** * A path translator that resolves relative paths against a specific base directory. * */ public class BasedirBeanConfigurationPathTranslator implements BeanConfigurationPathTranslator { private final File basedir; /** * Creates a new path translator using the specified base directory. * * @param basedir The base directory to resolve relative paths against, may be {@code null} to disable path
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 2.1K bytes - Viewed (0) -
src/cmd/go/internal/workcmd/use.go
// go.work file located in directory workDir. // // If dir is relative, it is interpreted relative to base.Cwd() // and its canonical form is relative to workDir if possible. // If dir is absolute or cannot be made relative to workDir, // its canonical form is absolute. // // Canonical absolute paths are clean. // Canonical relative paths are clean and slash-separated.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jun 03 21:13:11 UTC 2023 - 7K bytes - Viewed (0)