/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/ |
Code.java | 40 public int hashCode() { 41 return code.hashCode();
|
Color.java | 40 public int hashCode() { 41 return name.hashCode();
|
SuperColor.java | 40 public int hashCode() { 41 return color.hashCode();
|
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/op/ |
PrimitiveOp.java | 29 public final int hashCode() { 30 return operation.hashCode();
|
/frameworks/base/core/java/android/accounts/ |
AccountAndUser.java | 42 public int hashCode() { 43 return account.hashCode() + userId;
|
/frameworks/support/transition/src/main/java/androidx/transition/ |
WindowIdApi18.java | 39 public int hashCode() { 40 return mWindowId.hashCode();
|
/libcore/luni/src/test/java/libcore/java/net/ |
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/ |
ECFieldFp.java | 95 public int hashCode() { 96 return p.hashCode();
|
/external/guava/guava-tests/benchmark/com/google/common/base/ |
ObjectsBenchmark.java | 43 dummy += Objects.hashCode(S0, S1); 51 dummy += Objects.hashCode(S0, S1, S2); 59 dummy += Objects.hashCode(S0, S1, S2, S3); 67 dummy += Objects.hashCode(S0, S1, S2, S3, S4); 75 dummy += Objects.hashCode(I2, S1, D1, S2, I0); 76 dummy += Objects.hashCode(D0, I1, S3, I2, S0);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
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();
|
MathContextTest.java | 64 // hashCode(.) 66 mcIntRm6hd.hashCode(), mcStr6hd.hashCode() ); 68 mcInt6.hashCode() == mcStr6hd.hashCode() ); 70 mcInt6.hashCode() == mcInt134.hashCode() );
|
/libcore/luni/src/test/java/tests/security/spec/ |
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...] |
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...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
AbstractMapEntryTest.java | 82 assertEquals(control("foo", 1).hashCode(), entry("foo", 1).hashCode()); 83 assertEquals(control("bar", 2).hashCode(), entry("bar", 2).hashCode()); 87 assertEquals(control(NK, 1).hashCode(), entry(NK, 1).hashCode()); 88 assertEquals(control("bar", NV).hashCode(), entry("bar", NV).hashCode()); 89 assertEquals(control(NK, NV).hashCode(), entry(NK, NV).hashCode()); [all...] |
/frameworks/base/libs/usb/src/com/android/future/usb/ |
UsbAccessory.java | 118 public int hashCode() { 119 return ((mManufacturer == null ? 0 : mManufacturer.hashCode()) ^ 120 (mModel == null ? 0 : mModel.hashCode()) ^ 121 (mDescription == null ? 0 : mDescription.hashCode()) ^ 122 (mVersion == null ? 0 : mVersion.hashCode()) ^ 123 (mUri == null ? 0 : mUri.hashCode()) ^ 124 (mSerial == null ? 0 : mSerial.hashCode()));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SimpleAttributeTest.java | 87 int ah = a.hashCode(); 89 assertFalse(ah == new Object().hashCode()); 94 "value = with space ").hashCode()); 98 "value").hashCode()); 100 assertFalse(ah == new SimpleAttribute("uri", "name", "value = with space ").hashCode()); 102 assertFalse(ah == new SimpleAttribute("uri", "wrong name", "value").hashCode()); 106 "value = with space ").hashCode());
|
/frameworks/base/tests/net/java/android/net/ |
NetworkTest.java | 112 assertEquals(0, zero.hashCode()); 124 assertNotEqual(0, one.hashCode()); 125 assertNotEqual(0, two.hashCode()); 126 assertNotEqual(0, three.hashCode()); 129 assertNotEqual(one.hashCode(), two.hashCode()); 130 assertNotEqual(one.hashCode(), three.hashCode()); 131 assertNotEqual(two.hashCode(), three.hashCode()); [all...] |
/external/guava/guava-tests/benchmark/com/google/common/collect/ |
IteratorBenchmark.java | 56 sum += array[index].hashCode(); 66 sum += array[index].hashCode(); 76 sum += value.hashCode(); 86 sum += arrayList.get(index).hashCode(); 96 sum += arrayList.get(index).hashCode(); 106 sum += value.hashCode(); 116 sum += value.hashCode(); 126 sum += value.hashCode(); 136 sum += value.hashCode();
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
ExtendedType.java | 47 this.hash = nodetype + namespace.hashCode() + localName.hashCode(); 77 this.hash = nodetype + namespace.hashCode() + localName.hashCode(); 94 * Override the hashCode() method in the Object class 96 public int hashCode()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/reference/ |
BaseMethodProtoReference.java | 46 public int hashCode() { 47 int hashCode = getReturnType().hashCode(); 48 return hashCode*31 + getParameterTypes().hashCode();
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/value/ |
BaseAnnotationEncodedValue.java | 45 public int hashCode() { 46 int hashCode = getType().hashCode(); 47 return hashCode * 31 + getElements().hashCode();
|
/frameworks/base/core/tests/coretests/src/android/service/euicc/ |
EuiccProfileInfoTest.java | 151 assertEquals(p.hashCode(), copied.hashCode()); 180 assertNotEquals(p.hashCode(), t.hashCode()); 184 assertNotEquals(p.hashCode(), t.hashCode()); 188 assertNotEquals(p.hashCode(), t.hashCode()); 192 assertNotEquals(p.hashCode(), t.hashCode()); [all...] |
/cts/libs/vogar-expect/src/vogar/ |
Outcome.java | 161 @Override public int hashCode() { 162 int hashCode = 17; 163 hashCode = 37 * hashCode + outcomeName.hashCode(); 164 hashCode = 37 * hashCode + result.hashCode(); 165 hashCode = 37 * hashCode + output.hashCode() [all...] |
/cts/tools/dasm/src/java_cup/ |
symbol_part.java | 81 public int hashCode() 83 return super.hashCode() ^ 84 (the_symbol()==null ? 0 : the_symbol().hashCode());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/field/ |
GenericPolynomialExtensionField.java | 57 public int hashCode() 59 return subfield.hashCode() 60 ^ Integers.rotateLeft(minimalPolynomial.hashCode(), 16);
|