Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for toCompactString (0.18 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/vcs/internal/SourceDependencies.groovy

        TestFile checkoutDir(String repoName, String versionId, String repoId, TestFile baseDir=testDirectory) {
            def prefix = repoName.take(9)
            def hashedCommit = hashString("${repoId}-${versionId}").toCompactString()
            return baseDir.file(".gradle/vcs-1/${prefix}_${hashedCommit}/${repoName}")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheReport.kt

                    }
                    return reportFile
                }
    
                private
                fun reportHash() =
                    hashingStream.hash().toCompactString()
            }
    
            object Closed : State() {
                override fun close(): State = this
            }
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/main/java/org/gradle/language/cpp/internal/NativeDependencyCache.java

                .withInitialLockMode(FileLockManager.LockMode.OnDemand)
                .open();
        }
    
        public File getModuleMapFile(final ModuleMap moduleMap) {
            final String hash = moduleMap.getHashCode().toCompactString();
            return cache.useCache(() -> {
                File dir = new File(cache.getBaseDir(), "maps/" + hash + "/" + moduleMap.getModuleName());
                File moduleMapFile = new File(dir, "module.modulemap");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheKey.kt

        private val encryptionConfiguration: EncryptionConfiguration
    ) {
    
        val string: String by unsafeLazy {
            Hashing.md5().newHasher().apply {
                putCacheKeyComponents()
            }.hash().toCompactString()
        }
    
        override fun toString() = string
    
        override fun hashCode(): Int = string.hashCode()
    
        override fun equals(other: Any?): Boolean = (other as? ConfigurationCacheKey)?.string == string
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. platforms/software/version-control/src/main/java/org/gradle/vcs/internal/services/DefaultVersionControlRepositoryFactory.java

                            String prefix = repoName.length() <= 9 ? repoName : repoName.substring(0, 10);
                            String versionId = prefix + "_" + hashString(getUniqueId() + "-" + ref.getCanonicalId()).toCompactString();
                            File baseDir = new File(cacheAccess.getBaseDir(), versionId);
                            File workingDir = new File(baseDir, repoName);
                            GFileUtils.mkdirs(workingDir);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 18:35:55 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/InProcessGradleExecuter.java

                .map(File::toURI)
                .map(Object::toString)
                .collect(Collectors.joining(" "));
            File cpJar = new File(getDefaultTmpDir(), "daemon-classpath-manifest-" + hashString(cpString).toCompactString() + ".jar");
            if (!cpJar.isFile()) {
                // Make sure the parent exists or the jar creation might fail
                cpJar.getParentFile().mkdirs();
                Manifest manifest = new Manifest();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 37.1K bytes
    - Viewed (0)
Back to top