Home
last modified time | relevance | path

Searched refs:funnel (Results 1 – 25 of 40) sorted by relevance

12

/external/guava/guava/src/com/google/common/hash/
DBloomFilter.java75 <T> boolean put(T object, Funnel<? super T> funnel, int numHashFunctions, BitArray bits); in put() argument
82 T object, Funnel<? super T> funnel, int numHashFunctions, BitArray bits); in mightContain() argument
101 private final Funnel<? super T> funnel; field in BloomFilter
111 private BloomFilter(BitArray bits, int numHashFunctions, Funnel<? super T> funnel, in BloomFilter() argument
119 this.funnel = checkNotNull(funnel); in BloomFilter()
130 return new BloomFilter<T>(bits.copy(), numHashFunctions, funnel, strategy); in copy()
138 return strategy.mightContain(object, funnel, numHashFunctions, bits); in mightContain()
164 return strategy.put(object, funnel, numHashFunctions, bits); in put()
211 (this.funnel.equals(that.funnel)); in isCompatible()
236 checkArgument(this.funnel.equals(that.funnel), in putAll()
[all …]
DFunnels.java46 public void funnel(byte[] from, PrimitiveSink into) { in funnel() method in Funnels.ByteArrayFunnel
69 public void funnel(CharSequence from, PrimitiveSink into) { in funnel() method in Funnels.UnencodedCharsFunnel
95 public void funnel(CharSequence from, PrimitiveSink into) { in funnel() method in Funnels.StringCharsetFunnel
105 StringCharsetFunnel funnel = (StringCharsetFunnel) o; in equals() local
106 return this.charset.equals(funnel.charset); in equals()
146 public void funnel(Integer from, PrimitiveSink into) { in funnel() method in Funnels.IntegerFunnel
172 public void funnel(Iterable<? extends E> from, PrimitiveSink into) { in funnel() method in Funnels.SequentialFunnel
174 elementFunnel.funnel(e, into); in funnel()
184 SequentialFunnel<?> funnel = (SequentialFunnel<?>) o; in equals() local
185 return elementFunnel.equals(funnel.elementFunnel); in equals()
[all …]
DBloomFilterStrategies.java45 @Override public <T> boolean put(T object, Funnel<? super T> funnel, in MURMUR128_MITZ_32() argument
48 long hash64 = Hashing.murmur3_128().hashObject(object, funnel).asLong(); in MURMUR128_MITZ_32()
64 @Override public <T> boolean mightContain(T object, Funnel<? super T> funnel, in MURMUR128_MITZ_32() argument
67 long hash64 = Hashing.murmur3_128().hashObject(object, funnel).asLong(); in MURMUR128_MITZ_32()
92 public <T> boolean put(T object, Funnel<? super T> funnel, in MURMUR128_MITZ_64() argument
95 byte[] bytes = Hashing.murmur3_128().hashObject(object, funnel).getBytesInternal(); in MURMUR128_MITZ_64()
110 public <T> boolean mightContain(T object, Funnel<? super T> funnel, in MURMUR128_MITZ_64() argument
113 byte[] bytes = Hashing.murmur3_128().hashObject(object, funnel).getBytesInternal(); in MURMUR128_MITZ_64()
DAbstractNonStreamingHashFunction.java44 @Override public <T> HashCode hashObject(T instance, Funnel<? super T> funnel) { in hashObject() argument
45 return newHasher().putObject(instance, funnel).hash(); in hashObject()
138 public <T> Hasher putObject(T instance, Funnel<? super T> funnel) { in putObject() argument
139 funnel.funnel(instance, this); in putObject()
DAbstractStreamingHashFunction.java36 @Override public <T> HashCode hashObject(T instance, Funnel<? super T> funnel) { in hashObject() argument
37 return newHasher().putObject(instance, funnel).hash(); in hashObject()
222 public final <T> Hasher putObject(T instance, Funnel<? super T> funnel) { in putObject() argument
223 funnel.funnel(instance, this); in putObject()
DAbstractByteHasher.java118 public <T> Hasher putObject(T instance, Funnel<? super T> funnel) { in putObject() argument
119 funnel.funnel(instance, this); in putObject()
DAbstractCompositeHashFunction.java139 @Override public <T> Hasher putObject(T instance, Funnel<? super T> funnel) { in newHasher() argument
141 hasher.putObject(instance, funnel); in newHasher()
DFunnel.java52 void funnel(T from, PrimitiveSink into); in funnel() method
DHashFunction.java209 <T> HashCode hashObject(T instance, Funnel<? super T> funnel); in hashObject() argument
DHasher.java93 <T> Hasher putObject(T instance, Funnel<? super T> funnel); in putObject() argument
/external/guava/guava-tests/test/com/google/common/hash/
DFunnelsTest.java45 Funnels.byteArrayFunnel().funnel(new byte[] { 4, 3, 2, 1 }, primitiveSink); in testForBytes()
55 Funnels.unencodedCharsFunnel().funnel("test", primitiveSink); in testForStrings()
66 Funnels.stringFunnel(charset).funnel("test", primitiveSink); in testForStringsCharset()
80 Funnels.integerFunnel().funnel(value, primitiveSink); in testForInts()
91 Funnels.longFunnel().funnel(value, primitiveSink); in testForLongs()
104 sequential.funnel(Arrays.asList("foo", "bar", "baz", "quux"), primitiveSink); in testSequential()
106 inOrder.verify(elementFunnel).funnel("foo", primitiveSink); in testSequential()
107 inOrder.verify(elementFunnel).funnel("bar", primitiveSink); in testSequential()
108 inOrder.verify(elementFunnel).funnel("baz", primitiveSink); in testSequential()
109 inOrder.verify(elementFunnel).funnel("quux", primitiveSink); in testSequential()
[all …]
DBloomFilterTest.java357 public void funnel(Long value, PrimitiveSink into) { in funnel() method in BloomFilterTest.CustomFunnel
449 Funnel<byte[]> funnel = Funnels.byteArrayFunnel(); in testCustomSerialization() local
450 BloomFilter<byte[]> bf = BloomFilter.create(funnel, 100); in testCustomSerialization()
458 assertEquals(bf, BloomFilter.readFrom(new ByteArrayInputStream(out.toByteArray()), funnel)); in testCustomSerialization()
DMurmur3Hash32Test.java63 Funnels.byteArrayFunnel().funnel(input, hasher); in testParanoid()
DMurmur3Hash128Test.java73 Funnels.byteArrayFunnel().funnel(input, hasher); in testParanoid()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/Inline/
Dinline-brunch-funnel.ll1 ; Test that inliner skips @llvm.icall.branch.funnel
7 declare void @llvm.icall.branch.funnel(...)
18 musttail call void (...) @llvm.icall.branch.funnel(...)
19 ; CHECK: musttail call void (...) @llvm.icall.branch.funnel(
32 musttail call void (...) @llvm.icall.branch.funnel(...)
33 ; CHECK: musttail call void (...) @llvm.icall.branch.funnel(
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LowerTypeTests/
Dicall-branch-funnel.ll27 musttail call void (...) @llvm.icall.branch.funnel(
37 musttail call void (...) @llvm.icall.branch.funnel(
46 declare void @llvm.icall.branch.funnel(...)
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/WholeProgramDevirt/
Dbranch-funnel-threshold.ll1 …rite-summary=%t -wholeprogramdevirt-branch-funnel-threshold=1 -S -o - %s | not grep @llvm.icall.br…
3 …-write-summary=%t -wholeprogramdevirt-branch-funnel-threshold=10 -S -o - %s | grep @llvm.icall.bra…
5 …write-summary=%t -wholeprogramdevirt-branch-funnel-threshold=100 -S -o - %s | grep @llvm.icall.bra…
Dbranch-funnel.ll99 ; CHECK-NOT: call void (...) @llvm.icall.branch.funnel
118 ; CHECK-NOT: call void (...) @llvm.icall.branch.funnel
134 ; CHECK-NOT: call void (...) @llvm.icall.branch.funnel
152 ; CHECK-NEXT: musttail call void (...) @llvm.icall.branch.funnel(i8* %0, i8* bitcast ([1 x i8*]* {{…
Dimport.ll8 …tion=import -wholeprogramdevirt-read-summary=%S/Inputs/import-vcp-branch-funnel.yaml < %s | FileCh…
9 …y-action=import -wholeprogramdevirt-read-summary=%S/Inputs/import-branch-funnel.yaml < %s | FileCh…
/external/caliper/caliper/src/main/java/com/google/caliper/model/
DVmSpec.java94 @Override public void funnel(VmSpec from, PrimitiveSink into) { in funnel() method in VmSpec.VmSpecFunnel
95 StringMapFunnel.INSTANCE.funnel(from.properties, into); in funnel()
96 StringMapFunnel.INSTANCE.funnel(from.options, into); in funnel()
DHost.java96 @Override public void funnel(Host from, PrimitiveSink into) { in funnel() method in Host.HostFunnel
97 StringMapFunnel.INSTANCE.funnel(from.properties, into); in funnel()
DBenchmarkSpec.java109 @Override public void funnel(BenchmarkSpec from, PrimitiveSink into) { in funnel() method in BenchmarkSpec.BenchmarkSpecFunnel
112 StringMapFunnel.INSTANCE.funnel(from.parameters, into); in funnel()
DStringMapFunnel.java32 public void funnel(Map<String, String> from, PrimitiveSink into) { in funnel() method in StringMapFunnel
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dicall-branch-funnel.ll16 declare void @llvm.icall.branch.funnel(...)
27 musttail call void (...) @llvm.icall.branch.funnel(
49 musttail call void (...) @llvm.icall.branch.funnel(
92 musttail call void (...) @llvm.icall.branch.funnel(
155 musttail call void (...) @llvm.icall.branch.funnel(
/external/u-boot/arch/arm/dts/
Dimx7s.dtsi192 funnel@30041000 {
193 compatible = "arm,coresight-funnel", "arm,primecell";
202 /* funnel input ports */
211 /* funnel output port */
237 funnel@30083000 {
238 compatible = "arm,coresight-funnel", "arm,primecell";
247 /* funnel input ports */

12