/dalvik/dx/src/com/android/dx/rop/annotation/ |
Annotation.java | 83 int hash = type.hashCode(); local 84 hash = (hash * 31) + elements.hashCode(); 85 hash = (hash * 31) + visibility.hashCode(); 86 return hash;
|
/external/boringssl/src/include/openssl/ |
lhash_macros.h | 20 #define lh_ASN1_OBJECT_new(hash, comp) \ 22 CHECKED_CAST(lhash_hash_func, uint32_t (*)(const ASN1_OBJECT *), hash), \ 59 #define lh_CONF_VALUE_new(hash, comp) \ 61 CHECKED_CAST(lhash_hash_func, uint32_t (*)(const CONF_VALUE *), hash), \ 96 #define lh_SSL_SESSION_new(hash, comp) \ 98 CHECKED_CAST(lhash_hash_func, uint32_t (*)(const SSL_SESSION *), hash), \
|
/external/dexmaker/src/dx/java/com/android/dx/rop/annotation/ |
Annotation.java | 84 int hash = type.hashCode(); local 85 hash = (hash * 31) + elements.hashCode(); 86 hash = (hash * 31) + visibility.hashCode(); 87 return hash;
|
/external/guava/guava/src/com/google/common/hash/ |
AbstractNonStreamingHashFunction.java | 17 package com.google.common.hash; 28 * All the hash computation done using {@linkplain #newHasher()} are delegated to the {@linkplain 46 return newHasher().putObject(instance, funnel).hash(); 63 return hasher.hash(); 75 return newHasher(4).putInt(input).hash(); 79 return newHasher(8).putLong(input).hash(); 157 public HashCode hash() { method in class:AbstractNonStreamingHashFunction.BufferingHasher
|
/external/guava/guava-tests/test/com/google/common/hash/ |
HashTestUtils.java | 17 package com.google.common.hash; 55 byte[] hash(byte[] input, int seed); method in interface:HashTestUtils.HashFn 64 // Hash keys of the form {}, {0}, {0,1}, {0,1,2}... up to N=255,using 256-N as the seed 68 byte[] hash = hashFunction.hash(Arrays.copyOf(key, i), seed); 69 System.arraycopy(hash, 0, hashes, i * hashBytes, hash.length); 72 // Then hash the result array 73 byte[] result = hashFunction.hash(hashes, 0); 232 * Test that the hash function contains no funnels. A funnel is a situation where a set of inpu 526 hashFunction.newHasher().putUnencodedChars("abc").hash(), method 527 hashFunction.newHasher().putUnencodedChars("ab").putUnencodedChars("c").hash(), method 528 hashFunction.newHasher().putUnencodedChars("a").putUnencodedChars("bc").hash(), method 530 .putUnencodedChars("c").hash(), method 531 hashFunction.newHasher().putChar('a').putUnencodedChars("bc").hash(), method 532 hashFunction.newHasher().putUnencodedChars("ab").putChar('c').hash(), method [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/texture/ |
Texture2D.java | 199 int hash = super.hashCode(); local 200 hash = 79 * hash + (this.wrapS != null ? this.wrapS.hashCode() : 0); 201 hash = 79 * hash + (this.wrapT != null ? this.wrapT.hashCode() : 0); 202 return hash;
|
/external/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/ |
allocator.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 31 test_hash<std::hash<NotConstructible> >, 38 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >()); 51 test_hash<std::hash<NotConstructible> >, 58 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >()); 72 typedef test_hash<std::hash<T>> HF; 91 typedef test_hash<std::hash<T>> HF;
|
copy_alloc.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 32 test_hash<std::hash<int> >, 48 test_hash<std::hash<int> >(8), 59 assert(c.hash_function() == test_hash<std::hash<int> >(8)); 72 test_hash<std::hash<int> >, 88 test_hash<std::hash<int> >(8), 99 assert(c.hash_function() == test_hash<std::hash<int> >(8));
|
init_size_hash_equal_allocator.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 34 test_hash<std::hash<int> >, 48 test_hash<std::hash<int> >(8), 58 assert(c.hash_function() == test_hash<std::hash<int> >(8)); 71 test_hash<std::hash<int> >, 85 test_hash<std::hash<int> >(8), 95 assert(c.hash_function() == test_hash<std::hash<int> >(8));
|
range_size_hash.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 36 test_hash<std::hash<int> >, 52 test_hash<std::hash<int> >(8) 60 assert(c.hash_function() == test_hash<std::hash<int> >(8)); 73 test_hash<std::hash<int> >, 89 test_hash<std::hash<int> >(8) 97 assert(c.hash_function() == test_hash<std::hash<int> >(8));
|
range_size_hash_equal.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 36 test_hash<std::hash<int> >, 52 test_hash<std::hash<int> >(8), 61 assert(c.hash_function() == test_hash<std::hash<int> >(8)); 74 test_hash<std::hash<int> >, 90 test_hash<std::hash<int> >(8), 99 assert(c.hash_function() == test_hash<std::hash<int> >(8));
|
range_size_hash_equal_allocator.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 37 test_hash<std::hash<int> >, 53 test_hash<std::hash<int> >(8), 63 assert(c.hash_function() == test_hash<std::hash<int> >(8)); 76 test_hash<std::hash<int> >, 92 test_hash<std::hash<int> >(8), 102 assert(c.hash_function() == test_hash<std::hash<int> >(8));
|
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/ |
allocator.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 31 test_hash<std::hash<NotConstructible> >, 38 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >()); 51 test_hash<std::hash<NotConstructible> >, 58 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >()); 72 typedef test_hash<std::hash<T>> HF; 91 typedef test_hash<std::hash<T>> HF;
|
copy_alloc.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 32 test_hash<std::hash<int> >, 48 test_hash<std::hash<int> >(8), 73 assert(c.hash_function() == test_hash<std::hash<int> >(8)); 86 test_hash<std::hash<int> >, 102 test_hash<std::hash<int> >(8), 127 assert(c.hash_function() == test_hash<std::hash<int> >(8));
|
/external/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/ |
allocator.pass.cpp | 12 // template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>, 31 test_hash<std::hash<NotConstructible> >, 37 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >()); 49 test_hash<std::hash<NotConstructible> >, 55 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >()); 67 typedef test_hash<std::hash<T>> HF; 87 typedef test_hash<std::hash<T>> HF;
|
copy_alloc.pass.cpp | 12 // template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>, 31 test_hash<std::hash<int> >, 47 test_hash<std::hash<int> >(8), 66 assert(c.hash_function() == test_hash<std::hash<int> >(8)); 78 test_hash<std::hash<int> >, 94 test_hash<std::hash<int> >(8), 113 assert(c.hash_function() == test_hash<std::hash<int> >(8));
|
/external/libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/ |
allocator.pass.cpp | 12 // template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>, 31 test_hash<std::hash<NotConstructible> >, 37 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >()); 49 test_hash<std::hash<NotConstructible> >, 55 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >()); 67 typedef test_hash<std::hash<T>> HF; 87 typedef test_hash<std::hash<T>> HF;
|
/libcore/luni/src/main/java/java/util/ |
UUID.java | 55 private transient int hash; field in class:UUID 78 // setup hash field 81 hash = msbHash ^ lsbHash; 155 private static UUID makeUuid(byte[] hash, int version) { 156 long msb = Memory.peekLong(hash, 0, ByteOrder.BIG_ENDIAN); 157 long lsb = Memory.peekLong(hash, 8, ByteOrder.BIG_ENDIAN); 371 * Returns a hash value for this UUID that is consistent with the 378 return hash;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/unord.map.cnstr/ |
allocator.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 31 test_hash<std::hash<NotConstructible> >, 38 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >()); 51 test_hash<std::hash<NotConstructible> >, 58 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >()); 72 typedef test_hash<std::hash<T>> HF; 91 typedef test_hash<std::hash<T>> HF;
|
copy_alloc.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 32 test_hash<std::hash<int> >, 48 test_hash<std::hash<int> >(8), 59 assert(c.hash_function() == test_hash<std::hash<int> >(8)); 72 test_hash<std::hash<int> >, 88 test_hash<std::hash<int> >(8), 99 assert(c.hash_function() == test_hash<std::hash<int> >(8));
|
init_size_hash_equal_allocator.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 34 test_hash<std::hash<int> >, 48 test_hash<std::hash<int> >(8), 58 assert(c.hash_function() == test_hash<std::hash<int> >(8)); 71 test_hash<std::hash<int> >, 85 test_hash<std::hash<int> >(8), 95 assert(c.hash_function() == test_hash<std::hash<int> >(8));
|
range_size_hash.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 36 test_hash<std::hash<int> >, 52 test_hash<std::hash<int> >(8) 60 assert(c.hash_function() == test_hash<std::hash<int> >(8)); 73 test_hash<std::hash<int> >, 89 test_hash<std::hash<int> >(8) 97 assert(c.hash_function() == test_hash<std::hash<int> >(8));
|
range_size_hash_equal.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 36 test_hash<std::hash<int> >, 52 test_hash<std::hash<int> >(8), 61 assert(c.hash_function() == test_hash<std::hash<int> >(8)); 74 test_hash<std::hash<int> >, 90 test_hash<std::hash<int> >(8), 99 assert(c.hash_function() == test_hash<std::hash<int> >(8));
|
range_size_hash_equal_allocator.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 37 test_hash<std::hash<int> >, 53 test_hash<std::hash<int> >(8), 63 assert(c.hash_function() == test_hash<std::hash<int> >(8)); 76 test_hash<std::hash<int> >, 92 test_hash<std::hash<int> >(8), 102 assert(c.hash_function() == test_hash<std::hash<int> >(8));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/unord.multimap.cnstr/ |
allocator.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 31 test_hash<std::hash<NotConstructible> >, 38 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >()); 51 test_hash<std::hash<NotConstructible> >, 58 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >()); 72 typedef test_hash<std::hash<T>> HF; 91 typedef test_hash<std::hash<T>> HF;
|