Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 177 for wyhash (0.08 sec)

  1. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/HashCode.java

     */
    
    package org.gradle.internal.hash;
    
    import com.google.common.annotations.VisibleForTesting;
    
    import javax.annotation.Nonnull;
    import javax.annotation.Nullable;
    import java.io.Serializable;
    import java.math.BigInteger;
    
    import static org.gradle.internal.hash.HashCode.Usage.CLONE_BYTES_IF_NECESSARY;
    import static org.gradle.internal.hash.HashCode.Usage.SAFE_TO_REUSE_BYTES;
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 14 19:25:07 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

          }
        } else {
          assertEquals(expectedHashCode.asLong.longValue(), hash.asLong());
        }
        assertEquals(expectedHashCode.toString, hash.toString());
        assertSideEffectFree(hash);
        assertReadableBytes(hash);
      }
    
      private static void assertSideEffectFree(HashCode hash) {
        byte[] original = hash.asBytes();
        byte[] mutated = hash.asBytes();
        mutated[0]++;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  3. src/crypto/internal/boring/sha.go

    	if C._goboringcrypto_gosha512(unsafe.Pointer(&*addr(p)), C.size_t(len(p)), unsafe.Pointer(&*addr(sum[:]))) == 0 {
    		panic("boringcrypto: SHA512 failed")
    	}
    	return
    }
    
    // NewSHA1 returns a new SHA1 hash.
    func NewSHA1() hash.Hash {
    	h := new(sha1Hash)
    	h.Reset()
    	return h
    }
    
    type sha1Hash struct {
    	ctx C.GO_SHA_CTX
    	out [20]byte
    }
    
    type sha1Ctx struct {
    	h      [5]uint32
    	nl, nh uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 17:51:31 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactHashMap.java

      // }
      //
      // The imaginary `hash` and `next` values are combined into a single `int` value in the `entries`
      // array. The top bits of this value are the remaining bits of the hash value that were not used
      // in the short hash. We saw that a mask of 0x7f would keep the 7-bit value 0x6f from a full
      // hashcode of 0x89abcdef. The imaginary `hash` value would then be the remaining top 25 bits,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 35.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            }
        }
    
        public String decodeSimilarDocHash(final String hash) {
            if (hash != null && hash.startsWith(SIMILAR_DOC_HASH_PREFIX) && hash.length() > SIMILAR_DOC_HASH_PREFIX.length()) {
                final byte[] decode = Base64.getUrlDecoder().decode(hash.substring(SIMILAR_DOC_HASH_PREFIX.length()));
                try (BufferedReader reader =
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CompactHashSet.java

       *   <li>another java.util.Set delegate implementation. In most modern JDKs, normal java.util hash
       *       collections intelligently fall back to a binary search tree if hash table collisions are
       *       detected. Rather than going to all the trouble of reimplementing this ourselves, we
       *       simply switch over to use the JDK implementation wholesale if probable hash flooding is
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  7. src/runtime/hash_test.go

    func TestArrayHash(t *testing.T) {
    	// Make sure that "" in arrays hash correctly. The hash
    	// should at least scramble the input seed so that, e.g.,
    	// {"","foo"} and {"foo",""} have different hashes.
    
    	// If the hash is bad, then all (8 choose 4) = 70 keys
    	// have the same hash. If so, we allocate 70/8 = 8
    	// overflow buckets. If the hash is good we don't
    	// normally allocate any overflow buckets, and the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 17:50:18 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. src/crypto/rsa/pkcs1v15.go

    			return nil, err
    		}
    		return boring.SignRSAPKCS1v15(bkey, hash, hashed)
    	}
    
    	return decrypt(priv, em, withCheck)
    }
    
    func pkcs1v15ConstructEM(pub *PublicKey, hash crypto.Hash, hashed []byte) ([]byte, error) {
    	// Special case: crypto.Hash(0) is used to indicate that the data is
    	// signed directly.
    	var prefix []byte
    	if hash != 0 {
    		if len(hashed) != hash.Size() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:21 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. pkg/ledger/smt.go

    // newSMT creates a new smt given a keySize, hash function, cache (nil will be defaulted to TTLCache), and retention
    // duration for old nodes.
    func newSMT(hash func(data ...[]byte) []byte, updateCache cache.ExpiringCache, retentionDuration time.Duration) *smt {
    	if updateCache == nil {
    		updateCache = cache.NewTTL(forever, time.Second)
    	}
    	s := &smt{
    		hash:              hash,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 14K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/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();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 20.2K bytes
    - Viewed (0)
Back to top