/external/guava/guava/src/com/google/common/hash/ |
AbstractCompositeHashFunction.java | 9 * {@code Hasher} objects of the delegate hash functions, and in the end, they are used by 10 * {@linkplain #makeHash(Hasher[])} that constructs the final {@code HashCode}. 22 * Constructs a {@code HashCode} from the {@code Hasher} objects of the functions. Each of them 27 /* protected */ abstract HashCode makeHash(Hasher[] hashers); 30 public Hasher newHasher() { 31 final Hasher[] hashers = new Hasher[functions.length]; 35 return new Hasher() { 36 @Override public Hasher putByte(byte b) { 37 for (Hasher hasher : hashers) [all...] |
/external/guava/guava-tests/test/com/google/common/hash/ |
Murmur3Hash32Test.java | 33 Hasher hasher = murmur3_32(seed).newHasher(); 34 Funnels.byteArrayFunnel().funnel(input, hasher); 35 return hasher.hash().asBytes();
|
HashFunctionsTest.java | 31 HashFunction hasher = Hashing.goodFastHash(i); local 32 assertTrue(hasher.bits() >= i); 33 assertInvariants(hasher); 38 * Checks that a Hasher returns the same HashCode when given the same input, and also
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/tr1/ |
unordered_set.h | 61 typedef typename _Base::hasher hasher; typedef in class:tr1::__unordered_set 67 const hasher& __hf = hasher(), 78 const hasher& __hf = hasher(), 110 typedef typename _Base::hasher hasher; typedef in class:tr1::__unordered_multiset 116 const hasher& __hf = hasher(), 181 typedef typename _Base::hasher hasher; typedef in class:tr1::unordered_set 230 typedef typename _Base::hasher hasher; typedef in class:tr1::unordered_multiset [all...] |
unordered_map.h | 61 typedef typename _Base::hasher hasher; typedef in class:tr1::__unordered_map 67 const hasher& __hf = hasher(), 78 const hasher& __hf = hasher(), 112 typedef typename _Base::hasher hasher; typedef in class:tr1::__unordered_multimap 118 const hasher& __hf = hasher(), 188 typedef typename _Base::hasher hasher; typedef in class:tr1::unordered_map 240 typedef typename _Base::hasher hasher; typedef in class:tr1::unordered_multimap [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/tr1/ |
unordered_set.h | 61 typedef typename _Base::hasher hasher; typedef in class:tr1::__unordered_set 67 const hasher& __hf = hasher(), 78 const hasher& __hf = hasher(), 110 typedef typename _Base::hasher hasher; typedef in class:tr1::__unordered_multiset 116 const hasher& __hf = hasher(), 181 typedef typename _Base::hasher hasher; typedef in class:tr1::unordered_set 230 typedef typename _Base::hasher hasher; typedef in class:tr1::unordered_multiset [all...] |
unordered_map.h | 61 typedef typename _Base::hasher hasher; typedef in class:tr1::__unordered_map 67 const hasher& __hf = hasher(), 78 const hasher& __hf = hasher(), 112 typedef typename _Base::hasher hasher; typedef in class:tr1::__unordered_multimap 118 const hasher& __hf = hasher(), 188 typedef typename _Base::hasher hasher; typedef in class:tr1::unordered_map 240 typedef typename _Base::hasher hasher; typedef in class:tr1::unordered_multimap [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
StringHasher.h | 93 StringHasher hasher; local 98 hasher.addCharacters(Converter(data[0]), Converter(data[1])); 103 hasher.addCharacter(Converter(*data)); 105 return hasher.hash(); 110 StringHasher hasher; local 118 hasher.addCharacter(b0); 122 hasher.addCharacters(b0, b1); 125 return hasher.hash();
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/bits/ |
unordered_set.h | 63 typedef typename _Base::hasher hasher; typedef in class:__unordered_set 69 const hasher& __hf = hasher(), 80 const hasher& __hf = hasher(), 90 const hasher& __hf = hasher(), 132 typedef typename _Base::hasher hasher; typedef in class:__unordered_multiset 257 typedef typename _Base::hasher hasher; typedef in class:unordered_set 322 typedef typename _Base::hasher hasher; typedef in class:unordered_multiset [all...] |
unordered_map.h | 63 typedef typename _Base::hasher hasher; typedef in class:__unordered_map 69 const hasher& __hf = hasher(), 80 const hasher& __hf = hasher(), 90 const hasher& __hf = hasher(), 134 typedef typename _Base::hasher hasher; typedef in class:__unordered_multimap 264 typedef typename _Base::hasher hasher; typedef in class:unordered_map 332 typedef typename _Base::hasher hasher; typedef in class:unordered_multimap [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/bits/ |
unordered_set.h | 63 typedef typename _Base::hasher hasher; typedef in class:__unordered_set 69 const hasher& __hf = hasher(), 80 const hasher& __hf = hasher(), 90 const hasher& __hf = hasher(), 132 typedef typename _Base::hasher hasher; typedef in class:__unordered_multiset 257 typedef typename _Base::hasher hasher; typedef in class:unordered_set 322 typedef typename _Base::hasher hasher; typedef in class:unordered_multiset [all...] |
unordered_map.h | 63 typedef typename _Base::hasher hasher; typedef in class:__unordered_map 69 const hasher& __hf = hasher(), 80 const hasher& __hf = hasher(), 90 const hasher& __hf = hasher(), 134 typedef typename _Base::hasher hasher; typedef in class:__unordered_multimap 264 typedef typename _Base::hasher hasher; typedef in class:unordered_map 332 typedef typename _Base::hasher hasher; typedef in class:unordered_multimap [all...] |
/frameworks/compile/mclinker/include/mcld/ADT/ |
HashBase.h | 75 typedef HashFunctionTy hasher; typedef in class:mcld::HashTableImpl 96 hasher& hash() 99 const hasher& hash() const 130 hasher m_Hasher;
|
/frameworks/compile/libbcc/tools/build/ |
gen-build-info.py | 62 hasher = sha1() 65 hasher.update(buf) 71 return hasher.hexdigest() 74 hasher = sha1() 77 sha1sums.append(compute_sha1(path, hasher)) 78 return (hasher.hexdigest(), sha1sums)
|
/external/stlport/stlport/stl/ |
_hash_set.h | 59 typedef typename _Ht::hasher hasher; typedef in class:hash_set 74 hasher hash_funct() const { return _M_ht.hash_funct(); } 84 : _M_ht(0, hasher(), key_equal(), allocator_type()) {} 86 : _M_ht(__n, hasher(), key_equal(), allocator_type()) {} 87 hash_set(size_type __n, const hasher& __hf) 90 hash_set(size_type __n, const hasher& __hf, const key_equal& __eql, 93 hash_set(size_type __n, const hasher& __hf, const key_equal& __eql) 95 hash_set(size_type __n, const hasher& __hf, const key_equal& __eql, 108 : _M_ht(0, hasher(), key_equal(), allocator_type() 245 typedef typename _Ht::hasher hasher; typedef in class:hash_multiset [all...] |
_hash_map.h | 65 typedef typename _Ht::hasher hasher; typedef in class:hash_map 80 hasher hash_funct() const { return _M_ht.hash_funct(); } 88 hash_map() : _M_ht(0, hasher(), key_equal(), allocator_type()) {} 90 : _M_ht(__n, hasher(), key_equal(), allocator_type()) {} 91 hash_map(size_type __n, const hasher& __hf) 93 hash_map(size_type __n, const hasher& __hf, const key_equal& __eql, 106 : _M_ht(0, hasher(), key_equal(), allocator_type()) 110 : _M_ht(__n, hasher(), key_equal(), allocator_type()) 114 const hasher& __hf 256 typedef typename _Ht::hasher hasher; typedef in class:hash_multimap [all...] |
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_hash_set.h | 59 typedef typename _Ht::hasher hasher; typedef in class:hash_set 74 hasher hash_funct() const { return _M_ht.hash_funct(); } 84 : _M_ht(0, hasher(), key_equal(), allocator_type()) {} 86 : _M_ht(__n, hasher(), key_equal(), allocator_type()) {} 87 hash_set(size_type __n, const hasher& __hf) 90 hash_set(size_type __n, const hasher& __hf, const key_equal& __eql, 93 hash_set(size_type __n, const hasher& __hf, const key_equal& __eql) 95 hash_set(size_type __n, const hasher& __hf, const key_equal& __eql, 108 : _M_ht(0, hasher(), key_equal(), allocator_type() 245 typedef typename _Ht::hasher hasher; typedef in class:hash_multiset [all...] |
_hash_map.h | 65 typedef typename _Ht::hasher hasher; typedef in class:hash_map 80 hasher hash_funct() const { return _M_ht.hash_funct(); } 88 hash_map() : _M_ht(0, hasher(), key_equal(), allocator_type()) {} 90 : _M_ht(__n, hasher(), key_equal(), allocator_type()) {} 91 hash_map(size_type __n, const hasher& __hf) 93 hash_map(size_type __n, const hasher& __hf, const key_equal& __eql, 106 : _M_ht(0, hasher(), key_equal(), allocator_type()) 110 : _M_ht(__n, hasher(), key_equal(), allocator_type()) 114 const hasher& __hf 256 typedef typename _Ht::hasher hasher; typedef in class:hash_multimap [all...] |
/prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/stl/ |
_hash_set.h | 59 typedef typename _Ht::hasher hasher; typedef in class:hash_set 74 hasher hash_funct() const { return _M_ht.hash_funct(); } 84 : _M_ht(0, hasher(), key_equal(), allocator_type()) {} 86 : _M_ht(__n, hasher(), key_equal(), allocator_type()) {} 87 hash_set(size_type __n, const hasher& __hf) 90 hash_set(size_type __n, const hasher& __hf, const key_equal& __eql, 93 hash_set(size_type __n, const hasher& __hf, const key_equal& __eql) 95 hash_set(size_type __n, const hasher& __hf, const key_equal& __eql, 108 : _M_ht(0, hasher(), key_equal(), allocator_type() 245 typedef typename _Ht::hasher hasher; typedef in class:hash_multiset [all...] |
_hash_map.h | 65 typedef typename _Ht::hasher hasher; typedef in class:hash_map 80 hasher hash_funct() const { return _M_ht.hash_funct(); } 88 hash_map() : _M_ht(0, hasher(), key_equal(), allocator_type()) {} 90 : _M_ht(__n, hasher(), key_equal(), allocator_type()) {} 91 hash_map(size_type __n, const hasher& __hf) 93 hash_map(size_type __n, const hasher& __hf, const key_equal& __eql, 106 : _M_ht(0, hasher(), key_equal(), allocator_type()) 110 : _M_ht(__n, hasher(), key_equal(), allocator_type()) 114 const hasher& __hf 256 typedef typename _Ht::hasher hasher; typedef in class:hash_multimap [all...] |
/prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/stl/ |
_hash_set.h | 59 typedef typename _Ht::hasher hasher; typedef in class:hash_set 74 hasher hash_funct() const { return _M_ht.hash_funct(); } 84 : _M_ht(0, hasher(), key_equal(), allocator_type()) {} 86 : _M_ht(__n, hasher(), key_equal(), allocator_type()) {} 87 hash_set(size_type __n, const hasher& __hf) 90 hash_set(size_type __n, const hasher& __hf, const key_equal& __eql, 93 hash_set(size_type __n, const hasher& __hf, const key_equal& __eql) 95 hash_set(size_type __n, const hasher& __hf, const key_equal& __eql, 108 : _M_ht(0, hasher(), key_equal(), allocator_type() 245 typedef typename _Ht::hasher hasher; typedef in class:hash_multiset [all...] |
_hash_map.h | 65 typedef typename _Ht::hasher hasher; typedef in class:hash_map 80 hasher hash_funct() const { return _M_ht.hash_funct(); } 88 hash_map() : _M_ht(0, hasher(), key_equal(), allocator_type()) {} 90 : _M_ht(__n, hasher(), key_equal(), allocator_type()) {} 91 hash_map(size_type __n, const hasher& __hf) 93 hash_map(size_type __n, const hasher& __hf, const key_equal& __eql, 106 : _M_ht(0, hasher(), key_equal(), allocator_type()) 110 : _M_ht(__n, hasher(), key_equal(), allocator_type()) 114 const hasher& __hf 256 typedef typename _Ht::hasher hasher; typedef in class:hash_multimap [all...] |
/prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/stl/ |
_hash_set.h | 59 typedef typename _Ht::hasher hasher; typedef in class:hash_set 74 hasher hash_funct() const { return _M_ht.hash_funct(); } 84 : _M_ht(0, hasher(), key_equal(), allocator_type()) {} 86 : _M_ht(__n, hasher(), key_equal(), allocator_type()) {} 87 hash_set(size_type __n, const hasher& __hf) 90 hash_set(size_type __n, const hasher& __hf, const key_equal& __eql, 93 hash_set(size_type __n, const hasher& __hf, const key_equal& __eql) 95 hash_set(size_type __n, const hasher& __hf, const key_equal& __eql, 108 : _M_ht(0, hasher(), key_equal(), allocator_type() 245 typedef typename _Ht::hasher hasher; typedef in class:hash_multiset [all...] |
_hash_map.h | 65 typedef typename _Ht::hasher hasher; typedef in class:hash_map 80 hasher hash_funct() const { return _M_ht.hash_funct(); } 88 hash_map() : _M_ht(0, hasher(), key_equal(), allocator_type()) {} 90 : _M_ht(__n, hasher(), key_equal(), allocator_type()) {} 91 hash_map(size_type __n, const hasher& __hf) 93 hash_map(size_type __n, const hasher& __hf, const key_equal& __eql, 106 : _M_ht(0, hasher(), key_equal(), allocator_type()) 110 : _M_ht(__n, hasher(), key_equal(), allocator_type()) 114 const hasher& __hf 256 typedef typename _Ht::hasher hasher; typedef in class:hash_multimap [all...] |
/prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/stl/ |
_hash_set.h | 59 typedef typename _Ht::hasher hasher; typedef in class:hash_set 74 hasher hash_funct() const { return _M_ht.hash_funct(); } 84 : _M_ht(0, hasher(), key_equal(), allocator_type()) {} 86 : _M_ht(__n, hasher(), key_equal(), allocator_type()) {} 87 hash_set(size_type __n, const hasher& __hf) 90 hash_set(size_type __n, const hasher& __hf, const key_equal& __eql, 93 hash_set(size_type __n, const hasher& __hf, const key_equal& __eql) 95 hash_set(size_type __n, const hasher& __hf, const key_equal& __eql, 108 : _M_ht(0, hasher(), key_equal(), allocator_type() 245 typedef typename _Ht::hasher hasher; typedef in class:hash_multiset [all...] |