Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for asBytes (0.09 sec)

  1. guava-tests/test/com/google/common/hash/HashingTest.java

      }
    
      public void testConcatenatingHashFunction_makeHash() {
        byte[] md5Hash = Hashing.md5().hashLong(42L).asBytes();
        byte[] murmur3Hash = Hashing.murmur3_32().hashLong(42L).asBytes();
        byte[] combined = new byte[md5Hash.length + murmur3Hash.length];
        ByteBuffer buffer = ByteBuffer.wrap(combined);
        buffer.put(md5Hash);
        buffer.put(murmur3Hash);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 17:40:09 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Hashing.java

       * cryptographically secure, but it produces a high-quality hash with fewer collisions than some
       * alternatives we've used in the past.
       *
       * <p>FarmHash fingerprints are encoded by {@link HashCode#asBytes} in little-endian order. This
       * means {@link HashCode#asLong} is guaranteed to return the same value that
       * farmhash::Fingerprint64() would for the same input (when compared using {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          for (Hasher hasher : sinksAndControl) {
            hasher.putInt(intToPut);
          }
          for (Sink sink : sinks) {
            HashCode unused = sink.hash();
          }
    
          byte[] expected = controlSink.hash().asBytes();
          for (Sink sink : sinks) {
            sink.assertInvariants(expected.length);
            sink.assertBytes(expected);
          }
        }
      }
    
      private static class Sink extends AbstractStreamingHasher {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          for (Hasher hasher : sinksAndControl) {
            hasher.putInt(intToPut);
          }
          for (Sink sink : sinks) {
            HashCode unused = sink.hash();
          }
    
          byte[] expected = controlSink.hash().asBytes();
          for (Sink sink : sinks) {
            sink.assertInvariants(expected.length);
            sink.assertBytes(expected);
          }
        }
      }
    
      private static class Sink extends AbstractStreamingHasher {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/HashTestUtils.java

          Assert.assertEquals(hashcode1, hashcode2); // idempotent
          Assert.assertEquals(hashFunction.bits(), hashcode1.bits());
          Assert.assertEquals(hashFunction.bits(), hashcode1.asBytes().length * 8);
          hashcodes.add(hashcode1);
        }
        Assert.assertTrue(hashcodes.size() > objects * 0.95); // quite relaxed test
    
        assertHashBytesThrowsCorrectExceptions(hashFunction);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  6. okhttp/src/main/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz

    svizzera.museum svn-repos.de swatch sweden.museum sweetpepper.org swidnica.pl swidnik.pl swiebodzin.pl swinoujscie.pl swiss sx sx.cn sy sydney sydney.museum sykkylven.no syncloud.it syno-ds.de synology-diskstation.de synology-ds.de synology.me systems sytes.net sz szczecin.pl szczytno.pl szex.hu szkola.pl sálat.no sálát.no søgne.no sømna.no søndre-land.no sør-aurdal.no sør-fron.no sør-odal.no sør-varanger.no sørfold.no sørreisa.no sørum.no südtirol.it t.bg t.se t3l3p0rt.net ta.it taa.it...
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 40.4K bytes
    - Viewed (0)
  7. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    serveblog.net
    servecounterstrike.com
    serveftp.com
    servegame.com
    servehalflife.com
    servehttp.com
    serveirc.com
    serveminecraft.net
    servemp3.com
    servepics.com
    servequake.com
    sytes.net
    webhop.me
    zapto.org
    
    // NodeArt : https://nodeart.io
    // Submitted by Konstantin Nosov <******@****.***>
    stage.nodeart.io
    
    // Nucleos Inc. : https://nucleos.com
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 240.3K bytes
    - Viewed (0)
Back to top