Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 284 for Nash (0.13 sec)

  1. android/guava/src/com/google/common/hash/Hashing.java

        return (bits + 31) & ~31;
      }
    
      /**
       * Returns a hash function which computes its hash code by concatenating the hash codes of the
       * underlying hash functions together. This can be useful if you need to generate hash codes of a
       * specific length.
       *
       * <p>For example, if you need 1024-bit hash codes, you could join two {@link Hashing#sha512} hash
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java

            String hash = "01010101010101010101010101010101";
            String value = "$H4sIAAAAAAAA_zMwNMALAXC7sg0gAAAA";
            assertEquals(value, documentHelper.encodeSimilarDocHash(hash));
            hash = "00101010010010100100101010001010";
            value = "$H4sIAAAAAAAA_zMwMARDCELQQApMAgAi5-3LIAAAAA";
            assertEquals(value, documentHelper.encodeSimilarDocHash(hash));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/HashTestUtils.java

          key[i] = (byte) i;
          int seed = 256 - i;
          byte[] hash = hashFunction.hash(Arrays.copyOf(key, i), seed);
          System.arraycopy(hash, 0, hashes, i * hashBytes, hash.length);
        }
    
        // Then hash the result array
        byte[] result = hashFunction.hash(hashes, 0);
    
        // interpreted in little-endian order.
        int verification = Integer.reverseBytes(Ints.fromByteArray(result));
    
        if (expected != verification) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  4. 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]++;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/CompactHashSet.java

       * input.
       */
      @VisibleForTesting(
          )
      static final double HASH_FLOODING_FPP = 0.001;
    
      /**
       * Maximum allowed length of a hash table bucket before falling back to a j.u.LinkedHashSet based
       * implementation. Experimentally determined.
       */
      private static final int MAX_HASH_BUCKET_LENGTH = 9;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CompactHashMap.java

       * input.
       */
      @VisibleForTesting(
          )
      static final double HASH_FLOODING_FPP = 0.001;
    
      /**
       * Maximum allowed length of a hash table bucket before falling back to a j.u.LinkedHashMap-based
       * implementation. Experimentally determined.
       */
      private static final int MAX_HASH_BUCKET_LENGTH = 9;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 39.8K bytes
    - Viewed (0)
  7. 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 =
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12K bytes
    - Viewed (0)
  8. ci/devinfra/docker_windows/Dockerfile

        .\msys2_install.exe -y -oC:\; \
        Remove-Item msys2_install.exe; \
        function msys() { C:\msys64\usr\bin\bash.exe @('-lc') + @Args; } \
        msys ' '; \
        msys 'pacman --noconfirm -Syy bsdcpio bsdtar bzip2'; \
        msys 'pacman --noconfirm -Syy coreutils curl dash file filesystem findutils'; \
        msys 'pacman --noconfirm -Syy flex gawk gcc-libs grep gzip inetutils info'; \
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Fri Aug 18 17:24:20 GMT 2023
    - 13.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Equivalence.java

       *       y}, if {@code equivalent(x, y)}, then {@code hash(x) == hash(y)}. It is <i>not</i>
       *       necessary that the hash be distributable across <i>inequivalence</i>. If {@code
       *       equivalence(x, y)} is false, {@code hash(x) == hash(y)} may still be true.
       *   <li>{@code hash(null)} is {@code 0}.
       * </ul>
       */
      public final int hash(@CheckForNull T t) {
        if (t == null) {
          return 0;
        }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Equivalence.java

       *       y}, if {@code equivalent(x, y)}, then {@code hash(x) == hash(y)}. It is <i>not</i>
       *       necessary that the hash be distributable across <i>inequivalence</i>. If {@code
       *       equivalence(x, y)} is false, {@code hash(x) == hash(y)} may still be true.
       *   <li>{@code hash(null)} is {@code 0}.
       * </ul>
       */
      public final int hash(@CheckForNull T t) {
        if (t == null) {
          return 0;
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
Back to top