Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 494 for hashcode (0.27 sec)

  1. src/main/java/jcifs/netbios/UniAddress.java

            }
            this.addr = addr;
        }
    
        /**
         * Return the IP address of this address as a 32 bit integer.
         */
    
        @Override
        public int hashCode() {
            return this.addr.hashCode();
        }
    
        /**
         * Compare two addresses for equality. Two <code>UniAddress</code>s are equal
         * if they are both <code>UniAddress</code>' and refer to the same IP address.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

        Class<? extends Exception> exceptionType = this.exceptionType.exceptionType;
        for (int i = 0; i < reps; ++i) {
          try {
            tmp += getChecked(validator, future, exceptionType).hashCode();
          } catch (Exception e) {
            tmp += e.hashCode();
          }
        }
        return tmp;
      }
    
      private static GetCheckedTypeValidator nonCachingWithoutConstructorCheckValidator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            assertEquals(0, c1.compareTo(c2), "expected " + v1 + " == " + v2);
            assertEquals(0, c2.compareTo(c1), "expected " + v2 + " == " + v1);
            assertEquals(c1.hashCode(), c2.hashCode(), "expected same hashcode for " + v1 + " and " + v2);
            assertEquals(c1, c2, "expected " + v1 + ".equals( " + v2 + " )");
            assertEquals(c2, c1, "expected " + v2 + ".equals( " + v1 + " )");
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

        return t;
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return delegate.equals(obj);
      }
    
      @Override
      public int hashCode() {
        return delegate.hashCode();
      }
    
      @Override
      public String toString() {
        return delegate.toString();
      }
    
      private static final long serialVersionUID = 0L;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java

             *
             * @return the identifier
             */
            @Override
            public String id() {
                return id;
            }
    
            @Override
            public int hashCode() {
                return id().hashCode();
            }
    
            @Override
            public boolean equals(Object obj) {
                return obj != null && getClass() == obj.getClass() && id().equals(((DefaultExtensibleEnum) obj).id());
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

            ChannelInfo that = (ChannelInfo) obj;
            return channelId != null ? channelId.equals(that.channelId) : that.channelId == null;
        }
    
        @Override
        public int hashCode() {
            return channelId != null ? channelId.hashCode() : 0;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  7. okhttp/api/jvm/okhttp.api

    	public final fun certificatePinner ()Lokhttp3/CertificatePinner;
    	public final fun connectionSpecs ()Ljava/util/List;
    	public final fun dns ()Lokhttp3/Dns;
    	public fun equals (Ljava/lang/Object;)Z
    	public fun hashCode ()I
    	public final fun hostnameVerifier ()Ljavax/net/ssl/HostnameVerifier;
    	public final fun protocols ()Ljava/util/List;
    	public final fun proxy ()Ljava/net/Proxy;
    	public final fun proxyAuthenticator ()Lokhttp3/Authenticator;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

        assertTrue(map.entrySet().contains(immutableEntry("a", new IntHolder(3))));
        Map<String, Integer> intMap = ImmutableSortedMap.of("a", 3, "b", 2);
        assertEquals(intMap.hashCode(), map.entrySet().hashCode());
        assertEquals(intMap.hashCode(), map.hashCode());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testViewSerialization() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

        }
    
        /**
         * Returns a hash code value for the object.
         *
         * @return a hash code value for this object
         */
        @Override
        public int hashCode() {
            return inputStream.hashCode();
        }
    
        /**
         * Marks the current position in this input stream.
         *
         * @param readlimit the maximum limit of bytes that can be read before the mark position becomes invalid
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Lists.java

      /** An implementation of {@link List#hashCode()}. */
      static int hashCodeImpl(List<?> list) {
        // TODO(lowasser): worth optimizing for RandomAccess?
        int hashCode = 1;
        for (Object o : list) {
          hashCode = 31 * hashCode + (o == null ? 0 : o.hashCode());
    
          hashCode = ~~hashCode;
          // needed to deal with GWT integer overflow
        }
        return hashCode;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
Back to top