HomeSort by relevance Sort by last modified time
    Searched refs:hashCode (Results 1 - 25 of 936) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/guava/guava/src/com/google/common/collect/
Hashing.java 39 static int smear(int hashCode) {
40 hashCode ^= (hashCode >>> 20) ^ (hashCode >>> 12);
41 return hashCode ^ (hashCode >>> 7) ^ (hashCode >>> 4);
RegularImmutableSet.java 35 private final transient int hashCode;
38 Object[] elements, int hashCode, Object[] table, int mask) {
42 this.hashCode = hashCode;
49 for (int i = Hashing.smear(target.hashCode()); true; i++) {
60 @Override public int hashCode() {
61 return hashCode;
  /dalvik/dx/tests/088-ssa-combine-blocks/
Blort.java 31 hashCode();
32 hashCode();
  /art/test/022-interface/src/
ObjectOverridingInterface.java 22 public int hashCode();
  /external/conscrypt/src/main/java/org/conscrypt/
ByteArray.java 22 * Byte array wrapper for hashtable use. Implements equals() and hashCode().
26 private final int hashCode;
30 this.hashCode = Arrays.hashCode(bytes);
34 public int hashCode() {
35 return hashCode;
  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/
EngineKey.java 27 private int hashCode;
86 public int hashCode() {
87 if (hashCode == 0) {
88 hashCode = id.hashCode();
89 hashCode = 31 * hashCode + width;
90 hashCode = 31 * hashCode + height;
91 hashCode = 31 * hashCode + cacheDecoder.getId().hashCode()
    [all...]
  /external/apache-http/src/org/apache/http/util/
LangUtils.java 36 * {@link Object#equals equals} and {@link Object#hashCode hashCode} methods.
56 public static int hashCode(final int seed, final int hashcode) {
57 return seed * HASH_OFFSET + hashcode;
60 public static int hashCode(final int seed, final boolean b) {
61 return hashCode(seed, b ? 1 : 0);
64 public static int hashCode(final int seed, final Object obj) {
65 return hashCode(seed, obj != null ? obj.hashCode() : 0)
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DHPrivateKeyParameters.java 24 public int hashCode()
26 return x.hashCode() ^ super.hashCode();
DHPublicKeyParameters.java 24 public int hashCode()
26 return y.hashCode() ^ super.hashCode();
  /external/guava/guava-tests/test/com/google/common/base/
ObjectsTest.java 48 int h1 = Objects.hashCode(1, "two", 3.0);
49 int h2 = Objects.hashCode(new Integer(1), new String("two"),
55 assertTrue(Objects.hashCode(1, 2, null) != Objects.hashCode(1, 2));
56 assertTrue(Objects.hashCode(1, 2, null) != Objects.hashCode(1, null, 2));
57 assertTrue(Objects.hashCode(1, null, 2) != Objects.hashCode(1, 2));
58 assertTrue(Objects.hashCode(1, 2, 3) != Objects.hashCode(3, 2, 1))
    [all...]
  /external/mockito/cglib-and-asm/src/org/mockito/asm/
Item.java 95 int hashCode;
133 hashCode = i.hashCode;
144 this.hashCode = 0x7FFFFFFF & (type + intVal);
155 this.hashCode = 0x7FFFFFFF & (type + (int) longVal);
166 this.hashCode = 0x7FFFFFFF & (type + (int) floatVal);
177 this.hashCode = 0x7FFFFFFF & (type + (int) doubleVal);
203 hashCode = 0x7FFFFFFF & (type + strVal1.hashCode());
206 hashCode = 0x7FFFFFFF & (type + strVal1.hashCode()
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
ECFieldFpTest.java 110 * Test #1 for <code>hashCode()</code> method.<br>
117 int hc = f.hashCode();
118 assertTrue(hc == f.hashCode() &&
119 hc == f.hashCode() &&
120 hc == f.hashCode() &&
121 hc == f.hashCode() &&
122 hc == f.hashCode() &&
123 hc == f.hashCode() &&
124 hc == f.hashCode() &&
125 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/libphonenumber/java/test/com/android/i18n/phonenumbers/
PhonenumberTest.java 39 assertEquals(numberA.hashCode(), numberB.hashCode());
51 assertEquals(numberA.hashCode(), numberB.hashCode());
62 assertEquals(numberA.hashCode(), numberB.hashCode());
73 assertFalse(numberA.hashCode() == numberB.hashCode());
88 assertFalse(numberA.hashCode() == numberB.hashCode());
    [all...]
  /dalvik/dx/tests/090-dex-unify-arrays/
Blort.java 30 return o.hashCode();
35 return o.hashCode();
40 return o.hashCode();
45 return o.hashCode();
50 return o.hashCode();
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
CodeSigner_ImplTest.java 44 * Tests CodeSigner.hashCode()
47 assertTrue(new CodeSigner(cpath, ts).hashCode() == (cpath.hashCode() ^ ts
48 .hashCode()));
49 assertTrue(new CodeSigner(cpath, null).hashCode() == cpath.hashCode());
Timestamp_ImplTest.java 46 assertTrue(new Timestamp(now, cpath).hashCode() == (now.hashCode() ^ cpath
47 .hashCode()));
  /cts/tools/dasm/src/java_cup/
action_part.java 78 public int hashCode()
80 return super.hashCode() ^
81 (code_string()==null ? 0 : code_string().hashCode());
  /cts/tools/signature-tools/src/signature/model/impl/
SigArrayType.java 37 public int hashCode() {
38 return SigArrayType.hashCode(this);
41 public static int hashCode(IArrayType type) {
42 return type.getComponentType().hashCode();
SigClassReference.java 51 public int hashCode() {
52 return SigClassReference.hashCode(this);
55 public static int hashCode(IClassReference thiz) {
56 return thiz.getClassDefinition().hashCode();
  /external/nist-sip/java/javax/sip/header/
Header.java 10 int hashCode();
  /art/test/120-hashcode/src/
Main.java 20 // Generate a hashcode and put it in the lock word.
21 int hashOrig = o.hashCode();
27 hashInflated = o.hashCode();
  /dalvik/dx/tests/062-dex-synch-method/
Blort.java 24 x.hashCode();
52 x.hashCode();

Completed in 555 milliseconds

1 2 3 4 5 6 7 8 91011>>