Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for relativize (0.16 sec)

  1. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/SubprojectsInfo.kt

        }
    
    
        private
        fun generateSubproject(subprojectDir: File): GradleSubproject {
            return GradleSubproject(
                subprojectDir.name,
                rootPath.relativize(subprojectDir.toPath()).invariantSeparatorsPathString,
                subprojectDir.hasDescendantDir("src/test"),
                subprojectDir.hasDescendantDir("src/integTest"),
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 04 07:21:38 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

                    }
                );
        }
    
        private static URI toUri(File projectRootDir, File file, String commitId) {
            try {
                URI relativeLocation = projectRootDir.toURI().relativize(file.toURI());
                return new URI("https://github.com/gradle/gradle/blob/" + commitId + "/" + relativeLocation);
            } catch (URISyntaxException e) {
                throw new RuntimeException(e);
            }
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 15 14:00:14 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/ReactorReader.java

        private Path relativizeOutputFile(final Path outputFile) {
            Path projectBaseDirectory =
                    Paths.get(session.getRequest().getMultiModuleProjectDirectory().toURI());
            return projectBaseDirectory.relativize(outputFile);
        }
    
        /**
         * Tries to resolve the specified artifact from the artifacts of the given project.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                try (Stream<Path> paths = Files.walk(basePath)) {
                    paths.filter(path -> path.toFile().getName().endsWith(imageExtention)).forEach(path -> {
                        final Path subPath = basePath.relativize(path);
                        final String docId = subPath.toString().replace("/", StringUtil.EMPTY).replace(suffix, StringUtil.EMPTY);
                        if (!docId.startsWith("_")) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java

        /**
         * Returns a new source identified by a relative path. Implementation <strong>MUST</strong>
         * be able to accept <code>relative</code> parameter values that
         * <ul>
         * <li>use either / or \ file path separator,</li>
         * <li>have .. parent directory references,</li>
         * <li>point either at file or directory.</li>
         * </ul>
         *
         * @param relative is the path of the requested source relative to this source
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. 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();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultPathTranslator.java

                    result = file.getPath();
                } else if (file.getPath().startsWith(File.separator)) {
                    // drive-relative Windows path, don't align with project directory but with drive root
                    result = file.getAbsolutePath();
                } else {
                    // an ordinary relative path, align with project directory
                    result = basedir.resolve(path).normalize().toString();
                }
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2K bytes
    - Viewed (0)
  8. 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);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/tests/org/jetbrains/kotlin/analysis/api/fe10/test/configurator/AnalysisApiFe10TestServiceRegistrar.kt

        private const val PLUGIN_RELATIVE_PATH = "/META-INF/analysis-api/analysis-api-fe10.xml"
    
        override fun registerProjectExtensionPoints(project: MockProject, testServices: TestServices) {
            AnalysisHandlerExtension.registerExtensionPoint(project)
            PluginStructureProvider.registerProjectExtensionPoints(project, PLUGIN_RELATIVE_PATH)
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 10 16:23:23 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/GeneralRange.java

            upperEndpoint,
            upperBoundType);
      }
    
      /** Returns the whole range relative to the specified comparator. */
      static <T extends @Nullable Object> GeneralRange<T> all(Comparator<? super T> comparator) {
        return new GeneralRange<>(comparator, false, null, OPEN, false, null, OPEN);
      }
    
      /**
       * Returns everything above the endpoint relative to the specified comparator, with the specified
       * endpoint behavior.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
Back to top