Searched refs:putBytes (Results 1 - 24 of 24) sorted by relevance

/external/guava/guava-tests/test/com/google/common/hash/
H A DAbstractByteHasherTest.java36 hasher.putBytes(new byte[]{2, 3, 4, 5, 6});
38 hasher.putBytes(new byte[]{});
39 hasher.putBytes(new byte[]{8});
75 new TestHasher().putBytes(s.getBytes(UTF_16LE)).hash());
97 hasher.putBytes(new byte[8], -1, 4);
102 hasher.putBytes(new byte[8], 0, 16);
107 hasher.putBytes(new byte[8], 0, -1);
H A DAbstractStreamingHasherTest.java47 sink.putBytes(new byte[] { 2, 3, 4, 5, 6 });
49 sink.putBytes(new byte[] {});
50 sink.putBytes(new byte[] { 8 });
96 new Sink(4).putBytes(s.getBytes(UTF_16LE)).hash());
122 sink.putBytes(new byte[8], -1, 4);
126 sink.putBytes(new byte[8], 0, 16);
130 sink.putBytes(new byte[8], 0, -1);
H A DHashingOutputStreamTest.java58 EasyMock.expect(hasher.putBytes(buf, 0, buf.length)).andReturn(hasher).once();
70 EasyMock.expect(hasher.putBytes(buf, 0, 3)).andReturn(hasher).once();
H A DSipHashFunctionTest.java173 assertEquals(expected, SIP_WITH_KEY.newHasher().putBytes(input).hash().asLong());
175 assertEquals(expected, SIP_WITHOUT_KEY.newHasher().putBytes(input).hash().asLong());
H A DMurmur3Hash128Test.java55 assertEquals(expected, murmur3_128(seed).newHasher().putBytes(input).hash());
H A DFunnelsTest.java46 verify(primitiveSink).putBytes(new byte[] { 4, 3, 2, 1 });
136 verify(sink).putBytes(bytes);
137 verify(sink).putBytes(bytes, 1, 2);
H A DHashingInputStreamTest.java63 EasyMock.expect(hasher.putBytes(aryEq(testBytes), eq(0), eq(testBytes.length)))
80 EasyMock.expect(hasher.putBytes(aryEq(Arrays.copyOfRange(testBytes, 0, 3)), eq(0), eq(3)))
101 EasyMock.expect(hasher.putBytes(aryEq(expectedBytes), eq(0), eq(4)))
H A DHashTestUtils.java160 sink.putBytes(value);
171 sink.putBytes(value);
494 hashFunction.newHasher(size).putBytes(bytes).hash());
498 hashFunction.newHasher(size).putBytes(bytes, off, len).hash());
/external/guava/guava/src/com/google/common/hash/
H A DHasher.java40 * newHasher().putByte(b1).putBytes(new byte[] { b2, b3 }).hash()
41 * newHasher().putBytes(new byte[] { b1, b2, b3 }).hash()}</pre>
55 @Override Hasher putBytes(byte[] bytes); method in interface:Hasher
56 @Override Hasher putBytes(byte[] bytes, int off, int len); method in interface:Hasher
86 * Equivalent to {@code putBytes(charSequence.toString().getBytes(charset))}.
H A DPrimitiveSink.java43 PrimitiveSink putBytes(byte[] bytes); method in interface:PrimitiveSink
56 PrimitiveSink putBytes(byte[] bytes, int off, int len); method in interface:PrimitiveSink
H A DAbstractStreamingHashFunction.java57 return newHasher().putBytes(input).hash();
61 return newHasher().putBytes(input, off, len).hash();
144 public final Hasher putBytes(byte[] bytes) { method in class:AbstractStreamingHashFunction.AbstractStreamingHasher
145 return putBytes(bytes, 0, bytes.length);
149 public final Hasher putBytes(byte[] bytes, int off, int len) { method in class:AbstractStreamingHashFunction.AbstractStreamingHasher
150 return putBytes(ByteBuffer.wrap(bytes, off, len).order(ByteOrder.LITTLE_ENDIAN));
153 private Hasher putBytes(ByteBuffer readBuffer) { method in class:AbstractStreamingHashFunction.AbstractStreamingHasher
H A DAbstractCompositeHashFunction.java62 @Override public Hasher putBytes(byte[] bytes) {
64 hasher.putBytes(bytes);
69 @Override public Hasher putBytes(byte[] bytes, int off, int len) {
71 hasher.putBytes(bytes, off, len);
H A DAbstractHasher.java47 return putBytes(charSequence.toString().getBytes(charset));
H A DHashingOutputStream.java56 hasher.putBytes(bytes, off, len);
H A DAbstractByteHasher.java68 public Hasher putBytes(byte[] bytes) { method in class:AbstractByteHasher
75 public Hasher putBytes(byte[] bytes, int off, int len) { method in class:AbstractByteHasher
H A DFunnels.java47 into.putBytes(from);
241 sink.putBytes(bytes);
245 sink.putBytes(bytes, off, len);
H A DHashingInputStream.java67 hasher.putBytes(bytes, off, numOfBytesRead);
H A DAbstractNonStreamingHashFunction.java91 public Hasher putBytes(byte[] bytes) { method in class:AbstractNonStreamingHashFunction.BufferingHasher
101 public Hasher putBytes(byte[] bytes, int off, int len) { method in class:AbstractNonStreamingHashFunction.BufferingHasher
/external/skia/src/ports/
H A DSkImageDecoder_CG.cpp255 procs.putBytes = consumer_put;
/external/guice/lib/
H A Dguava-16.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ...
/external/owasp/sanitizer/distrib/lib/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/owasp/sanitizer/lib/guava-libraries/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/dagger2/lib/
H A Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/googlejavaformat/ com/google/googlejavaformat/CloseOp ...
/external/robolectric/v3/runtime/
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 161 milliseconds