Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 203 for HashCode (0.13 sec)

  1. guava/src/com/google/common/hash/HashCode.java

       * byte-based hashcode. Otherwise it returns {@link HashCode#asBytes}. Do <i>not</i> mutate this
       * array or else you will break the immutability contract of {@code HashCode}.
       */
      byte[] getBytesInternal() {
        return asBytes();
      }
    
      /**
       * Returns whether this {@code HashCode} and that {@code HashCode} have the same value, given that
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/HashCode.java

       * byte-based hashcode. Otherwise it returns {@link HashCode#asBytes}. Do <i>not</i> mutate this
       * array or else you will break the immutability contract of {@code HashCode}.
       */
      byte[] getBytesInternal() {
        return asBytes();
      }
    
      /**
       * Returns whether this {@code HashCode} and that {@code HashCode} have the same value, given that
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

          assertErrorMessage(
              e,
              "the Object#hashCode ("
                  + a.hashCode()
                  + ") of "
                  + a
                  + " [group 1, item 1] must be equal to the Object#hashCode ("
                  + b.hashCode()
                  + ") of "
                  + b);
          return;
        }
        fail("Should get invalid hashCode error");
      }
    
      public void testNullEqualityGroup() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

          if (hash != other.hash) return false
    
          return true
        }
    
        override fun hashCode(): Int {
          var result = pattern.hashCode()
          result = 31 * result + hashAlgorithm.hashCode()
          result = 31 * result + hash.hashCode()
          return result
        }
      }
    
      /** Builds a configured certificate pinner. */
      class Builder {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                  @Override
                  public Set<Entry<String, String>> entrySet() {
                    return new EntrySet();
                  }
    
                  @Override
                  public int hashCode() {
                    return map.hashCode();
                  }
    
                  @Override
                  public boolean equals(@Nullable Object o) {
                    return map.equals(o);
                  }
    
                  @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

     * augment the addresses name's hashCode to distinguish those resolved by
     * Lmhosts, WINS, or BCAST. Otherwise a failed query from say WINS would
     * get pulled out of the cache for a BCAST on the same name.
     */
                                    response.addrEntry[0].hostName.srcHashCode =
                                                            request.addr.hashCode();
                                    return response.addrEntry[0];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 17.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/Striped.java

       * java.util.HashMap class.
       */
      // Copied from java/com/google/common/collect/Hashing.java
      private static int smear(int hashCode) {
        hashCode ^= (hashCode >>> 20) ^ (hashCode >>> 12);
        return hashCode ^ (hashCode >>> 7) ^ (hashCode >>> 4);
      }
    
      private static class PaddedLock extends ReentrantLock {
        /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/HashCodeTest.java

        assertEquals(expectedInt, hashCode.asInt());
        assertEquals(expectedToString, hashCode.toString());
    
        bytes[0] = (byte) 0x00;
    
        assertEquals(expectedInt, hashCode.asInt());
        assertEquals(expectedToString, hashCode.toString());
      }
    
      public void testFromBytesNoCopy_noCopyOccurs() {
        byte[] bytes = new byte[] {(byte) 0xcd, (byte) 0xab, (byte) 0x00, (byte) 0x00};
        HashCode hashCode = HashCode.fromBytesNoCopy(bytes);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

        assertEquals(expectedInt, hashCode.asInt());
        assertEquals(expectedToString, hashCode.toString());
    
        bytes[0] = (byte) 0x00;
    
        assertEquals(expectedInt, hashCode.asInt());
        assertEquals(expectedToString, hashCode.toString());
      }
    
      public void testFromBytesNoCopy_noCopyOccurs() {
        byte[] bytes = new byte[] {(byte) 0xcd, (byte) 0xab, (byte) 0x00, (byte) 0x00};
        HashCode hashCode = HashCode.fromBytesNoCopy(bytes);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractEntity.java

        // #pending hashCode(), equals()
        @Override
        public int instanceHash() {
            return super.hashCode();
        }
    
        @Override
        public String toString() {
            return getClass().getSimpleName() + ":" + doBuildColumnString(", ") + "@" + Integer.toHexString(hashCode());
        }
    
        protected abstract String doBuildColumnString(String dm);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top