Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 362 for Nash (2.52 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. android/guava/src/com/google/common/hash/HashCode.java

          return new byte[] {
            (byte) hash,
            (byte) (hash >> 8),
            (byte) (hash >> 16),
            (byte) (hash >> 24),
            (byte) (hash >> 32),
            (byte) (hash >> 40),
            (byte) (hash >> 48),
            (byte) (hash >> 56)
          };
        }
    
        @Override
        public int asInt() {
          return (int) hash;
        }
    
        @Override
        public long asLong() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. docs/changelogs/upgrading_to_okhttp_4.md

    ```
    
    But OkHttp 4.x needs a `Companion`:
    
    ```kotlin
    import okhttp3.CipherSuite.Companion.forJavaName
    ```
    
    In the unlikely event that you have a lot of these, run this:
    
    ```bash
    sed -i "" \
      's/^\(import okhttp3\.[^.]*\)\.\([a-z][a-zA-Z]*\)$/\1.Companion.\2/g' \
      `find . -name "*.kt"`
    ```
    
    
    Advanced Profiling
    ------------------
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top