Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for asBytes (0.08 sec)

  1. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  2. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  6. okhttp/src/jvmMain/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.list

    swidnik.pl
    swiebodzin.pl
    swinoujscie.pl
    swiss
    sx
    sx.cn
    sy
    sydney
    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
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 129.6K bytes
    - Viewed (3)
  7. okhttp/src/androidMain/assets/PublicSuffixDatabase.list

    swidnik.pl
    swiebodzin.pl
    swinoujscie.pl
    swiss
    sx
    sx.cn
    sy
    sydney
    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
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Dec 31 14:50:53 UTC 2024
    - 129.6K bytes
    - Viewed (2)
  8. lib/fips140/v1.0.0.zip

    { t.Fatal(err) } B, err := NewNat().SetBytes(b, M) if err != nil { t.Fatal(err) } A.Mul(B, M) ABytes := A.Bytes(M) mBig := new(big.Int).SetBytes(m) aBig := new(big.Int).SetBytes(a) bBig := new(big.Int).SetBytes(b) nBig := new(big.Int).Mul(aBig, bBig) nBig.Mod(nBig, mBig) nBigBytes := make([]byte, len(ABytes)) nBig.FillBytes(nBigBytes) if !bytes.Equal(ABytes, nBigBytes) { t.Errorf("got %x, want %x", ABytes, nBigBytes) } } func TestIs(t *testing.T) { checkYes := func(c choice, err string) { t.Helper()...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    myeffect.net
    mymediapc.net
    mypsx.net
    mysecuritycamera.net
    nhlfan.net
    no-ip.net
    pgafan.net
    privatizehealthinsurance.net
    redirectme.net
    serveblog.net
    serveminecraft.net
    sytes.net
    cable-modem.org
    collegefan.org
    couchpotatofries.org
    hopto.org
    mlbfan.org
    myftp.org
    mysecuritycamera.org
    nflfan.org
    no-ip.org
    read-books.org
    ufcfan.org
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 309.7K bytes
    - Viewed (1)
Back to top