- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for HashString (0.13 sec)
-
maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java
return super.hashCode(); } StringBuilder hashString = new StringBuilder(128); hashString.append(md.groupId).append('|'); hashString.append(md.artifactId).append('|'); if (compareVersion) { hashString.append(md.version).append('|'); } if (compareScope) { hashString.append(md.getArtifactScope()).append('|'); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 11:28:54 UTC 2023 - 5.3K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/CompilerOutputFileNamingScheme.java
package org.gradle.nativeplatform.internal; import org.apache.commons.io.FilenameUtils; import org.gradle.internal.file.RelativeFilePathResolver; import java.io.File; import static org.gradle.internal.hash.Hashing.hashString; public class CompilerOutputFileNamingScheme { private String objectFileNameSuffix; private File outputBaseFolder; private final RelativeFilePathResolver fileResolver;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-execution/hashing/src/test/groovy/org/gradle/internal/hash/HashingTest.groovy
} def 'hasher can be used from multiple threads'() { given: def threadRange = 1..100 when: def hashes = threadRange.collect { supplyAsync({ Hashing.hashString(currentThread().name) }, newFixedThreadPool(threadRange.size())) }*.join().toSet() then: hashes.size() == threadRange.size() } def 'null does not collide with other values'() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:43:29 UTC 2023 - 3.3K bytes - Viewed (0) -
cmd/xl-storage-format-utils.go
for k, v := range m { // Separate key and value with an individual xor with a random number. // Add values of each, so they cannot be trivially collided. crc ^= (xxh3.HashString(k) ^ 0x4ee3bbaf7ab2506b) + (xxh3.HashString(v) ^ 0x8da4c8da66194257) } return crc } // hashDeterministicBytes will return a deterministic (weak) hash for the map values.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 22:18:44 UTC 2024 - 5.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/vcs/internal/SourceDependencies.groovy
import org.gradle.test.fixtures.file.TestFile import static org.gradle.internal.hash.Hashing.hashString @SelfType(AbstractIntegrationSpec) trait SourceDependencies { TestFile checkoutDir(String repoName, String versionId, String repoId, TestFile baseDir=testDirectory) { def prefix = repoName.take(9) def hashedCommit = hashString("${repoId}-${versionId}").toCompactString()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.2K bytes - Viewed (0) -
platforms/core-execution/hashing/src/test/groovy/org/gradle/internal/hash/HashCodeTest.groovy
thrown Exception } def "can create compact string representation"() { expect: Hashing.md5().hashString("").toCompactString() == "ck2u8j60r58fu0sgyxrigm3cu" Hashing.md5().hashString("a").toCompactString() == "r6p51cluyxfm1x21kf967yw1" Hashing.md5().hashString("i").toCompactString() == "7ycx034q3zbhupl01mv32dx6p" } def "can create zero-padded hex representation"() { expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:43:29 UTC 2023 - 8.2K bytes - Viewed (0) -
internal/logger/logger.go
Source: trace, Variables: tags, } } else { entry.Message = message } if anonFlag { entry.API.Args.Bucket = HashString(entry.API.Args.Bucket) entry.API.Args.Object = HashString(entry.API.Args.Object) entry.RemoteHost = HashString(entry.RemoteHost) if entry.Trace != nil { entry.Trace.Variables = make(map[string]interface{}) } } return entry }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 12.4K bytes - Viewed (0) -
platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashing.java
return DEFAULT.hashBytes(bytes); } /** * Hash the given string with the default hash function. */ public static HashCode hashString(CharSequence string) { return DEFAULT.hashString(string); } /** * Hash the contents of the given {@link java.io.InputStream} with the default hash function. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:30 UTC 2024 - 12.3K bytes - Viewed (0) -
platforms/software/version-control/src/main/java/org/gradle/vcs/internal/services/DefaultVersionControlRepositoryFactory.java
import java.util.Set; import java.util.function.Supplier; import static org.gradle.api.internal.cache.CacheConfigurationsInternal.DEFAULT_MAX_AGE_IN_DAYS_FOR_CREATED_CACHE_ENTRIES; import static org.gradle.internal.hash.Hashing.hashString; import static org.gradle.internal.time.TimestampSuppliers.daysAgo; public class DefaultVersionControlRepositoryFactory implements VersionControlRepositoryConnectionFactory, Stoppable {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 18:35:55 UTC 2024 - 6.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/local/LazyLocallyAvailableResourceCandidatesTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.7K bytes - Viewed (0)