/libcore/luni/src/main/java/libcore/internal/ |
H A D | StringPool.java | 45 int hashCode = 0; 47 hashCode = (hashCode * 31) + array[i]; 51 hashCode ^= (hashCode >>> 20) ^ (hashCode >>> 12); 52 hashCode ^= (hashCode >>> 7) ^ (hashCode >>> 4); 53 int index = hashCode [all...] |
/libcore/ojluni/src/main/java/java/sql/ |
H A D | RowId.java | 118 int hashCode(); method in interface:RowId
|
/libcore/luni/src/test/java/libcore/java/text/ |
H A D | 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());
|
H A D | OldAttributedCharacterIteratorAttributeTest.java | 115 * java.text.AttributedCharacterIterator.Attribute#hashCode() 125 .hashCode() != mac2.hashCode()); 131 .hashCode() != mac3.hashCode()); 136 mac1.hashCode() == mac4.hashCode());
|
/libcore/ojluni/src/main/java/java/lang/annotation/ |
H A D | 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(); method in interface:Annotation
|
/libcore/luni/src/test/java/tests/security/spec/ |
H A D | 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...] |
H A D | ECFieldF2mTest.java | 318 * Test #1 for <code>hashCode()</code> method.<br> 325 int hc = f.hashCode(); 326 assertTrue(hc == f.hashCode() && 327 hc == f.hashCode() && 328 hc == f.hashCode() && 329 hc == f.hashCode() && 330 hc == f.hashCode() && 331 hc == f.hashCode() && 332 hc == f.hashCode() && 333 hc == f.hashCode()); [all...] |
H A D | ECPointTest.java | 194 * Test #1 for <code>hashCode()</code> method.<br> 201 int hc = f.hashCode(); 202 assertTrue(hc == f.hashCode() && 203 hc == f.hashCode() && 204 hc == f.hashCode() && 205 hc == f.hashCode() && 206 hc == f.hashCode() && 207 hc == f.hashCode() && 208 hc == f.hashCode() && 209 hc == f.hashCode()); [all...] |
/libcore/ojluni/src/test/java/time/test/java/time/ |
H A D | TestPeriod.java | 93 // hashCode() 101 assertEquals(test5.hashCode() == test5.hashCode(), true); 102 assertEquals(test5.hashCode() == test6.hashCode(), false); 103 assertEquals(test5.hashCode() == test5M.hashCode(), false); 104 assertEquals(test5.hashCode() == test5Y.hashCode(), false);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | OldCharacterSubsetTest.java | 36 assertFalse(subset1.hashCode() == subset2.hashCode()); 37 assertFalse(subset1.hashCode() == subset3.hashCode());
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | OldProxyTest.java | 44 assertTrue(proxy1.hashCode() == proxy2.hashCode()); 48 assertTrue(proxy1.hashCode() == proxy2.hashCode()); 50 assertTrue(proxy1.hashCode() != proxy4.hashCode()); 56 assertTrue(proxy5.hashCode() != proxy6.hashCode());
|
/libcore/ojluni/src/main/java/java/security/spec/ |
H A D | ECFieldFp.java | 95 public int hashCode() { method in class:ECFieldFp 96 return p.hashCode();
|
H A D | ECPoint.java | 110 public int hashCode() { method in class:ECPoint 112 return x.hashCode() << 5 + y.hashCode();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
H A D | BigIntegerHashCodeTest.java | 29 * Method: hashCode() 40 int code1 = aNumber1.hashCode(); 46 int code2 = aNumber1.hashCode(); 58 int code1 = aNumber1.hashCode(); 59 int code2 = aNumber2.hashCode(); 74 int code1 = aNumber1.hashCode(); 75 int code2 = aNumber2.hashCode();
|
H A D | MathContextTest.java | 64 // hashCode(.) 66 mcIntRm6hd.hashCode(), mcStr6hd.hashCode() ); 68 mcInt6.hashCode() == mcStr6hd.hashCode() ); 70 mcInt6.hashCode() == mcInt134.hashCode() );
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
H A D | DistributionPointName.java | 92 // Cached hashCode value 93 private volatile int hashCode; field in class:DistributionPointName 213 public int hashCode() { method in class:DistributionPointName 214 int hash = hashCode; 218 hash += fullName.hashCode(); 221 hash += relativeName.hashCode(); 223 hashCode = hash;
|
H A D | CertificatePolicyId.java | 107 public int hashCode() { method in class:CertificatePolicyId 108 return id.hashCode();
|
/libcore/luni/src/main/java/libcore/reflect/ |
H A D | GenericArrayTypeImpl.java | 48 public int hashCode() { method in class:GenericArrayTypeImpl 49 return Objects.hashCode(getGenericComponentType());
|
/libcore/ojluni/src/main/java/java/net/ |
H A D | Proxy.java | 166 public final int hashCode() { method in class:Proxy 168 return type().hashCode(); 169 return type().hashCode() + address().hashCode();
|
/libcore/ojluni/src/main/java/java/security/ |
H A D | CodeSigner.java | 106 public int hashCode() { method in class:CodeSigner 109 myhash = signerCertPath.hashCode(); 111 myhash = signerCertPath.hashCode() + timestamp.hashCode();
|
H A D | Principal.java | 65 public int hashCode(); method in interface:Principal
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | TimestampTest.java | 104 * Class under test for String hashCode() 113 assertTrue(one.hashCode() == two.hashCode()); 114 assertTrue(one.hashCode() != three.hashCode()); 115 assertTrue(two.hashCode() != three.hashCode()); 118 four.hashCode();
|
/libcore/ojluni/src/main/java/java/security/cert/ |
H A D | CertPath.java | 199 * hashCode = path.getType().hashCode(); 200 * hashCode = 31*hashCode + path.getCertificates().hashCode(); 203 * {@code path1.hashCode()==path2.hashCode()} for any two certification 205 * general contract of {@code Object.hashCode}. 209 public int hashCode() { method in class:CertPath 210 int hashCode [all...] |
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
H A D | FieldTest.java | 37 assertEquals(f1.hashCode(), f2.hashCode()); 42 assertEquals(FieldTestHelper.class.getName().hashCode() ^ "a".hashCode(), f1.hashCode());
|
/libcore/ojluni/src/main/java/java/text/ |
H A D | DateFormatSymbols.java | 661 // Android-changed: don't include zone strings in hashCode to avoid populating it. 734 * Override hashCode. 738 public int hashCode() { method in class:DateFormatSymbols 739 int hashCode = cachedHashCode; 740 if (hashCode == 0) { 741 hashCode = 5; 742 hashCode = 11 * hashCode + Arrays.hashCode(eras); 743 hashCode [all...] |