- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for HashString (0.1 sec)
-
compat/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: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java
@SuppressWarnings("deprecation") private void assertStringHash(int expected, String string, Charset charset) { if (allBmp(string)) { assertHash(expected, murmur3_32().hashString(string, charset)); } assertHash(expected, murmur3_32_fixed().hashString(string, charset)); assertHash(expected, murmur3_32().newHasher().putString(string, charset).hash());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:29:46 UTC 2024 - 8.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashCodeTest.java
public void testHashCode_equalsAndSerializable() throws Exception { sanityTester().testEqualsAndSerializable(); } public void testRoundTripHashCodeUsingBaseEncoding() { HashCode hash1 = Hashing.sha1().hashString("foo", US_ASCII); HashCode hash2 = HashCode.fromBytes(BaseEncoding.base16().lowerCase().decode(hash1.toString())); assertEquals(hash1, hash2); } public void testObjectHashCode() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 13.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
public void testHashCode_equalsAndSerializable() throws Exception { sanityTester().testEqualsAndSerializable(); } public void testRoundTripHashCodeUsingBaseEncoding() { HashCode hash1 = Hashing.sha1().hashString("foo", US_ASCII); HashCode hash2 = HashCode.fromBytes(BaseEncoding.base16().lowerCase().decode(hash1.toString())); assertEquals(hash1, hash2); } public void testObjectHashCode() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 13.1K bytes - Viewed (0) -
cmd/bucket-lifecycle.go
return xxh3.HashString(f.TransitionedObject.Tier + f.TransitionedObject.Name) } func (n newerNoncurrentTask) OpHash() uint64 { return xxh3.HashString(n.bucket + n.versions[0].ObjectV.ObjectName) } func (j jentry) OpHash() uint64 { return xxh3.HashString(j.TierName + j.ObjName) } func (e expiryTask) OpHash() uint64 { return xxh3.HashString(e.objInfo.Bucket + e.objInfo.Name) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Oct 23 15:35:37 UTC 2024 - 33.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
} @Benchmark int hashUtf8(int reps) { int res = 0; for (int i = 0; i < reps; i++) { res += System.identityHashCode( hashFunctionEnum.getHashFunction().hashString(strings[i & SAMPLE_MASK], UTF_8)); } return res; } @Benchmark int hashUtf8Hasher(int reps) { int res = 0; for (int i = 0; i < reps; i++) { res +=
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 5.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
} @Benchmark int hashUtf8(int reps) { int res = 0; for (int i = 0; i < reps; i++) { res += System.identityHashCode( hashFunctionEnum.getHashFunction().hashString(strings[i & SAMPLE_MASK], UTF_8)); } return res; } @Benchmark int hashUtf8Hasher(int reps) { int res = 0; for (int i = 0; i < reps; i++) { res +=
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 5.2K bytes - Viewed (0) -
cmd/bootstrap-peer-server.go
// differently on each nodes, update skipEnvs() // map if there are such environment values if _, ok := skipEnvs[envK]; ok { continue } envValues[envK] = logger.HashString(env.Get(envK, "")) } scfg := &ServerSystemConfig{NEndpoints: globalEndpoints.NEndpoints(), MinioEnv: envValues, Checksum: binaryChecksum} var cmdLines []string for _, ep := range globalEndpoints {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 8.4K bytes - Viewed (0) -
cmd/admin-handlers.go
// We XOR, so order doesn't matter. for _, v := range c.DNSNames { check ^= xxh3.HashString(v) } for _, v := range c.EmailAddresses { check ^= xxh3.HashString(v) } for _, v := range c.IPAddresses { check ^= xxh3.HashString(v.String()) } for _, v := range c.URIs { check ^= xxh3.HashString(v.String()) } tlsInfo.Certs = append(tlsInfo.Certs, madmin.TLSCert{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 11:32:32 UTC 2024 - 99.7K bytes - Viewed (0) -
cmd/bucket-replication.go
// Must be able to grab read lock from p. func (p *ReplicationPool) getWorkerCh(bucket, object string, sz int64) chan<- ReplicationWorkerOperation { h := xxh3.HashString(bucket + object) p.mu.RLock() defer p.mu.RUnlock() if len(p.workers) == 0 { return nil } return p.workers[h%uint64(len(p.workers))] }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 10 06:49:55 UTC 2024 - 116.1K bytes - Viewed (0)