/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...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/bits/ |
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...] |
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...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/tr1/ |
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...] |
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...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/bits/ |
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...] |
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...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/tr1/ |
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...] |
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...] |
/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();
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
HashTable.h | 45 typedef HashFunctionTy hasher; typedef in class:mcld::HashTable
|
HashBase.h | 75 typedef HashFunctionTy hasher; typedef in class:mcld::HashTableImpl 96 hasher& hash() 99 const hasher& hash() const 130 hasher m_Hasher;
|
/external/chromium/sdch/open-vcdiff/src/ |
vcdiffengine.cc | 170 RollingHash<BlockHash::kBlockSize> hasher; local 191 uint32_t hash_value = hasher.Hash(candidate_pos); 209 hash_value = hasher.Hash(candidate_pos); 226 hash_value = hasher.UpdateHash(hash_value,
|
rolling_hash_test.cc | 106 RollingHash<kBlockSize> hasher; local 110 result_array[i] = hasher.Hash(&buffer[i]); 117 RollingHash<kBlockSize> hasher; local 120 uint32_t running_hash = hasher.Hash(buffer); 122 running_hash = hasher.UpdateHash(running_hash, 139 RollingHash<kBlockSize> hasher; local 144 uint32_t running_hash = hasher.Hash(buffer_); 147 running_hash = hasher.UpdateHash(running_hash, 152 EXPECT_EQ(running_hash, hasher.Hash(&buffer_[i + 1 - kBlockSize]));
|
/external/guava/guava-tests/test/com/google/common/hash/ |
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
|
/external/stlport/stlport/stl/ |
_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...] |
_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...] |
_unordered_map.h | 57 typedef typename _Ht::hasher hasher; typedef in class:unordered_map 74 hasher hash_function() const { return _M_ht.hash_funct(); } 83 explicit unordered_map(size_type __n = 0, const hasher& __hf = hasher(), 96 size_type __n = 0, const hasher& __hf = hasher(), 103 size_type __n = 0, const hasher& __hf = hasher(), 110 size_type __n = 0, const hasher& __hf = hasher() 225 typedef typename _Ht::hasher hasher; typedef in class:unordered_multimap [all...] |
_unordered_set.h | 51 typedef typename _Ht::hasher hasher; typedef in class:unordered_set 68 hasher hash_function() const { return _M_ht.hash_funct(); } 77 explicit unordered_set(size_type __n = 0, const hasher& __hf = hasher(), 90 size_type __n = 0, const hasher& __hf = hasher(), 97 size_type __n = 0, const hasher& __hf = hasher(), 104 size_type __n = 0, const hasher& __hf = hasher() 201 typedef typename _Ht::hasher hasher; typedef in class:unordered_multiset [all...] |
/external/stlport/stlport/stl/debug/ |
_hashtable.h | 105 typedef _HF hasher; typedef in class:hashtable 120 hasher hash_funct() const { return _M_non_dbg_impl.hash_funct(); }
|
/external/webkit/Source/WebCore/dom/ |
StyledElement.cpp | 406 StringHasher hasher; local 410 hasher.addCharacters(data[0], data[1]); 412 hasher.addCharacters(data[2], data[3]); 415 hasher.addCharacters(data[0], data[1]); 417 hasher.addCharacters(data[2], data[3]); 419 return hasher.hash();
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_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...] |
_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...] |
_unordered_map.h | 57 typedef typename _Ht::hasher hasher; typedef in class:unordered_map 74 hasher hash_function() const { return _M_ht.hash_funct(); } 83 explicit unordered_map(size_type __n = 0, const hasher& __hf = hasher(), 96 size_type __n = 0, const hasher& __hf = hasher(), 103 size_type __n = 0, const hasher& __hf = hasher(), 110 size_type __n = 0, const hasher& __hf = hasher() 225 typedef typename _Ht::hasher hasher; typedef in class:unordered_multimap [all...] |
_unordered_set.h | 51 typedef typename _Ht::hasher hasher; typedef in class:unordered_set 68 hasher hash_function() const { return _M_ht.hash_funct(); } 77 explicit unordered_set(size_type __n = 0, const hasher& __hf = hasher(), 90 size_type __n = 0, const hasher& __hf = hasher(), 97 size_type __n = 0, const hasher& __hf = hasher(), 104 size_type __n = 0, const hasher& __hf = hasher() 201 typedef typename _Ht::hasher hasher; typedef in class:unordered_multiset [all...] |