/external/snakeyaml/src/test/java/org/yaml/snakeyaml/javabeans/ |
Door.java | 50 public int hashCode() { 51 return id.hashCode();
|
Room.java | 48 public int hashCode() { 49 return name.hashCode();
|
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/ |
ShapeTest.java | 98 assertEquals(Shape.make(1, 2, 3, 4).hashCode(), Shape.make(1, 2, 3, 4).hashCode()); 99 assertEquals(Shape.scalar().hashCode(), Shape.scalar().hashCode()); 100 assertEquals(Shape.unknown().hashCode(), Shape.unknown().hashCode()); 102 assertNotEquals(Shape.make(1, 2).hashCode(), Shape.make(1, 3).hashCode());
|
/frameworks/base/core/java/android/app/job/ |
JobInfo.java | 703 public int hashCode() { 704 int hashCode = jobId; 706 hashCode = 31 * hashCode + extras.hashCode(); 709 hashCode = 31 * hashCode + transientExtras.hashCode(); 712 hashCode = 31 * hashCode + clipData.hashCode() [all...] |
/frameworks/base/core/java/android/security/net/config/ |
Domain.java | 41 public int hashCode() { 42 return hostname.hashCode() ^ (subdomainsIncluded ? 1231 : 1237);
|
/frameworks/base/location/tests/locationtests/src/android/location/ |
CountryTester.java | 31 assertTrue(countryA.hashCode() == countryD.hashCode());
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/ |
EuiccSpecVersionTest.java | 55 assertEquals(ver1.hashCode(), ver2.hashCode()); 61 assertNotEquals(ver1.hashCode(), ver2.hashCode()); 67 assertNotEquals(ver1.hashCode(), ver2.hashCode()); 73 assertNotEquals(ver1.hashCode(), ver2.hashCode());
|
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/model/ |
MutableMediaMetadata.java | 51 public int hashCode() { 52 return trackId.hashCode();
|
/libcore/luni/src/main/java/libcore/reflect/ |
GenericArrayTypeImpl.java | 48 public int hashCode() { 49 return Objects.hashCode(getGenericComponentType());
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
CertificatePolicyId.java | 107 public int hashCode() { 108 return id.hashCode();
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
SettingsShadowBluetoothDevice.java | 41 public int hashCode() { 42 return mAddress.hashCode();
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Address.java | 189 @Override public int hashCode() { 191 result = 31 * result + url.hashCode(); 192 result = 31 * result + dns.hashCode(); 193 result = 31 * result + authenticator.hashCode(); 194 result = 31 * result + protocols.hashCode(); 195 result = 31 * result + connectionSpecs.hashCode(); 196 result = 31 * result + proxySelector.hashCode(); 197 result = 31 * result + (proxy != null ? proxy.hashCode() : 0); 198 result = 31 * result + (sslSocketFactory != null ? sslSocketFactory.hashCode() : 0); 199 result = 31 * result + (hostnameVerifier != null ? hostnameVerifier.hashCode() : 0) [all...] |
/frameworks/base/core/java/android/os/ |
HidlSupport.java | 128 return Arrays.hashCode(Arrays.stream((Object[])o) 134 return Arrays.hashCode(((List<Object>)o).stream() 141 return o.hashCode(); 162 return Arrays.hashCode(((boolean[])o)); 165 return Arrays.hashCode(((byte[])o)); 168 return Arrays.hashCode(((char[])o)); 171 return Arrays.hashCode(((double[])o)); 174 return Arrays.hashCode(((float[])o)); 177 return Arrays.hashCode(((int[])o)); 180 return Arrays.hashCode(((long[])o)) [all...] |
/cts/tools/dasm/src/java_cup/ |
parse_action.java | 74 public int hashCode()
|
/dalvik/dx/tests/089-dex-define-object/ |
Object.java | 33 public native int hashCode();
|
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/model/ |
AutofillDataset.java | 72 public int hashCode() { 73 int result = mId.hashCode(); 74 result = 31 * result + mDatasetName.hashCode(); 75 result = 31 * result + mPackageName.hashCode();
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
DSAParameters.java | 70 public int hashCode() 72 return getP().hashCode() ^ getQ().hashCode() ^ getG().hashCode();
|
/external/glide/library/src/main/java/com/bumptech/glide/load/ |
Key.java | 8 * and {@link Object#hashCode()}. Implementations are generally expected to add all uniquely identifying information 9 * used in in {@link java.lang.Object#equals(Object)}} and {@link Object#hashCode()}} to the given 30 int hashCode();
|
/external/guava/guava/src/com/google/common/collect/ |
ForwardingMapEntry.java | 83 @Override public int hashCode() { 84 return delegate().hashCode(); 105 * A sensible definition of {@link #hashCode()} in terms of {@link #getKey()} 107 * wish to override {@link #hashCode()} to forward to this implementation. 114 return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode());
|
SingletonImmutableSet.java | 38 // call to hashCode(). 50 SingletonImmutableSet(E element, int hashCode) { 53 cachedHashCode = hashCode; 94 @Override public final int hashCode() { 98 cachedHashCode = code = element.hashCode();
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/ |
SetHashCodeTester.java | 28 * Tests {@link java.util.Set#hashCode}. 37 expectedHashCode += ((element == null) ? 0 : element.hashCode()); 40 "A Set's hashCode() should be the sum of those of its elements.", 41 expectedHashCode, getSet().hashCode()); 50 expectedHashCode += ((element == null) ? 0 : element.hashCode()); 56 "A Set's hashCode() should be the sum of those of its elements (with " 58 expectedHashCode, getSet().hashCode());
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
SetHashCodeTester.java | 31 * Tests {@link java.util.Set#hashCode}. 40 expectedHashCode += ((element == null) ? 0 : element.hashCode()); 43 "A Set's hashCode() should be the sum of those of its elements.", 44 expectedHashCode, getSet().hashCode()); 53 expectedHashCode += ((element == null) ? 0 : element.hashCode()); 59 "A Set's hashCode() should be the sum of those of its elements (with " 61 expectedHashCode, getSet().hashCode()); 66 * which call {@code hashCode()} on the set values so that set tests on
|
/external/junit/src/main/java/org/junit/runners/parameterized/ |
TestWithParameters.java | 47 public int hashCode() { 49 int result = prime + name.hashCode(); 50 result = prime * result + testClass.hashCode(); 51 return prime * result + parameters.hashCode();
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/ |
Permissions.java | 76 && (object.hashCode() == hashCode());
82 * @see java.lang.Object#hashCode()
84 public int hashCode() {
85 return rwxString.hashCode();
|
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/command/ |
Command.java | 91 return this.hashCode() == obj.hashCode();
95 * @see java.lang.Object#hashCode()
97 public int hashCode() {
99 return str.hashCode();
|