HomeSort by relevance Sort by last modified time
    Searched full:putbytes (Results 1 - 25 of 138) sorted by null

1 2 3 4 5 6

  /external/guava/guava-tests/test/com/google/common/hash/
AbstractByteHasherTest.java 36 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);
AbstractStreamingHasherTest.java 47 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);
HashingOutputStreamTest.java 58 EasyMock.expect(hasher.putBytes(buf, 0, buf.length)).andReturn(hasher).once();
70 EasyMock.expect(hasher.putBytes(buf, 0, 3)).andReturn(hasher).once();
FunnelsTest.java 46 verify(primitiveSink).putBytes(new byte[] { 4, 3, 2, 1 });
136 verify(sink).putBytes(bytes);
137 verify(sink).putBytes(bytes, 1, 2);
HashingInputStreamTest.java 63 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)))
Murmur3Hash128Test.java 55 assertEquals(expected, murmur3_128(seed).newHasher().putBytes(input).hash());
SipHashFunctionTest.java 173 assertEquals(expected, SIP_WITH_KEY.newHasher().putBytes(input).hash().asLong());
175 assertEquals(expected, SIP_WITHOUT_KEY.newHasher().putBytes(input).hash().asLong());
  /external/guava/guava/src/com/google/common/hash/
Hasher.java 40 * 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);
56 @Override Hasher putBytes(byte[] bytes, int off, int len);
86 * Equivalent to {@code putBytes(charSequence.toString().getBytes(charset))}.
AbstractCompositeHashFunction.java 62 @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);
AbstractStreamingHashFunction.java 57 return newHasher().putBytes(input).hash();
61 return newHasher().putBytes(input, off, len).hash();
144 public final Hasher putBytes(byte[] bytes) {
145 return putBytes(bytes, 0, bytes.length);
149 public final Hasher putBytes(byte[] bytes, int off, int len) {
150 return putBytes(ByteBuffer.wrap(bytes, off, len).order(ByteOrder.LITTLE_ENDIAN));
153 private Hasher putBytes(ByteBuffer readBuffer) {
PrimitiveSink.java 43 PrimitiveSink putBytes(byte[] bytes);
56 PrimitiveSink putBytes(byte[] bytes, int off, int len);
AbstractHasher.java 47 return putBytes(charSequence.toString().getBytes(charset));
AbstractByteHasher.java 68 public Hasher putBytes(byte[] bytes) {
75 public Hasher putBytes(byte[] bytes, int off, int len) {
AbstractNonStreamingHashFunction.java 91 public Hasher putBytes(byte[] bytes) {
101 public Hasher putBytes(byte[] bytes, int off, int len) {
Funnels.java 47 into.putBytes(from);
241 sink.putBytes(bytes);
245 sink.putBytes(bytes, off, len);
HashingInputStream.java 67 hasher.putBytes(bytes, off, numOfBytesRead);
HashingOutputStream.java 56 hasher.putBytes(bytes, off, len);
HashFunction.java 93 * "push" the relevant data into it using methods like {@link Hasher#putBytes(byte[])},
170 * Shortcut for {@code newHasher().putBytes(input).hash()}. The implementation
177 * Shortcut for {@code newHasher().putBytes(input, off, len).hash()}. The implementation
  /external/r8/src/test/java/com/android/tools/r8/dex/
EncodedFloatingValueTest.java 47 buffer.putBytes(Constants.DEX_FILE_MAGIC_PREFIX);
48 buffer.putBytes(Constants.ANDROID_PRE_N_DEX_VERSION_BYTES);
50 buffer.putBytes(bytes);
Leb128Test.java 50 buffer.putBytes(Constants.DEX_FILE_MAGIC_PREFIX);
51 buffer.putBytes(Constants.ANDROID_PRE_N_DEX_VERSION_BYTES);
53 buffer.putBytes(bytes);
  /external/opencv/
WLNonFileByteStream.h 34 void PutBytes( const void* buffer, int count );
cvjni.h 192 m_strm->PutBytes( fmtSignBmp, (int)strlen(fmtSignBmp) );
215 m_strm->PutBytes( palette, sizeof(palette));
222 m_strm->PutBytes( data, width );
224 m_strm->PutBytes( zeropad, fileStep - width );
WLNonFileByteStream.cpp 77 void WLNonFileByteStream::PutBytes( const void* buffer, int count )