Home
last modified time | relevance | path

Searched refs:hashcode (Results 1 – 16 of 16) sorted by relevance

/external/icu/icu4c/source/common/
Duhash.cpp144 int32_t hashcode, in _uhash_setElement() argument
175 e->hashcode = hashcode; in _uhash_setElement()
185 U_ASSERT(!IS_EMPTY_OR_DELETED(e->hashcode)); in _uhash_internalRemoveElement()
239 p->hashcode = HASH_EMPTY; in _uhash_allocate()
334 int32_t hashcode) { in _uhash_find() argument
342 hashcode &= 0x7FFFFFFF; /* must be positive */ in _uhash_find()
343 startIndex = theIndex = (hashcode ^ 0x4000000) % hash->length; in _uhash_find()
346 tableHash = elements[theIndex].hashcode; in _uhash_find()
347 if (tableHash == hashcode) { /* quick check */ in _uhash_find()
366 jump = (hashcode % (hash->length - 1)) + 1; in _uhash_find()
[all …]
Duhash.h98 int32_t hashcode; member
/external/antlr/tool/src/main/java/org/antlr/analysis/
DSemanticContext.java308 protected int hashcode; field in SemanticContext.CommutativePredicate
325 hashcode = calculateHashCode(); in CommutativePredicate()
338 hashcode = calculateHashCode(); in CommutativePredicate()
416 return hashcode; in hashCode()
490 int hashcode = 0; in calculateHashCode() local
492 hashcode = hashcode ^ context.hashCode(); in calculateHashCode()
495 return hashcode; in calculateHashCode()
538 int hashcode = 0; in calculateHashCode() local
540 hashcode = ~hashcode ^ context.hashCode(); in calculateHashCode()
543 return hashcode; in calculateHashCode()
/external/apache-http/src/org/apache/http/util/
DLangUtils.java56 public static int hashCode(final int seed, final int hashcode) { in hashCode() argument
57 return seed * HASH_OFFSET + hashcode; in hashCode()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDigitList_Android.java824 int hashcode = decimalAt;
827 hashcode = hashcode * 37 + digits[i];
829 return hashcode;
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDigitList_Android.java826 int hashcode = decimalAt;
829 hashcode = hashcode * 37 + digits[i];
831 return hashcode;
/external/python/cpython2/Lib/test/
Dtest_mutants.py91 self.hashcode = random.randrange(1000000000)
95 return self.hashcode
Dtest_descr.py3001 self.hashcode = hash(self.canonical)
3009 return self.hashcode
/external/python/cpython2/Include/
Ddatetime.h37 long hashcode; /* -1 when unknown */ member
54 long hashcode; \
/external/python/cpython2/Modules/
Ddatetimemodule.c644 self->hashcode = -1; in set_date_fields()
708 self->hashcode = -1; in new_time_ex()
746 self->hashcode = -1; in new_delta_ex()
1789 if (self->hashcode == -1) { in delta_hash()
1792 self->hashcode = PyObject_Hash(temp); in delta_hash()
1796 return self->hashcode; in delta_hash()
2303 me->hashcode = -1; in date_new()
2671 if (self->hashcode == -1) { in date_hash()
2674 self->hashcode = PyObject_Hash(temp); in date_hash()
2678 return self->hashcode; in date_hash()
[all …]
/external/python/cpython3/Include/
Ddatetime.h37 Py_hash_t hashcode; /* -1 when unknown */ member
54 Py_hash_t hashcode; \
/external/python/cpython3/Modules/
D_datetimemodule.c660 self->hashcode = -1; in set_date_fields()
980 self->hashcode = -1; in new_time_ex2()
1026 self->hashcode = -1; in new_delta_ex()
2158 if (self->hashcode == -1) { in delta_hash()
2161 self->hashcode = PyObject_Hash(temp); in delta_hash()
2165 return self->hashcode; in delta_hash()
2789 me->hashcode = -1; in date_from_pickle()
3206 if (self->hashcode == -1) { in date_hash()
3207 self->hashcode = generic_hash( in date_hash()
3211 return self->hashcode; in date_hash()
[all …]
/external/javaparser/javaparser-testing/src/test/resources/com/github/javaparser/bdd/
Dvisitor_scenarios.story15 Then the CompilationUnit has the same hashcode to the second CompilationUnit
Dparsing_scenarios.story76 Then the CompilationUnit has the same hashcode to the second CompilationUnit
104 Then the CompilationUnit has a different hashcode to the second CompilationUnit
109 Scenario: Classes that only differ by comments should not be equal or have the same hashcode
132 Then the CompilationUnit has a different hashcode to the second CompilationUnit
/external/javaparser/
Dchangelog.md172 * `VisitorMap` lets you override hashcode/equals for nodes when used as a key for a map.
/external/python/cpython3/Lib/test/
Dtest_descr.py2988 self.hashcode = hash(self.canonical)
2996 return self.hashcode