Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 67 for hashFunction (0.23 sec)

  1. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/MessageDigestHashFunction.java

    import java.io.ObjectInputStream;
    import java.io.Serializable;
    import java.nio.ByteBuffer;
    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    import java.util.Arrays;
    
    /**
     * {@link HashFunction} adapter for {@link MessageDigest} instances.
     *
     * @author Kevin Bourrillion
     * @author Dimitris Andreou
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 25 20:32:46 UTC 2022
    - 5K bytes
    - Viewed (0)
  3. fess-crawler-es/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

    import org.opensearch.search.SearchHit;
    import org.opensearch.search.SearchHits;
    import org.opensearch.search.sort.SortBuilder;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import com.google.common.hash.HashFunction;
    import com.google.common.hash.Hashing;
    
    public abstract class AbstractCrawlerService {
        private static final Logger logger = LoggerFactory.getLogger(AbstractCrawlerService.class);
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Apr 04 09:58:36 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

    /**
     * Unit test for FarmHashFingerprint64.
     *
     * @author Kyle Maddison
     * @author Geoff Pike
     */
    public class FarmHashFingerprint64Test extends TestCase {
    
      private static final HashFunction HASH_FN = Hashing.farmHashFingerprint64();
    
      // If this test fails, all bets are off
      public void testReallySimpleFingerprints() {
        assertEquals(8581389452482819506L, fingerprint("test".getBytes(UTF_8)));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 15:56:47 UTC 2017
    - 6.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Fingerprint2011.java

     *
     * @author ******@****.*** (Kyle Maddison)
     * @author ******@****.*** (Geoff Pike)
     */
    @ElementTypesAreNonnullByDefault
    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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Dec 28 17:50:25 UTC 2021
    - 6.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/Fingerprint2011.java

     *
     * @author ******@****.*** (Kyle Maddison)
     * @author ******@****.*** (Geoff Pike)
     */
    @ElementTypesAreNonnullByDefault
    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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Dec 28 17:50:25 UTC 2021
    - 6.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/FarmHashFingerprint64.java

     * </ul>
     *
     * @author Kyle Maddison
     * @author Geoff Pike
     */
    @ElementTypesAreNonnullByDefault
    final class FarmHashFingerprint64 extends AbstractNonStreamingHashFunction {
      static final HashFunction FARMHASH_FINGERPRINT_64 = new FarmHashFingerprint64();
    
      // Some primes between 2^63 and 2^64 for various uses.
      private static final long K0 = 0xc3a5c85c97cb3127L;
      private static final long K1 = 0xb492b66fbe98f273L;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 01 22:39:48 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/FarmHashFingerprint64.java

     * </ul>
     *
     * @author Kyle Maddison
     * @author Geoff Pike
     */
    @ElementTypesAreNonnullByDefault
    final class FarmHashFingerprint64 extends AbstractNonStreamingHashFunction {
      static final HashFunction FARMHASH_FINGERPRINT_64 = new FarmHashFingerprint64();
    
      // Some primes between 2^63 and 2^64 for various uses.
      private static final long K0 = 0xc3a5c85c97cb3127L;
      private static final long K1 = 0xb492b66fbe98f273L;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 01 22:39:48 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/Crc32cHashFunction.java

     * polynomial for this checksum is {@code 0x11EDC6F41}.
     *
     * @author Kurt Alfred Kluever
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class Crc32cHashFunction extends AbstractHashFunction {
      static final HashFunction CRC_32_C = new Crc32cHashFunction();
    
      @Override
      public int bits() {
        return 32;
      }
    
      @Override
      public Hasher newHasher() {
        return new Crc32cHasher();
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 21.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Crc32cHashFunction.java

     * polynomial for this checksum is {@code 0x11EDC6F41}.
     *
     * @author Kurt Alfred Kluever
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class Crc32cHashFunction extends AbstractHashFunction {
      static final HashFunction CRC_32_C = new Crc32cHashFunction();
    
      @Override
      public int bits() {
        return 32;
      }
    
      @Override
      public Hasher newHasher() {
        return new Crc32cHasher();
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 21.3K bytes
    - Viewed (0)
Back to top