- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 792 for Hash (0.07 seconds)
-
internal/hash/checker.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package hash import ( "bytes" "errors" "hash" "io" "github.com/minio/minio/internal/ioutil" ) // Checker allows to verify the checksum of a reader. type Checker struct { c io.Closer r io.Reader h hash.Hash want []byte } // NewChecker ensures that content with the specified length is read from rc.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Jan 20 14:49:07 GMT 2025 - 1.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java
int hash = 17; hash = hash * 31 + Objects.hashCode(groupId); hash = hash * 31 + Objects.hashCode(artifactId); hash = hash * 31 + Objects.hashCode(version); hash = hash * 31 + Objects.hashCode(dependencyArtifacts); hash = hash * 31 + Objects.hashCode(workspace); hash = hash * 31 + Objects.hashCode(localRepo);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 8.3K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Objects.java
return java.util.Objects.equals(a, b); } /** * Generates a hash code for multiple values. The hash code is generated by calling {@link * Arrays#hashCode(Object[])}. Note that array arguments to this method, with the exception of a * single Object array, do not get any special handling; their hash codes are based on identity * and not contents. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 28 22:51:26 GMT 2025 - 3.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ObjectCountHashMap.java
long oldEntry = entries[i]; int hash = getHash(oldEntry); int tableIndex = hash & mask; int next = newTable[tableIndex]; newTable[tableIndex] = i; entries[i] = ((long) hash << 32) | (NEXT_MASK & next); } this.threshold = newThreshold; this.table = newTable; } int indexOf(@Nullable Object key) { int hash = smearedHash(key);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 14.5K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java
int hash = 17; hash = hash * 31 + groupId.hashCode(); hash = hash * 31 + artifactId.hashCode(); hash = hash * 31 + classifier.hashCode(); hash = hash * 31 + extension.hashCode(); hash = hash * 31 + version.hashCode(); hash = hash * 31 + localRepo.hashCode(); hash = hash * 31 + repositories.hashCode();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 08:42:00 GMT 2025 - 20.2K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/HashCode.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 12.6K bytes - Click Count (0) -
guava/src/com/google/common/cache/LocalCache.java
if (key == null) { return null; } int hash = hash(key); return segmentFor(hash).get(key, hash); } @CanIgnoreReturnValue // TODO(b/27479612): consider removing this V get(K key, CacheLoader<? super K, V> loader) throws ExecutionException { int hash = hash(checkNotNull(key)); return segmentFor(hash).get(key, hash, loader); } public @Nullable V getIfPresent(Object key) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 11 19:35:11 GMT 2025 - 148.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java
assertThat(c.asMap().computeIfAbsent("hash-1", k -> "")).isEqualTo(""); assertThat(c.asMap().computeIfAbsent("hash-1", k -> "")).isEqualTo(""); assertThat(c.asMap().computeIfAbsent("hash-1", k -> "")).isEqualTo(""); assertThat(c.size()).isEqualTo(1); assertThat(c.asMap().computeIfAbsent("hash-2", k -> "")).isEqualTo(""); } public void testComputeEviction() { // b/80241237Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 7K bytes - Click Count (0) -
cmd/hasher.go
"encoding/hex" "github.com/minio/minio/internal/hash/sha256" ) // getSHA256Hash returns SHA-256 hash in hex encoding of given data. func getSHA256Hash(data []byte) string { return hex.EncodeToString(getSHA256Sum(data)) } // getSHA256Hash returns SHA-256 sum of given data. func getSHA256Sum(data []byte) []byte { hash := sha256.New() hash.Write(data) return hash.Sum(nil) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 27 13:00:19 GMT 2022 - 1.4K bytes - Click Count (0) -
guava/src/com/google/common/base/PairwiseEquivalence.java
} } return !iteratorA.hasNext() && !iteratorB.hasNext(); } @Override protected int doHash(Iterable<T> iterable) { int hash = 78721; for (T element : iterable) { hash = hash * 24943 + elementEquivalence.hash(element); } return hash; } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof PairwiseEquivalence) { @SuppressWarnings("unchecked")Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 2.4K bytes - Click Count (0)