Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for hash_code (0.16 sec)

  1. android/guava/src/com/google/common/collect/Synchronized.java

          if (o == this) {
            return true;
          }
          synchronized (mutex) {
            return delegate().equals(o);
          }
        }
    
        @Override
        public int hashCode() {
          synchronized (mutex) {
            return delegate().hashCode();
          }
        }
    
        private static final long serialVersionUID = 0;
      }
    
      private static <E extends @Nullable Object> SortedSet<E> sortedSet(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Synchronized.java

          if (o == this) {
            return true;
          }
          synchronized (mutex) {
            return delegate().equals(o);
          }
        }
    
        @Override
        public int hashCode() {
          synchronized (mutex) {
            return delegate().hashCode();
          }
        }
    
        private static final long serialVersionUID = 0;
      }
    
      private static <E extends @Nullable Object> SortedSet<E> sortedSet(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 57.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SetsTest.java

          result.add(new HashSet<E>(subset));
        }
        return result;
      }
    
      private static Object objectWithHashCode(final int hashCode) {
        return new Object() {
          @Override
          public int hashCode() {
            return hashCode;
          }
        };
      }
    
      // TODO b/327389044 - `Set<? extends Object> elements` should be enough but J2KT needs the <E>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 49.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

          }
        };
      }
    
      /** An implementation for {@link Set#hashCode()}. */
      static int hashCodeImpl(Set<?> s) {
        int hashCode = 0;
        for (Object o : s) {
          hashCode += o != null ? o.hashCode() : 0;
    
          hashCode = ~~hashCode;
          // Needed to deal with unusual integer overflow in GWT.
        }
        return hashCode;
      }
    
      /** An implementation for {@link Set#equals(Object)}. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
  5. okhttp/api/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: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Sets.java

          }
        };
      }
    
      /** An implementation for {@link Set#hashCode()}. */
      static int hashCodeImpl(Set<?> s) {
        int hashCode = 0;
        for (Object o : s) {
          hashCode += o != null ? o.hashCode() : 0;
    
          hashCode = ~~hashCode;
          // Needed to deal with unusual integer overflow in GWT.
        }
        return hashCode;
      }
    
      /** An implementation for {@link Set#equals(Object)}. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multimaps.java

          return map.entrySet().iterator();
        }
    
        @Override
        Map<K, Collection<V>> createAsMap() {
          return new AsMap<>(this);
        }
    
        @Override
        public int hashCode() {
          return map.hashCode();
        }
    
        private static final long serialVersionUID = 7845222491160860175L;
      }
    
      /**
       * Returns a view of a multimap where each value is transformed by a function. All other
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Multimaps.java

          return map.entrySet().iterator();
        }
    
        @Override
        Map<K, Collection<V>> createAsMap() {
          return new AsMap<>(this);
        }
    
        @Override
        public int hashCode() {
          return map.hashCode();
        }
    
        private static final long serialVersionUID = 7845222491160860175L;
      }
    
      /**
       * Returns a view of a multimap where each value is transformed by a function. All other
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

    
        /**
         * Computes a hashCode for this file based on the URL string and IP
         * address if the server. The hashing function uses the hashcode of the
         * server address, the canonical representation of the URL, and does not
         * compare authentication information. In essence, two
         * <code>SmbFile</code> objects that refer to
         * the same file should generate the same hashcode provided it is possible
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (1)
  10. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/BuildScriptBuilder.java

                return Objects.equal(taskName, that.taskName) && Objects.equal(taskType, that.taskType);
            }
    
            @Override
            public int hashCode() {
                return Objects.hashCode(taskName, taskType);
            }
        }
    
        private static class TaskTypeSelector implements ConfigSelector {
    
            final String taskType;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 12:02:29 UTC 2023
    - 90K bytes
    - Viewed (0)
Back to top