/external/guava/guava-tests/test/com/google/common/hash/ |
D | AbstractByteHasherTest.java | 37 hasher.putBytes(new byte[]{2, 3, 4, 5, 6}); in testBytes() 39 hasher.putBytes(new byte[]{}); in testBytes() 40 hasher.putBytes(new byte[]{8}); in testBytes() 76 new TestHasher().putBytes(s.getBytes(UTF_16LE.name())).hash()); in testString() 98 hasher.putBytes(new byte[8], -1, 4); in testCorrectExceptions() 103 hasher.putBytes(new byte[8], 0, 16); in testCorrectExceptions() 108 hasher.putBytes(new byte[8], 0, -1); in testCorrectExceptions()
|
D | AbstractStreamingHasherTest.java | 48 sink.putBytes(new byte[] { 2, 3, 4, 5, 6 }); in testBytes() 50 sink.putBytes(new byte[] {}); in testBytes() 51 sink.putBytes(new byte[] { 8 }); in testBytes() 97 new Sink(4).putBytes(s.getBytes(UTF_16LE.name())).hash()); in testString() 123 sink.putBytes(new byte[8], -1, 4); in testCorrectExceptions() 127 sink.putBytes(new byte[8], 0, 16); in testCorrectExceptions() 131 sink.putBytes(new byte[8], 0, -1); in testCorrectExceptions()
|
D | HashingInputStreamTest.java | 62 EasyMock.expect(hasher.putBytes(aryEq(testBytes), eq(0), eq(testBytes.length))) in testRead_putByteArray() 79 EasyMock.expect(hasher.putBytes(aryEq(new byte[] {'y', 'a', 'm'}), eq(0), eq(3))) in testRead_putByteArrayAtPos() 100 EasyMock.expect(hasher.putBytes(aryEq(expectedBytes), eq(0), eq(4))) in testRead_putByteArrayOutOfBound()
|
D | FunnelsTest.java | 46 verify(primitiveSink).putBytes(new byte[] { 4, 3, 2, 1 }); in testForBytes() 136 verify(sink).putBytes(bytes); in testAsOutputStream() 137 verify(sink).putBytes(bytes, 1, 2); in testAsOutputStream()
|
D | HashingOutputStreamTest.java | 58 EasyMock.expect(hasher.putBytes(buf, 0, buf.length)).andReturn(hasher).once(); in testWrite_putByteArray() 70 EasyMock.expect(hasher.putBytes(buf, 0, 3)).andReturn(hasher).once(); in testWrite_putByteArrayAtPos()
|
D | SipHashFunctionTest.java | 173 assertEquals(expected, SIP_WITH_KEY.newHasher().putBytes(input).hash().asLong()); in assertSip() 175 assertEquals(expected, SIP_WITHOUT_KEY.newHasher().putBytes(input).hash().asLong()); in assertSip()
|
D | HashTestUtils.java | 160 sink.putBytes(value); in PUT_BYTES() 171 sink.putBytes(value); in PUT_BYTES_INT_INT() 494 hashFunction.newHasher(size).putBytes(bytes).hash()); in assertHashBytesEquivalence() 498 hashFunction.newHasher(size).putBytes(bytes, off, len).hash()); in assertHashBytesEquivalence()
|
D | Murmur3Hash128Test.java | 55 assertEquals(expected, murmur3_128(seed).newHasher().putBytes(input).hash()); in assertHash()
|
/external/guava/guava/src/com/google/common/hash/ |
D | AbstractStreamingHashFunction.java | 65 return newHasher().putBytes(input).hash(); in hashBytes() 69 return newHasher().putBytes(input, off, len).hash(); in hashBytes() 152 public final Hasher putBytes(byte[] bytes) { in putBytes() method in AbstractStreamingHashFunction.AbstractStreamingHasher 153 return putBytes(bytes, 0, bytes.length); in putBytes() 157 public final Hasher putBytes(byte[] bytes, int off, int len) { in putBytes() method in AbstractStreamingHashFunction.AbstractStreamingHasher 158 return putBytes(ByteBuffer.wrap(bytes, off, len).order(ByteOrder.LITTLE_ENDIAN)); in putBytes() 161 private Hasher putBytes(ByteBuffer readBuffer) { in putBytes() method in AbstractStreamingHashFunction.AbstractStreamingHasher
|
D | AbstractCompositeHashFunction.java | 62 @Override public Hasher putBytes(byte[] bytes) { in newHasher() method 64 hasher.putBytes(bytes); in newHasher() 69 @Override public Hasher putBytes(byte[] bytes, int off, int len) { in newHasher() method 71 hasher.putBytes(bytes, off, len); in newHasher()
|
D | PrimitiveSink.java | 43 PrimitiveSink putBytes(byte[] bytes); in putBytes() method 56 PrimitiveSink putBytes(byte[] bytes, int off, int len); in putBytes() method
|
D | Hasher.java | 55 @Override Hasher putBytes(byte[] bytes); in putBytes() method 56 @Override Hasher putBytes(byte[] bytes, int off, int len); in putBytes() method
|
D | Funnels.java | 47 into.putBytes(from); in funnel() 252 sink.putBytes(bytes); in write() 256 sink.putBytes(bytes, off, len); in write()
|
D | AbstractByteHasher.java | 68 public Hasher putBytes(byte[] bytes) { in putBytes() method in AbstractByteHasher 75 public Hasher putBytes(byte[] bytes, int off, int len) { in putBytes() method in AbstractByteHasher
|
D | AbstractNonStreamingHashFunction.java | 104 public Hasher putBytes(byte[] bytes) { in putBytes() method in AbstractNonStreamingHashFunction.BufferingHasher 114 public Hasher putBytes(byte[] bytes, int off, int len) { in putBytes() method in AbstractNonStreamingHashFunction.BufferingHasher
|
D | HashingOutputStream.java | 56 hasher.putBytes(bytes, off, len); in write()
|
D | AbstractHasher.java | 57 return putBytes(charSequence.toString().getBytes(charset.name())); in putString()
|
D | HashingInputStream.java | 67 hasher.putBytes(bytes, off, numOfBytesRead); in read()
|
/external/skia/src/ports/ |
D | SkImageDecoder_CG.cpp | 238 procs.putBytes = consumer_put; in SkStreamToCGDataConsumer()
|
/external/owasp/sanitizer/lib/guava-libraries/ |
D | guava.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/external/owasp/sanitizer/distrib/lib/ |
D | guava.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |