HomeSort by relevance Sort by last modified time
    Searched refs:asBytes (Results 1 - 25 of 35) sorted by null

1 2

  /external/protobuf/java/src/test/java/com/google/protobuf/
IsValidUtf8Test.java 104 assertTrue(asBytes("").isValidUtf8());
107 assertTrue(asBytes("\u0000abc\u007f").isValidUtf8());
110 assertTrue(asBytes("\u00a2\u00a2").isValidUtf8());
113 assertTrue(asBytes("\u020ac\u020ac").isValidUtf8());
116 assertTrue(asBytes("\u024B62\u024B62").isValidUtf8());
120 asBytes("a\u020ac\u00a2b\\u024B62u020acc\u00a2de\u024B62")
167 private static ByteString asBytes(String s) {
  /external/guava/guava-tests/benchmark/com/google/common/hash/
ChecksumBenchmark.java 88 result ^= Hashing.crc32().hashInt(reps).asBytes()[0];
89 result ^= Hashing.adler32().hashInt(reps).asBytes()[0];
91 result ^= hashFunction.hashBytes(testBytes).asBytes()[0];
HashFunctionBenchmark.java 58 result ^= hashFunction.hashBytes(testBytes).asBytes()[0];
MessageDigestAlgorithmBenchmark.java 57 return algorithm.getHashFunction().hashBytes(input).asBytes();
  /external/guava/guava/src/com/google/common/hash/
HashCode.java 48 * Returns the first four bytes of {@linkplain #asBytes() this hashcode's bytes}, converted to
56 * Returns the first eight bytes of {@linkplain #asBytes() this hashcode's bytes}, converted to
65 * value with {@code asBytes()} as the least-significant bytes and {@code 0x00} as the remaining
78 public abstract byte[] asBytes();
100 * byte-based hashcode. Otherwise it returns {@link HashCode#asBytes}. Do <i>not</i> mutate this
104 return asBytes();
130 public byte[] asBytes() {
186 public byte[] asBytes() {
255 public byte[] asBytes() {
339 return MessageDigest.isEqual(this.asBytes(), that.asBytes())
    [all...]
Hashing.java 368 byte[] nextBytes = hashCode.asBytes();
393 byte[] nextBytes = hashCode.asBytes();
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/gcm/
Tables1kGCMExponentiator.java 40 GCMUtil.asBytes(y, output);
GCMUtil.java 53 public static byte[] asBytes(int[] x)
60 public static void asBytes(int[] x, byte[] z)
65 public static byte[] asBytes(long[] x)
72 public static void asBytes(long[] x, byte[] z)
106 GCMUtil.asBytes(t1, x);
  /external/guava/guava-tests/test/com/google/common/hash/
Murmur3Hash32Test.java 64 return hasher.hash().asBytes();
HashCodeTest.java 263 HashCodes.fromInt(42).asBytes(),
271 HashCodes.fromLong(42).asBytes(),
345 assertTrue(Arrays.equals(expectedHashCode.bytes, hash.asBytes()));
364 byte[] original = hash.asBytes();
365 byte[] mutated = hash.asBytes();
367 assertTrue(Arrays.equals(original, hash.asBytes()));
372 byte[] hashBytes = hashCode.asBytes();
Murmur3Hash128Test.java 74 return hasher.hash().asBytes();
AbstractStreamingHasherTest.java 174 byte[] expected = controlSink.hash().asBytes();
HashingTest.java 351 byte[] md5Hash = Hashing.md5().hashLong(42L).asBytes();
352 byte[] murmur3Hash = Hashing.murmur3_32().hashLong(42L).asBytes();
HashTestUtils.java 423 Assert.assertEquals(hashFunction.bits(), hashcode1.asBytes().length * 8);
  /external/protobuf/java/src/main/java/com/google/protobuf/
GeneratedMessageLite.java 901 private byte[] asBytes;
909 asBytes = regularForm.toByteArray();
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.team.core_3.5.100.R36x_v20100825-0800.jar 
  /prebuilts/sdk/tools/lib/
signapk.jar 
  /external/owasp/sanitizer/distrib/lib/
guava.jar 
  /external/owasp/sanitizer/lib/guava-libraries/
guava.jar 
  /packages/services/Telecomm/libs/
guava.jar 
  /prebuilts/devtools/tools/lib/
guava-13.0.1.jar 
guava-17.0.jar 
  /prebuilts/eclipse/maven/apache-maven-3.2.1/lib/
guava-14.0.1.jar 
  /prebuilts/misc/common/android-support-test/
espresso-core.jar 
  /prebuilts/misc/common/guava/
guava-15.0.jar 

Completed in 3776 milliseconds

1 2