Searched refs:PrimitiveSink (Results 1 – 7 of 7) sorted by relevance
/external/guava/guava/src/com/google/common/hash/ |
D | PrimitiveSink.java | 28 public interface PrimitiveSink { interface 35 PrimitiveSink putByte(byte b); in putByte() 43 PrimitiveSink putBytes(byte[] bytes); in putBytes() 56 PrimitiveSink putBytes(byte[] bytes, int off, int len); in putBytes() 61 PrimitiveSink putShort(short s); in putShort() 66 PrimitiveSink putInt(int i); in putInt() 71 PrimitiveSink putLong(long l); in putLong() 76 PrimitiveSink putFloat(float f); in putFloat() 81 PrimitiveSink putDouble(double d); in putDouble() 86 PrimitiveSink putBoolean(boolean b); in putBoolean() [all …]
|
D | Funnels.java | 46 public void funnel(byte[] from, PrimitiveSink into) { in funnel() 80 public void funnel(CharSequence from, PrimitiveSink into) { in funnel() 106 public void funnel(CharSequence from, PrimitiveSink into) { in funnel() 157 public void funnel(Integer from, PrimitiveSink into) { in funnel() 183 public void funnel(Iterable<? extends E> from, PrimitiveSink into) { in funnel() 218 public void funnel(Long from, PrimitiveSink into) { in funnel() 237 public static OutputStream asOutputStream(PrimitiveSink sink) { in asOutputStream() 242 final PrimitiveSink sink; 243 SinkAsStream(PrimitiveSink sink) { in SinkAsStream()
|
D | Funnel.java | 52 void funnel(T from, PrimitiveSink into); in funnel()
|
D | Hasher.java | 53 public interface Hasher extends PrimitiveSink {
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | FunnelsTest.java | 44 PrimitiveSink primitiveSink = mock(PrimitiveSink.class); in testForBytes() 54 PrimitiveSink primitiveSink = mock(PrimitiveSink.class); in testForStrings() 65 PrimitiveSink primitiveSink = mock(PrimitiveSink.class); in testForStringsCharset() 79 PrimitiveSink primitiveSink = mock(PrimitiveSink.class); in testForInts() 90 PrimitiveSink primitiveSink = mock(PrimitiveSink.class); in testForLongs() 102 PrimitiveSink primitiveSink = mock(PrimitiveSink.class); in testSequential() 113 PrimitiveSink primitiveSink = new AbstractStreamingHasher(4, 4) { in assertNullsThrowException() 129 PrimitiveSink sink = mock(PrimitiveSink.class); in testAsOutputStream()
|
D | HashTestUtils.java | 85 @Override public void funnel(Object object, PrimitiveSink bytePrimitiveSink) { 92 @Override void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_BOOLEAN() 94 for (PrimitiveSink sink : sinks) { in PUT_BOOLEAN() 100 @Override void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_BYTE() 102 for (PrimitiveSink sink : sinks) { in PUT_BYTE() 108 @Override void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_SHORT() 110 for (PrimitiveSink sink : sinks) { in PUT_SHORT() 116 @Override void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_CHAR() 118 for (PrimitiveSink sink : sinks) { in PUT_CHAR() 124 @Override void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_INT() [all …]
|
D | BloomFilterTest.java | 308 public void funnel(Long value, PrimitiveSink into) { in funnel()
|