/external/guava/guava-tests/test/com/google/common/base/ |
ObjectsTest.java | 49 int h1 = Objects.hashCode(1, "two", 3.0); 50 int h2 = Objects.hashCode( 56 assertTrue(Objects.hashCode(1, 2, null) != Objects.hashCode(1, 2)); 57 assertTrue(Objects.hashCode(1, 2, null) != Objects.hashCode(1, null, 2)); 58 assertTrue(Objects.hashCode(1, null, 2) != Objects.hashCode(1, 2)); 59 assertTrue(Objects.hashCode(1, 2, 3) != Objects.hashCode(3, 2, 1)) [all...] |
/external/proguard/src/proguard/evaluation/value/ |
IdentifiedDoubleValue.java | 55 public int hashCode() 57 return super.hashCode() ^ 58 valuefactory.hashCode() ^
|
IdentifiedFloatValue.java | 55 public int hashCode() 57 return super.hashCode() ^ 58 valuefactory.hashCode() ^
|
IdentifiedIntegerValue.java | 55 public int hashCode() 57 return super.hashCode() ^ 58 valuefactory.hashCode() ^
|
IdentifiedLongValue.java | 55 public int hashCode() 57 return super.hashCode() ^ 58 valuefactory.hashCode() ^
|
NegatedDoubleValue.java | 60 public int hashCode() 62 return super.hashCode() ^ 63 doubleValue.hashCode();
|
NegatedFloatValue.java | 60 public int hashCode() 62 return super.hashCode() ^ 63 floatValue.hashCode();
|
NegatedIntegerValue.java | 60 public int hashCode() 62 return super.hashCode() ^ 63 integerValue.hashCode();
|
NegatedLongValue.java | 60 public int hashCode() 62 return super.hashCode() ^ 63 longValue.hashCode();
|
ComparisonValue.java | 57 public int hashCode() 59 return super.hashCode() ^ 60 value1.hashCode() ^ 61 value2.hashCode();
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/visitor/ |
HashCodeVisitorTest.java | 15 assertEquals(p1.hashCode(), p2.hashCode()); 22 assertNotEquals(p1.hashCode(), p2.hashCode());
|
/libcore/luni/src/test/java/libcore/java/text/ |
OldParsePositionTest.java | 26 // Test for method int java.text.ParsePosition.hashCode() 29 assertTrue("hashCode returns non equal hash codes for equal objects.", 30 pp1.hashCode() == pp2.hashCode()); 32 assertTrue("hashCode returns equal hash codes for non equal objects.", 33 pp1.hashCode() != pp2.hashCode());
|
/libcore/ojluni/src/main/java/java/lang/annotation/ |
Annotation.java | 91 * of the member-name as computed by {@link String#hashCode()}) XOR 97 * <tt><i>WrapperType</i>.valueOf(<i>v</i>).hashCode()</tt>, where 105 * <tt><i>v</i>.hashCode()</tt>. (In the case of annotation 110 * {@link java.util.Arrays#hashCode(long[]) Arrays.hashCode} 117 int hashCode();
|
/external/annotation-tools/asmx/src/org/objectweb/asm/ |
Item.java | 110 int hashCode; 151 hashCode = i.hashCode; 162 this.hashCode = 0x7FFFFFFF & (type + intVal); 173 this.hashCode = 0x7FFFFFFF & (type + (int) longVal); 184 this.hashCode = 0x7FFFFFFF & (type + (int) floatVal); 195 this.hashCode = 0x7FFFFFFF & (type + (int) doubleVal); 224 hashCode = 0x7FFFFFFF & (type + strVal1.hashCode()); 227 hashCode = 0x7FFFFFFF & (type + strVal1.hashCode( [all...] |
/libcore/luni/src/test/java/tests/security/spec/ |
ECFieldFpTest.java | 103 * Test #1 for <code>hashCode()</code> method.<br> 110 int hc = f.hashCode(); 111 assertTrue(hc == f.hashCode() && 112 hc == f.hashCode() && 113 hc == f.hashCode() && 114 hc == f.hashCode() && 115 hc == f.hashCode() && 116 hc == f.hashCode() && 117 hc == f.hashCode() && 118 hc == f.hashCode()); [all...] |
/art/test/022-interface/classes/ |
Main$1.class | |
ObjectOverridingInterface.class | |
/dalvik/dx/tests/086-ssa-edge-split/ |
Blort.java | 49 hashCode(); 50 hashCode();
|
/external/annotation-tools/scene-lib/src/annotations/util/ |
EqualByStringRepresentation.java | 11 * {@link #equals} and {@link #hashCode} in terms of {@link #toString}. 33 public final int hashCode() { 34 return toString().hashCode();
|
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/ |
StartMeasurementLogMessage.java | 32 @Override public int hashCode() { 33 return StartMeasurementLogMessage.class.hashCode();
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/ |
ListHashCodeTester.java | 22 * Tests {@link java.util.List#hashCode}. 32 ((element == null) ? 0 : element.hashCode()); 35 "A List's hashCode() should be computed from those of its elements.", 36 expectedHashCode, getList().hashCode());
|
/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/core/ |
SampleBaseClass.java | 21 public int hashCode() { 22 return value.hashCode();
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/reference/ |
BaseFieldReference.java | 42 public int hashCode() { 43 int hashCode = getDefiningClass().hashCode(); 44 hashCode = hashCode*31 + getName().hashCode(); 45 return hashCode*31 + getType().hashCode();
|
/external/testng/src/test/java/test/groupinvocation/ |
GroupConfiguration.java | 13 DummyTest.recordInvocation("beforeGroups", hashCode());
18 DummyTest.recordInvocation("afterGroups", hashCode());
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestApp/src/com/android/multidexlegacytestapp/ |
ReferencedByAnnotationWithOtherReferences.java | 25 return a.hashCode(); 32 return b.hashCode();
|