Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for hashFunction (0.07 sec)

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

    @SuppressWarnings("IdentifierName") // the best we could do for adjacent digit blocks
    final class Murmur3_128HashFunction extends AbstractHashFunction implements Serializable {
      static final HashFunction MURMUR3_128 = new Murmur3_128HashFunction(0);
    
      static final HashFunction GOOD_FAST_HASH_128 =
          new Murmur3_128HashFunction(Hashing.GOOD_FAST_HASH_SEED);
    
      // TODO(user): when the shortcuts are implemented, update BloomFilterStrategies
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ByteSource.java

       *
       * @throws IOException if an I/O error occurs while reading from this source
       */
      public HashCode hash(HashFunction hashFunction) throws IOException {
        Hasher hasher = hashFunction.newHasher();
        copyTo(Funnels.asOutputStream(hasher));
        return hasher.hash();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 20:55:20 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

    final class Murmur3_32HashFunction extends AbstractHashFunction implements Serializable {
      static final HashFunction MURMUR3_32 =
          new Murmur3_32HashFunction(0, /* supplementaryPlaneFix= */ false);
      static final HashFunction MURMUR3_32_FIXED =
          new Murmur3_32HashFunction(0, /* supplementaryPlaneFix= */ true);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/Files.java

          imports = "com.google.common.io.Files")
      public
      static HashCode hash(File file, HashFunction hashFunction) throws IOException {
        return asByteSource(file).hash(hashFunction);
      }
    
      /**
       * Fully maps a file read-only in to memory as per {@link
       * FileChannel#map(java.nio.channels.FileChannel.MapMode, long, long)}.
       *
       * <p>Files are mapped from offset 0 to its length.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/Files.java

          imports = "com.google.common.io.Files")
      public
      static HashCode hash(File file, HashFunction hashFunction) throws IOException {
        return asByteSource(file).hash(hashFunction);
      }
    
      /**
       * Fully maps a file read-only in to memory as per {@link
       * FileChannel#map(java.nio.channels.FileChannel.MapMode, long, long)}.
       *
       * <p>Files are mapped from offset 0 to its length.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/ChecksumHashFunction.java

    import java.lang.invoke.MethodHandles;
    import java.lang.invoke.MethodType;
    import java.nio.ByteBuffer;
    import java.util.zip.Checksum;
    import org.jspecify.annotations.Nullable;
    
    /**
     * {@link HashFunction} adapter for {@link Checksum} instances.
     *
     * @author Colin Decker
     */
    @Immutable
    final class ChecksumHashFunction extends AbstractHashFunction implements Serializable {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

    import java.io.ByteArrayOutputStream;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import java.nio.charset.Charset;
    import java.util.Arrays;
    
    /**
     * Skeleton implementation of {@link HashFunction}, appropriate for non-streaming algorithms. All
     * the hash computation done using {@linkplain #newHasher()} are delegated to the {@linkplain
     * #hashBytes(byte[], int, int)} method.
     *
     * @author Dimitris Andreou
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/Fingerprint2011.java

     * </ul>
     *
     * @author ******@****.*** (Kyle Maddison)
     * @author ******@****.*** (Geoff Pike)
     */
    final class Fingerprint2011 extends AbstractNonStreamingHashFunction {
      static final HashFunction FINGERPRINT_2011 = new Fingerprint2011();
    
      // Some primes between 2^63 and 2^64 for various uses.
      private static final long K0 = 0xa5b85c5e198ed849L;
      private static final long K1 = 0x8d58ac26afe12e47L;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.search.SearchHit;
    import org.opensearch.search.SearchHits;
    import org.opensearch.search.sort.SortBuilder;
    
    import com.google.common.hash.HashFunction;
    import com.google.common.hash.Hashing;
    
    import jakarta.annotation.Resource;
    
    /**
     * Abstract base class for crawler services that interact with OpenSearch.
     *
     * @author shinsuke
     *
     */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 34.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

    /**
     * Unit test for FarmHashFingerprint64.
     *
     * @author Kyle Maddison
     * @author Geoff Pike
     */
    @NullUnmarked
    public class FarmHashFingerprint64Test extends TestCase {
    
      private static final HashFunction HASH_FN = Hashing.farmHashFingerprint64();
    
      // If this test fails, all bets are off
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      public void testReallySimpleFingerprints() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top