Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Duhash.cpp145 int32_t hashcode, in _uhash_setElement() argument
176 e->hashcode = hashcode; in _uhash_setElement()
186 U_ASSERT(!IS_EMPTY_OR_DELETED(e->hashcode)); in _uhash_internalRemoveElement()
240 p->hashcode = HASH_EMPTY; in _uhash_allocate()
335 int32_t hashcode) { in _uhash_find() argument
343 hashcode &= 0x7FFFFFFF; /* must be positive */ in _uhash_find()
344 startIndex = theIndex = (hashcode ^ 0x4000000) % hash->length; in _uhash_find()
347 tableHash = elements[theIndex].hashcode; in _uhash_find()
348 if (tableHash == hashcode) { /* quick check */ in _uhash_find()
367 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/python/cpython2/Include/
Ddatetime.h37 long hashcode; /* -1 when unknown */ member
54 long 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/cpython3/Include/
Ddatetime.h37 Py_hash_t hashcode; /* -1 when unknown */ member
54 Py_hash_t 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/Modules/
D_datetimemodule.c677 self->hashcode = -1; in set_date_fields()
997 self->hashcode = -1; in new_time_ex2()
1043 self->hashcode = -1; in new_delta_ex()
2176 if (self->hashcode == -1) { in delta_hash()
2179 self->hashcode = PyObject_Hash(temp); in delta_hash()
2183 return self->hashcode; in delta_hash()
2806 me->hashcode = -1; in date_from_pickle()
3443 if (self->hashcode == -1) { in date_hash()
3444 self->hashcode = generic_hash( in date_hash()
3448 return self->hashcode; in date_hash()
[all …]
/external/javaparser/javaparser-core-testing-bdd/src/test/resources/com/github/javaparser/
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/icu/libicu/cts_headers/
Duhash.h98 int32_t hashcode; member
/external/rust/crates/ahash/
DFAQ.md38 but are just 64 or 32 bits in length. Often the first thing done with the hashcode is to truncate i…
/external/javaparser/
Dchangelog.md514 * `VisitorMap` lets you override hashcode/equals for nodes when used as a key for a map.
/external/python/cpython3/Lib/test/
Dtest_descr.py3035 self.hashcode = hash(self.canonical)
3043 return self.hashcode