Home
last modified time | relevance | path

Searched refs:hashCode (Results 1 – 25 of 301) sorted by relevance

12345678910>>...13

/external/srec/portable/src/
Dphashtable.c44 unsigned int hashCode; member
161 unsigned int hashCode, in getEntry() argument
180 if (entry->hashCode == hashCode && table->args.compFunction(key, entry->key) == 0) in getEntry()
211 unsigned int hashCode; in PHashTableGetValue() local
217 hashCode = table->args.hashFunction(key); in PHashTableGetValue()
218 idx = hashCode % table->args.capacity; in PHashTableGetValue()
219 if ((entry = getEntry(table, key, hashCode, idx)) != NULL) in PHashTableGetValue()
257 unsigned int hashCode; in PHashTableGetEntry() local
264 hashCode = table->args.hashFunction(key); in PHashTableGetEntry()
265 idx = hashCode % table->args.capacity; in PHashTableGetEntry()
[all …]
/external/guava/src/com/google/common/collect/
DHashing.java37 static int smear(int hashCode) { in smear() argument
38 hashCode ^= (hashCode >>> 20) ^ (hashCode >>> 12); in smear()
39 return hashCode ^ (hashCode >>> 7) ^ (hashCode >>> 4); in smear()
DImmutableSet.java230 && hashCode() != object.hashCode()) { in equals()
236 @Override public int hashCode() { in hashCode() method in ImmutableSet
237 int hashCode = 0; in hashCode() local
239 hashCode += o.hashCode(); in hashCode()
241 return hashCode; in hashCode()
260 int hashCode = 0; in create() local
264 int hash = element.hashCode(); in create()
272 hashCode += hash; in create()
282 return new SingletonImmutableSet<E>(elements.get(0), hashCode); in create()
288 elements.toArray(), hashCode, table, mask); in create()
[all …]
DRegularImmutableSet.java35 private final transient int hashCode; field in RegularImmutableSet
38 Object[] elements, int hashCode, Object[] table, int mask) { in RegularImmutableSet() argument
42 this.hashCode = hashCode; in RegularImmutableSet()
49 for (int i = Hashing.smear(target.hashCode()); true; i++) { in contains()
60 @Override public int hashCode() { in hashCode() method in RegularImmutableSet
61 return hashCode; in hashCode()
DImmutableEnumSet.java89 private transient int hashCode; field in ImmutableEnumSet
91 @Override public int hashCode() { in hashCode() method in ImmutableEnumSet
92 int result = hashCode; in hashCode()
93 return (result == 0) ? hashCode = delegate.hashCode() : result; in hashCode()
DRegularImmutableList.java209 @Override public int hashCode() { in hashCode() method
212 int hashCode = 1; in hashCode() local
214 hashCode = 31 * hashCode + array[i].hashCode(); in hashCode()
216 return hashCode; in hashCode()
/external/apache-http/src/org/apache/commons/logging/impl/
DWeakHashtable.java369 public int hashCode() {
371 return (getKey()==null ? 0 : getKey().hashCode()) ^
372 (getValue()==null ? 0 : getValue().hashCode());
393 private final int hashCode;
403 hashCode = referant.hashCode();
414 hashCode = key.hashCode();
418 public int hashCode() {
419 return hashCode;
442 result = (this.hashCode() == otherKey.hashCode());
/external/apache-http/src/org/apache/http/util/
DLangUtils.java51 public static int hashCode(final int seed, final int hashcode) { in hashCode() method in LangUtils
55 public static int hashCode(final int seed, final boolean b) { in hashCode() method in LangUtils
56 return hashCode(seed, b ? 1 : 0); in hashCode()
59 public static int hashCode(final int seed, final Object obj) { in hashCode() method in LangUtils
60 return hashCode(seed, obj != null ? obj.hashCode() : 0); in hashCode()
/external/guava/src/com/google/common/base/
DPredicates.java259 @Override public int hashCode() { in hashCode() method in Predicates.NotPredicate
260 return ~predicate.hashCode(); /* Invert all bits. */ in hashCode()
293 @Override public int hashCode() { in hashCode() method in Predicates.AndPredicate
296 result &= predicate.hashCode(); in hashCode()
329 @Override public int hashCode() { in hashCode() method in Predicates.OrPredicate
332 result |= predicate.hashCode(); in hashCode()
360 @Override public int hashCode() { in hashCode() method in Predicates.IsEqualToPredicate
361 return target.hashCode(); in hashCode()
387 @Override public int hashCode() { in hashCode() method in Predicates.InstanceOfPredicate
388 return clazz.hashCode(); in hashCode()
[all …]
DFunctions.java115 @Override public int hashCode() { in hashCode() method in Functions.FunctionForMapNoDefault
116 return map.hashCode(); in hashCode()
159 @Override public int hashCode() { in hashCode() method in Functions.ForMapWithDefault
160 return Objects.hashCode(map, defaultValue); in hashCode()
206 @Override public int hashCode() { in hashCode() method in Functions.FunctionComposition
207 return f.hashCode() ^ g.hashCode(); in hashCode()
242 @Override public int hashCode() { in hashCode() method in Functions.PredicateFunction
243 return predicate.hashCode(); in hashCode()
278 @Override public int hashCode() { in hashCode() method in Functions.ConstantFunction
279 return (value == null) ? 0 : value.hashCode(); in hashCode()
/external/proguard/src/proguard/classfile/attribute/preverification/
DFullFrame.java162 public int hashCode() in hashCode() method in FullFrame
164 int hashCode = super.hashCode(); in hashCode() local
168 hashCode ^= variables[index].hashCode(); in hashCode()
173 hashCode ^= stack[index].hashCode(); in hashCode()
176 return hashCode; in hashCode()
DMoreZeroFrame.java133 public int hashCode() in hashCode() method in MoreZeroFrame
135 int hashCode = super.hashCode(); in hashCode() local
139 hashCode ^= additionalVariables[index].hashCode(); in hashCode()
142 return hashCode; in hashCode()
/external/emma/core/java12/com/vladium/util/
DObjectIntMap.java92 final int keyHash = key.hashCode (); in contains()
98 if ((keyHash == entry.m_key.hashCode ()) || entry.m_key.equals (key)) in contains()
120 final int keyHash = key.hashCode (); in get()
126 if ((keyHash == entry.m_key.hashCode ()) || entry.m_key.equals (key)) in get()
167 final int keyHash = key.hashCode (); in put()
174 if ((keyHash == entry.m_key.hashCode ()) || entry.m_key.equals (key)) in put()
213 final int keyHash = key.hashCode (); in remove()
222 if ((keyHash == entry.m_key.hashCode ()) || entry.m_key.equals (key)) in remove()
297 final int entryKeyHash = entry.m_key.hashCode () & 0x7FFFFFFF; in rehash()
DSoftValueMap.java104 public int hashCode () in hashCode() method in SoftValueMap
162 final int keyHashCode = key.hashCode (); in get()
177 … if ((key == entryKey) || ((keyHashCode == entryKey.hashCode ()) && key.equals (entryKey))) in get()
193 if ((keyHashCode == entryKey.hashCode ()) && key.equals (entryKey)) in get()
233 final int keyHashCode = key.hashCode (); in put()
246 … if ((key == entryKey) || ((keyHashCode == entryKey.hashCode ()) && key.equals (entryKey))) in put()
254 if ((keyHashCode == entryKey.hashCode ()) && key.equals (entryKey)) in put()
300 final int keyHashCode = key.hashCode (); in remove()
311 …if ((IDENTITY_OPTIMIZATION && (entryKey == key)) || ((keyHashCode == entryKey.hashCode ()) && key.… in remove()
500 final int entryKeyHashCode = entry.m_key.hashCode (); in rehash()
/external/proguard/src/proguard/
DClassSpecification.java234 public int hashCode() in hashCode() method in ClassSpecification
240 (annotationType == null ? 0 : annotationType.hashCode() ) ^ in hashCode()
241 (className == null ? 0 : className.hashCode() ) ^ in hashCode()
242 (extendsAnnotationType == null ? 0 : extendsAnnotationType.hashCode()) ^ in hashCode()
243 (extendsClassName == null ? 0 : extendsClassName.hashCode() ) ^ in hashCode()
244 (fieldSpecifications == null ? 0 : fieldSpecifications.hashCode() ) ^ in hashCode()
245 (methodSpecifications == null ? 0 : methodSpecifications.hashCode() ); in hashCode()
DMemberSpecification.java105 public int hashCode() in hashCode() method in MemberSpecification
110 (annotationType == null ? 0 : annotationType.hashCode()) ^ in hashCode()
111 (name == null ? 0 : name.hashCode() ) ^ in hashCode()
112 (descriptor == null ? 0 : descriptor.hashCode() ); in hashCode()
/external/proguard/src/proguard/evaluation/value/
DComparisonValue.java57 public int hashCode() in hashCode() method in ComparisonValue
59 return super.hashCode() ^ in hashCode()
60 value1.hashCode() ^ in hashCode()
61 value2.hashCode(); in hashCode()
DCompositeFloatValue.java69 public int hashCode() in hashCode() method in CompositeFloatValue
71 return super.hashCode() ^ in hashCode()
72 floatValue1.hashCode() ^ in hashCode()
73 floatValue2.hashCode(); in hashCode()
DCompositeDoubleValue.java69 public int hashCode() in hashCode() method in CompositeDoubleValue
71 return super.hashCode() ^ in hashCode()
72 doubleValue1.hashCode() ^ in hashCode()
73 doubleValue2.hashCode(); in hashCode()
DCompositeLongValue.java75 public int hashCode() in hashCode() method in CompositeLongValue
77 return super.hashCode() ^ in hashCode()
78 longValue1.hashCode() ^ in hashCode()
79 longValue2.hashCode(); in hashCode()
DCompositeIntegerValue.java75 public int hashCode() in hashCode() method in CompositeIntegerValue
77 return super.hashCode() ^ in hashCode()
78 integerValue1.hashCode() ^ in hashCode()
79 integerValue2.hashCode(); in hashCode()
DInstructionOffsetValue.java273 public int hashCode() in hashCode() method in InstructionOffsetValue
275 int hashCode = this.getClass().hashCode(); in hashCode() local
281 hashCode ^= values[index]; in hashCode()
285 return hashCode; in hashCode()
/external/apache-http/src/org/apache/http/conn/scheme/
DScheme.java214 public int hashCode() { in hashCode() method in Scheme
216 hash = LangUtils.hashCode(hash, this.defaultPort); in hashCode()
217 hash = LangUtils.hashCode(hash, this.name); in hashCode()
218 hash = LangUtils.hashCode(hash, this.layered); in hashCode()
219 hash = LangUtils.hashCode(hash, this.socketFactory); in hashCode()
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/params/
DDSAParameters.java70 public int hashCode() in hashCode() method in DSAParameters
72 return getP().hashCode() ^ getQ().hashCode() ^ getG().hashCode(); in hashCode()
/external/apache-http/src/org/apache/http/conn/routing/
DRouteTracker.java371 public final int hashCode() { in hashCode() method in RouteTracker
373 int hc = this.targetHost.hashCode(); in hashCode()
376 hc ^= localAddress.hashCode(); in hashCode()
380 hc ^= proxyChain[i].hashCode(); in hashCode()
388 hc ^= this.tunnelled.hashCode(); in hashCode()
389 hc ^= this.layered.hashCode(); in hashCode()

12345678910>>...13