/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/ |
ZHash.java | 23 * Concrete implementation of ZIndexable. Provides fast element retrieval via hash key. Also provides
28 private HashMap<KeyType, ValueType> hash;
field in class:ZHash 34 hash = new HashMap<KeyType, ValueType>();
45 return hash.get(key);
59 if(hash.containsKey(key)) {
60 hash.put(key, value);
63 hash.put(key, value);
76 if(hash.containsKey(key)) {
77 hash.put(key, value);
80 hash.put(key, value); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/tr1/ |
functional_hash.h | 41 /// Class template hash. 42 // Declaration of default hash functor std::tr1::hash. The types for 43 // which std::tr1::hash<T> is well-defined is in clause 6.3.3. of the PDTR. 45 struct hash : public std::unary_function<_Tp, size_t> struct in namespace:tr1 53 struct hash<_Tp*> : public std::unary_function<_Tp*, size_t> struct in namespace:tr1 64 hash<_Tp>::operator()(_Tp __val) const \ 83 // Fowler / Noll / Vo (FNV) Hash (type FNV-1a) 84 // (Used by the next specializations of std::tr1::hash.) 92 hash(const _Tp* __ptr, size_t __clength function in struct:tr1::_Fnv_hash_base 107 hash(const _Tp* __ptr, size_t __clength) function in struct:tr1::_Fnv_hash_base 125 hash(const _Tp* __ptr, size_t __clength) function in struct:tr1::_Fnv_hash_base 146 hash(const _Tp& __val) function in struct:tr1::_Fnv_hash [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/tr1/ |
functional_hash.h | 41 /// Class template hash. 42 // Declaration of default hash functor std::tr1::hash. The types for 43 // which std::tr1::hash<T> is well-defined is in clause 6.3.3. of the PDTR. 45 struct hash : public std::unary_function<_Tp, size_t> struct in namespace:tr1 53 struct hash<_Tp*> : public std::unary_function<_Tp*, size_t> struct in namespace:tr1 64 hash<_Tp>::operator()(_Tp __val) const \ 83 // Fowler / Noll / Vo (FNV) Hash (type FNV-1a) 84 // (Used by the next specializations of std::tr1::hash.) 92 hash(const _Tp* __ptr, size_t __clength function in struct:tr1::_Fnv_hash_base 107 hash(const _Tp* __ptr, size_t __clength) function in struct:tr1::_Fnv_hash_base 125 hash(const _Tp* __ptr, size_t __clength) function in struct:tr1::_Fnv_hash_base 146 hash(const _Tp& __val) function in struct:tr1::_Fnv_hash [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/tr1/ |
functional_hash.h | 41 /// Class template hash. 42 // Declaration of default hash functor std::tr1::hash. The types for 43 // which std::tr1::hash<T> is well-defined is in clause 6.3.3. of the PDTR. 45 struct hash : public std::unary_function<_Tp, size_t> struct in namespace:tr1 53 struct hash<_Tp*> : public std::unary_function<_Tp*, size_t> struct in namespace:tr1 64 hash<_Tp>::operator()(_Tp __val) const \ 83 // Fowler / Noll / Vo (FNV) Hash (type FNV-1a) 84 // (Used by the next specializations of std::tr1::hash.) 92 hash(const _Tp* __ptr, size_t __clength function in struct:tr1::_Fnv_hash_base 107 hash(const _Tp* __ptr, size_t __clength) function in struct:tr1::_Fnv_hash_base 125 hash(const _Tp* __ptr, size_t __clength) function in struct:tr1::_Fnv_hash_base 146 hash(const _Tp& __val) function in struct:tr1::_Fnv_hash [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/tr1/ |
functional_hash.h | 41 /// Class template hash. 42 // Declaration of default hash functor std::tr1::hash. The types for 43 // which std::tr1::hash<T> is well-defined is in clause 6.3.3. of the PDTR. 45 struct hash : public std::unary_function<_Tp, size_t> struct in namespace:tr1 53 struct hash<_Tp*> : public std::unary_function<_Tp*, size_t> struct in namespace:tr1 64 hash<_Tp>::operator()(_Tp __val) const \ 83 // Fowler / Noll / Vo (FNV) Hash (type FNV-1a) 84 // (Used by the next specializations of std::tr1::hash.) 92 hash(const _Tp* __ptr, size_t __clength function in struct:tr1::_Fnv_hash_base 107 hash(const _Tp* __ptr, size_t __clength) function in struct:tr1::_Fnv_hash_base 125 hash(const _Tp* __ptr, size_t __clength) function in struct:tr1::_Fnv_hash_base 146 hash(const _Tp& __val) function in struct:tr1::_Fnv_hash [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/tr1/ |
functional_hash.h | 41 /// Class template hash. 42 // Declaration of default hash functor std::tr1::hash. The types for 43 // which std::tr1::hash<T> is well-defined is in clause 6.3.3. of the PDTR. 45 struct hash : public std::unary_function<_Tp, size_t> struct in namespace:tr1 53 struct hash<_Tp*> : public std::unary_function<_Tp*, size_t> struct in namespace:tr1 64 hash<_Tp>::operator()(_Tp __val) const \ 83 // Fowler / Noll / Vo (FNV) Hash (type FNV-1a) 84 // (Used by the next specializations of std::tr1::hash.) 92 hash(const _Tp* __ptr, size_t __clength function in struct:tr1::_Fnv_hash_base 107 hash(const _Tp* __ptr, size_t __clength) function in struct:tr1::_Fnv_hash_base 125 hash(const _Tp* __ptr, size_t __clength) function in struct:tr1::_Fnv_hash_base 146 hash(const _Tp& __val) function in struct:tr1::_Fnv_hash [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.6/include/tr1/ |
functional_hash.h | 41 /// Class template hash. 42 // Declaration of default hash functor std::tr1::hash. The types for 43 // which std::tr1::hash<T> is well-defined is in clause 6.3.3. of the PDTR. 45 struct hash : public std::unary_function<_Tp, size_t> struct in namespace:tr1 53 struct hash<_Tp*> : public std::unary_function<_Tp*, size_t> struct in namespace:tr1 64 hash<_Tp>::operator()(_Tp __val) const \ 83 // Fowler / Noll / Vo (FNV) Hash (type FNV-1a) 84 // (Used by the next specializations of std::tr1::hash.) 92 hash(const _Tp* __ptr, size_t __clength function in struct:tr1::_Fnv_hash_base 107 hash(const _Tp* __ptr, size_t __clength) function in struct:tr1::_Fnv_hash_base 125 hash(const _Tp* __ptr, size_t __clength) function in struct:tr1::_Fnv_hash_base 146 hash(const _Tp& __val) function in struct:tr1::_Fnv_hash [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.7/include/tr1/ |
functional_hash.h | 41 /// Class template hash. 42 // Declaration of default hash functor std::tr1::hash. The types for 43 // which std::tr1::hash<T> is well-defined is in clause 6.3.3. of the PDTR. 45 struct hash : public std::unary_function<_Tp, size_t> struct in namespace:tr1 53 struct hash<_Tp*> : public std::unary_function<_Tp*, size_t> struct in namespace:tr1 64 hash<_Tp>::operator()(_Tp __val) const \ 83 // Fowler / Noll / Vo (FNV) Hash (type FNV-1a) 84 // (Used by the next specializations of std::tr1::hash.) 92 hash(const _Tp* __ptr, size_t __clength function in struct:tr1::_Fnv_hash_base 107 hash(const _Tp* __ptr, size_t __clength) function in struct:tr1::_Fnv_hash_base 125 hash(const _Tp* __ptr, size_t __clength) function in struct:tr1::_Fnv_hash_base 146 hash(const _Tp& __val) function in struct:tr1::_Fnv_hash [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/include/tr1/ |
functional_hash.h | 41 /// Class template hash. 42 // Declaration of default hash functor std::tr1::hash. The types for 43 // which std::tr1::hash<T> is well-defined is in clause 6.3.3. of the PDTR. 45 struct hash : public std::unary_function<_Tp, size_t> struct in namespace:tr1 53 struct hash<_Tp*> : public std::unary_function<_Tp*, size_t> struct in namespace:tr1 64 hash<_Tp>::operator()(_Tp __val) const \ 83 // Fowler / Noll / Vo (FNV) Hash (type FNV-1a) 84 // (Used by the next specializations of std::tr1::hash.) 92 hash(const _Tp* __ptr, size_t __clength function in struct:tr1::_Fnv_hash_base 107 hash(const _Tp* __ptr, size_t __clength) function in struct:tr1::_Fnv_hash_base 125 hash(const _Tp* __ptr, size_t __clength) function in struct:tr1::_Fnv_hash_base 146 hash(const _Tp& __val) function in struct:tr1::_Fnv_hash [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.9/include/tr1/ |
functional_hash.h | 41 /// Class template hash. 42 // Declaration of default hash functor std::tr1::hash. The types for 43 // which std::tr1::hash<T> is well-defined is in clause 6.3.3. of the PDTR. 45 struct hash : public std::unary_function<_Tp, size_t> struct in namespace:tr1 53 struct hash<_Tp*> : public std::unary_function<_Tp*, size_t> struct in namespace:tr1 64 hash<_Tp>::operator()(_Tp __val) const \ 83 // Fowler / Noll / Vo (FNV) Hash (type FNV-1a) 84 // (Used by the next specializations of std::tr1::hash.) 92 hash(const _Tp* __ptr, size_t __clength function in struct:tr1::_Fnv_hash_base 107 hash(const _Tp* __ptr, size_t __clength) function in struct:tr1::_Fnv_hash_base 125 hash(const _Tp* __ptr, size_t __clength) function in struct:tr1::_Fnv_hash_base 146 hash(const _Tp& __val) function in struct:tr1::_Fnv_hash [all...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
ExtendedType.java | 32 private int hash; field in class:ExtendedType 36 * The hash code is calculated from the node type, namespace and local name. 47 this.hash = nodetype + namespace.hashCode() + localName.hashCode(); 52 * and a given hash code. 57 * @param hash The given hash code 59 public ExtendedType (int nodetype, String namespace, String localName, int hash) 64 this.hash = hash; 77 this.hash = nodetype + namespace.hashCode() + localName.hashCode() [all...] |
/frameworks/base/core/java/android/content/res/ |
ResourcesKey.java | 41 int hash = 17; local 42 hash = 31 * hash + (mResDir == null ? 0 : mResDir.hashCode()); 43 hash = 31 * hash + mDisplayId; 44 hash = 31 * hash + mOverrideConfiguration.hashCode(); 45 hash = 31 * hash + Float.floatToIntBits(mScale); 46 mHash = hash; [all...] |
/external/icu/icu4c/source/common/ |
uhash.c | 20 /* This hashtable is implemented as a double hash. All elements are 22 * resolution (no linked list, etc.). When there is a hash collision 24 * using a secondary hash. The secondary hash is an increment 25 * computed as a hash function (a different one) of the primary 26 * hashcode. This increment is added to the initial hash value to 27 * obtain further slots assigned to the same hash code. For this to 120 #define HASH_DELETE_KEY_VALUE(hash, keypointer, valuepointer) \ 121 if (hash->keyDeleter != NULL && keypointer != NULL) { \ 122 (*hash->keyDeleter)(keypointer); [all...] |
hash.h | 29 UHashtable* hash; member in class:Hashtable 115 hash = &hashObj; 116 uhash_setKeyDeleter(hash, uprv_deleteUObject); 121 UErrorCode& status) : hash(0) { 125 : hash(0) 136 : hash(0) 142 : hash(0) 149 if (hash != NULL) { 150 uhash_close(hash); 155 return uhash_setValueDeleter(hash, fn) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/bits/ |
functional_hash.h | 56 /// Primary class template hash. 58 struct hash; 62 struct hash<_Tp*> : public __hash_base<size_t, _Tp*> struct in inherits:__hash_base 72 struct hash<_Tp> : public __hash_base<size_t, _Tp> \ 129 hash(const void* __ptr, size_t __clength, function in struct:_Hash_impl 135 hash(const _Tp& __val) function in struct:_Hash_impl 136 { return hash(&__val, sizeof(__val)); } 141 { return hash(&__val, sizeof(__val), __hash); } 147 hash(const void* __ptr, size_t __clength, function in struct:_Fnv_hash_impl 153 hash(const _Tp& __val function in struct:_Fnv_hash_impl 164 struct hash<float> : public __hash_base<size_t, float> struct in inherits:__hash_base 176 struct hash<double> : public __hash_base<size_t, double> struct in inherits:__hash_base 188 struct hash<long double> struct in inherits:__hash_base [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/bits/ |
functional_hash.h | 56 /// Primary class template hash. 58 struct hash; 62 struct hash<_Tp*> : public __hash_base<size_t, _Tp*> struct in inherits:__hash_base 72 struct hash<_Tp> : public __hash_base<size_t, _Tp> \ 129 hash(const void* __ptr, size_t __clength, function in struct:_Hash_impl 135 hash(const _Tp& __val) function in struct:_Hash_impl 136 { return hash(&__val, sizeof(__val)); } 141 { return hash(&__val, sizeof(__val), __hash); } 147 hash(const void* __ptr, size_t __clength, function in struct:_Fnv_hash_impl 153 hash(const _Tp& __val function in struct:_Fnv_hash_impl 164 struct hash<float> : public __hash_base<size_t, float> struct in inherits:__hash_base 176 struct hash<double> : public __hash_base<size_t, double> struct in inherits:__hash_base 188 struct hash<long double> struct in inherits:__hash_base [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/ |
functional_hash.h | 56 /// Primary class template hash. 58 struct hash; 62 struct hash<_Tp*> : public __hash_base<size_t, _Tp*> struct in inherits:__hash_base 72 struct hash<_Tp> : public __hash_base<size_t, _Tp> \ 129 hash(const void* __ptr, size_t __clength, function in struct:_Hash_impl 135 hash(const _Tp& __val) function in struct:_Hash_impl 136 { return hash(&__val, sizeof(__val)); } 141 { return hash(&__val, sizeof(__val), __hash); } 147 hash(const void* __ptr, size_t __clength, function in struct:_Fnv_hash_impl 153 hash(const _Tp& __val function in struct:_Fnv_hash_impl 164 struct hash<float> : public __hash_base<size_t, float> struct in inherits:__hash_base 176 struct hash<double> : public __hash_base<size_t, double> struct in inherits:__hash_base 188 struct hash<long double> struct in inherits:__hash_base [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/include/bits/ |
functional_hash.h | 56 /// Primary class template hash. 58 struct hash; 62 struct hash<_Tp*> : public __hash_base<size_t, _Tp*> struct in inherits:__hash_base 72 struct hash<_Tp> : public __hash_base<size_t, _Tp> \ 129 hash(const void* __ptr, size_t __clength, function in struct:_Hash_impl 135 hash(const _Tp& __val) function in struct:_Hash_impl 136 { return hash(&__val, sizeof(__val)); } 141 { return hash(&__val, sizeof(__val), __hash); } 147 hash(const void* __ptr, size_t __clength, function in struct:_Fnv_hash_impl 153 hash(const _Tp& __val function in struct:_Fnv_hash_impl 164 struct hash<float> : public __hash_base<size_t, float> struct in inherits:__hash_base 176 struct hash<double> : public __hash_base<size_t, double> struct in inherits:__hash_base 188 struct hash<long double> struct in inherits:__hash_base [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/ |
functional_hash.h | 56 /// Primary class template hash. 58 struct hash; 62 struct hash<_Tp*> : public __hash_base<size_t, _Tp*> struct in inherits:__hash_base 72 struct hash<_Tp> : public __hash_base<size_t, _Tp> \ 129 hash(const void* __ptr, size_t __clength, function in struct:_Hash_impl 135 hash(const _Tp& __val) function in struct:_Hash_impl 136 { return hash(&__val, sizeof(__val)); } 141 { return hash(&__val, sizeof(__val), __hash); } 147 hash(const void* __ptr, size_t __clength, function in struct:_Fnv_hash_impl 153 hash(const _Tp& __val function in struct:_Fnv_hash_impl 164 struct hash<float> : public __hash_base<size_t, float> struct in inherits:__hash_base 176 struct hash<double> : public __hash_base<size_t, double> struct in inherits:__hash_base 188 struct hash<long double> struct in inherits:__hash_base [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/precompiler/ |
PrecompiledTemplateMapKey.java | 56 int hash = 17; local 58 hash = 31 * hash + templateName.hashCode(); 59 hash = 31 * hash + escapeMode.hashCode(); 60 return hash;
|
/external/libcxx/test/std/extensions/hash/ |
specializations.fail.cpp | 16 assert(__gnu_cxx::hash<std::string>()(std::string()) == 0); // error
|
/external/libcxx/test/std/utilities/function.objects/unord.hash/ |
enum.fail.cpp | 12 // Hashing a struct w/o a defined hash should fail. 23 size_t h = std::hash<X>{} ( x );
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
compare_common.cc | 28 // hash seed of 5381 recommended. 31 uint32 hash = seed; local 34 hash += (hash << 5) + src[i]; 36 return hash;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/extensions/hash/ |
specializations.fail.cpp | 16 assert(__gnu_cxx::hash<std::string>()(std::string()) == 0); // error
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/unord.hash/ |
enum.fail.cpp | 12 // Hashing a struct w/o a defined hash should fail. 23 size_t h = std::hash<X>{} ( x );
|