Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 487 for absolutePaths (0.26 sec)

  1. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/VirtualFileSystem.java

        /**
         * Returns the metadata stored at the absolute path if it exists.
         */
        Optional<MetadataSnapshot> findMetadata(String absolutePath);
    
        /**
         * Returns all root snapshots in the hierarchy below {@code absolutePath}.
         */
        Stream<FileSystemLocationSnapshot> findRootSnapshotsUnder(String absolutePath);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/swift/SwiftLinkerTest.groovy

            final expectedArgs = [
                    "-sys1", "-sys2",
                    "-emit-library",
                    "-o", outputFile.absolutePath,
                    testDir.file("one.o").absolutePath,
                    testDir.file("two.o").absolutePath,
                    "-arg1", "-arg2"].flatten()
    
            when:
            LinkerSpec spec = Mock(SharedLibraryLinkerSpec)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/PathUtil.java

        }
    
        public static String getFileName(String absolutePath) {
            int lastSeparator = lastIndexOfSeparator(absolutePath);
            return lastSeparator < 0
                ? absolutePath
                : absolutePath.substring(lastSeparator + 1);
        }
    
        private static int lastIndexOfSeparator(String absolutePath) {
            for (int i = absolutePath.length() - 1; i >= 0; i--) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/MerkleDirectorySnapshotBuilder.java

            this.sortingRequired = sortingRequired;
        }
    
        @Override
        public void enterDirectory(AccessType accessType, String absolutePath, String name, EmptyDirectoryHandlingStrategy emptyDirectoryHandlingStrategy) {
            directoryStack.addLast(new Directory(accessType, absolutePath, name, emptyDirectoryHandlingStrategy));
        }
    
        @Override
        public void visitLeafElement(FileSystemLeafSnapshot snapshot) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/FileHierarchySet.java

            }
    
            private static String removeTrailingSeparator(String absolutePath) {
                if (absolutePath.equals("/")) {
                    absolutePath = "";
                } else if (absolutePath.endsWith(File.separator)) {
                    absolutePath = absolutePath.substring(0, absolutePath.length() - 1);
                }
                return absolutePath;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:38 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. platforms/core-execution/build-cache-local/src/test/groovy/org/gradle/caching/local/internal/DirectoryBuildCacheTest.groovy

            when:
            cache.storeLocally(key, originalFile)
    
            then:
            1 * fileAccessTracker.markAccessed(_) >> { File file -> cachedFile = file }
            cachedFile.absolutePath.startsWith(cacheDir.absolutePath)
    
            when:
            cache.loadLocally(key, { file ->
                assert file == cachedFile
                assert file.text == "bar"
            })
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 14:32:44 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/AutoInstalledInstallationSupplierTest.groovy

            when:
            def directories = supplier.get()
    
            then:
            directoriesAsStablePaths(directories) == stablePaths([
                jdk1.absolutePath,
                jdk2.absolutePath,
                jdk3.absolutePath
            ])
            directories*.source == ["Auto-provisioned by Gradle", "Auto-provisioned by Gradle", "Auto-provisioned by Gradle"]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 23:01:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy

                    }
                }
            }
    
            if (nativeTools && !isWindows()) {
                def process = ['unzip', '-q', '-o', file.absolutePath, '-d', target.absolutePath].execute()
                process.consumeProcessOutput(System.out, System.err)
                assertThat(process.waitFor(), equalTo(0))
                return
            }
    
            def unzip = new Expand()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/RegularFileSnapshotTest.groovy

    class RegularFileSnapshotTest extends AbstractFileSystemLeafSnapshotTest {
    
        @Override
        protected FileSystemLeafSnapshot createInitialRootNode(String absolutePath, AccessType accessType) {
            return new RegularFileSnapshot(absolutePath, PathUtil.getFileName(absolutePath), TestHashCodes.hashCodeFrom(1235), DefaultFileMetadata.file(1, 2, accessType))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 13:19:32 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/GccLinkerTest.groovy

            final expectedArgs = [
                    "-sys1", "-sys2",
                    "-shared",
                    getSoNameProp("installName"),
                    "-o", outputFile.absolutePath,
                    testDir.file("one.o").absolutePath,
                    testDir.file("two.o").absolutePath,
                    "-arg1", "-arg2"].flatten()
    
            when:
            LinkerSpec spec = Mock(SharedLibraryLinkerSpec)
            spec.getSystemArgs() >> ['-sys1', '-sys2']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top