Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 163 for tophash (0.12 sec)

  1. platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/local/internal/DirectoryBuildCacheCleanupIntegrationTest.groovy

            return "Build cache"
        }
    
        @Override
        void createBuildCacheEntry(String key, File value, long timestamp) {
            File cacheFile = cacheDir.file(key)
            Files.copy(value.toPath(), cacheFile.toPath())
            writeLastFileAccessTimeToJournal(cacheFile, timestamp)
        }
    
        @Override
        boolean existsBuildCacheEntry(String key) {
            cacheDir.file(key).exists()
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/UnixDerivativeSymlinkDeleterTest.groovy

    class UnixDerivativeSymlinkDeleterTest extends AbstractSymlinkDeleterTest {
        @Override
        protected void createSymbolicLink(File link, TestFile target) {
            Files.createSymbolicLink(link.toPath(), target.toPath())
        }
    
        @Override
        protected boolean canCreateSymbolicLinkToFile() {
            return true
        }
    
        @Override
        protected boolean canCreateSymbolicLinkToDirectory() {
            return true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/AbstractReadOnlyCacheDependencyResolutionTest.groovy

            roCacheDir = temporaryFolder.createDir("read-only-cache")
            def cachePath = roCacheDir.toPath()
            doCopy(metadataCacheDir, cachePath, CacheLayout.MODULES)
    
            roCacheDir
        }
    
        private void doCopy(File cacheDir, Path cachePath, CacheLayout entry) {
            if (cacheDir.exists()) {
                Files.move(cacheDir.toPath(), cachePath.resolve(entry.key))
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/nio/PosixJdk7FilePermissionHandler.java

            final PosixFileAttributes posixFileAttributes = Files.readAttributes(file.toPath(), PosixFileAttributes.class);
            return convertToInt(posixFileAttributes.permissions());
        }
    
        @Override
        public void chmod(File f, int mode) throws IOException {
            PosixFileAttributeView fileAttributeView = Files.getFileAttributeView(f.toPath(), PosixFileAttributeView.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/PostPath.kt

    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.RequestBody.Companion.asRequestBody
    import okio.Path.Companion.toPath
    import okio.buffer
    import okio.fakefilesystem.FakeFileSystem
    
    class PostPath {
      private val client = OkHttpClient()
      private val fileSystem = FakeFileSystem()
      val path = "test.json".toPath()
    
      fun run() {
        fileSystem.write(path) {
          writeUtf8("{}")
        }
    
        val request =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

        @Override
        public Path getPath() {
            return path;
        }
    
        public void merge(File existing, File result) throws RepositoryException {
            merge(existing != null ? existing.toPath() : null, result != null ? result.toPath() : null);
        }
    
        @Override
        public void merge(Path existing, Path result) throws RepositoryException {
            Metadata recessive = read(existing);
    
            merge(recessive);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/install/SecureFileDownloader.java

        private void moveFile(File targetFile, File downloadFile) throws IOException {
            try {
                Files.move(downloadFile.toPath(), targetFile.toPath(), StandardCopyOption.ATOMIC_MOVE);
            } catch (AtomicMoveNotSupportedException e) {
                Files.move(downloadFile.toPath(), targetFile.toPath(), StandardCopyOption.REPLACE_EXISTING);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 28 16:17:59 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/validation/MavenPublicationErrorChecker.java

                switch (diff) {
                    case FILE: {
                        Path expectedFile = buildDir.relativize(expected.getFile().toPath());
                        Path actualFile = buildDir.relativize(actual.getFile().toPath());
                        return "\t- file differs (relative to " + projectDisplayName + "): (expected) " + expectedFile + " != (actual) " + actualFile;
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 06:46:01 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/dra/state/checkpoint.go

    		})
    	}
    	oldcheckpoint := &DRAManagerCheckpointWithoutResourceHandles{
    		Version:  checkpointVersion,
    		Entries:  entries,
    		Checksum: 0,
    	}
    	// Calculate checksum for old checkpoint
    	object := dump.ForHash(oldcheckpoint)
    	object = strings.Replace(object, "DRAManagerCheckpointWithoutResourceHandles", "DRAManagerCheckpoint", 1)
    	object = strings.Replace(object, "ClaimInfoStateListWithoutResourceHandles", "ClaimInfoStateList", 1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 15:23:10 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. testing/smoke-ide-test/src/smokeIdeTest/groovy/org/gradle/ide/sync/AbstractIdeaSyncTest.groovy

         * The IDE distribution is automatically downloaded if required.
         */
        protected void ideaSync(String version) {
            def gradleDist = distribution.gradleHomeDir.toPath()
            def ide = "ic-$version"
            runIdeStarterWith(gradleDist, testDirectory.toPath(), ideHome, ide)
        }
    
        protected TestFile getTestDirectory() {
            temporaryFolder.testDirectory
        }
    
        protected TestFile file(Object... path) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:28:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top