OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:intHash
(Results
1 - 8
of
8
) sorted by null
/libcore/luni/src/main/java/org/apache/harmony/security/utils/
ObjectIdentifier.java
211
int
intHash
= 0;
213
intHash
+= array[i] << (8 * i); //TODO what about to find better one?
215
return
intHash
& 0x7FFFFFFF; // only positive
/external/webkit/Source/JavaScriptCore/wtf/
HashFunctions.h
37
// Thomas Wang's 32 Bit Mix Function: http://www.cris.com/~Ttwang/tech/
inthash
.htm
38
inline unsigned
intHash
(uint8_t key8)
50
// Thomas Wang's 32 Bit Mix Function: http://www.cris.com/~Ttwang/tech/
inthash
.htm
51
inline unsigned
intHash
(uint16_t key16)
63
// Thomas Wang's 32 Bit Mix Function: http://www.cris.com/~Ttwang/tech/
inthash
.htm
64
inline unsigned
intHash
(uint32_t key)
75
// Thomas Wang's 64 bit Mix Function: http://www.cris.com/~Ttwang/tech/
inthash
.htm
76
inline unsigned
intHash
(uint64_t key)
89
template<typename T> struct
IntHash
{
90
static unsigned hash(T key) { return
intHash
(static_cast<typename IntTypes<sizeof(T)>::UnsignedType>(key));
[
all
...]
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/
ObjectIdentifier.java
90
int
intHash
= 0;
92
intHash
+= oid[i] << (8 * i); //TODO what about to find better one?
94
return
intHash
& 0x7FFFFFFF; // only positive
/external/webkit/Source/WebCore/platform/graphics/
IntPointHash.h
31
static unsigned hash(const WebCore::IntPoint& p) { return WTF::
intHash
(static_cast<uint64_t>(p.x()) << 32 | p.y()); }
IntSizeHash.h
29
template<> struct
IntHash
<WebCore::IntSize> {
30
static unsigned hash(const WebCore::IntSize& key) { return
intHash
((static_cast<uint64_t>(key.width()) << 32 | key.height())); }
34
template<> struct DefaultHash<WebCore::IntSize> { typedef
IntHash
<WebCore::IntSize> Hash; };
IntRectHash.h
37
template<> struct
IntHash
<WebCore::IntRect> {
40
return
intHash
(static_cast<uint64_t>(DefaultHash<WebCore::IntPoint>::Hash::hash(key.location())) << 32 | DefaultHash<WebCore::IntSize>::Hash::hash(key.size()));
48
template<> struct DefaultHash<WebCore::IntRect> { typedef
IntHash
<WebCore::IntRect> Hash; };
/libcore/luni/src/main/java/org/apache/harmony/security/x501/
AttributeTypeAndValue.java
454
int
intHash
= 0;
456
intHash
+= oid[i] << (8 * i); //TODO what about to find better one?
458
return
intHash
& 0x7FFFFFFF; // only positive
/libcore/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/
TrustedCertificateStoreTest.java
620
int
intHash
= NativeCrypto.X509_NAME_hash_old(subject);
621
String strHash = IntegralToString.intToHexString(
intHash
, false, 8);
Completed in 252 milliseconds