Searched refs:PrimitiveSink (Results 1 – 11 of 11) 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() 69 public void funnel(CharSequence from, PrimitiveSink into) { in funnel() 95 public void funnel(CharSequence from, PrimitiveSink into) { in funnel() 146 public void funnel(Integer from, PrimitiveSink into) { in funnel() 172 public void funnel(Iterable<? extends E> from, PrimitiveSink into) { in funnel() 207 public void funnel(Long from, PrimitiveSink into) { in funnel() 226 public static OutputStream asOutputStream(PrimitiveSink sink) { in asOutputStream() 231 final PrimitiveSink sink; 232 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 | 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 | 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 | BloomFilterTest.java | 357 public void funnel(Long value, PrimitiveSink into) { in funnel()
|
/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
D | StringMapFunnel.java | 20 import com.google.common.hash.PrimitiveSink; 32 public void funnel(Map<String, String> from, PrimitiveSink into) { in funnel()
|
D | Host.java | 28 import com.google.common.hash.PrimitiveSink; 96 @Override public void funnel(Host from, PrimitiveSink into) { in funnel()
|
D | VmSpec.java | 25 import com.google.common.hash.PrimitiveSink; 94 @Override public void funnel(VmSpec from, PrimitiveSink into) { in funnel()
|
D | BenchmarkSpec.java | 27 import com.google.common.hash.PrimitiveSink; 109 @Override public void funnel(BenchmarkSpec from, PrimitiveSink into) { in funnel()
|