Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 554 for HashCode (0.09 sec)

  1. guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java

        for (int i = 0; i < reps; i++) {
          for (Object value : hashMultiset) {
            sum += value.hashCode();
          }
        }
        return sum;
      }
    
      @Benchmark
      int linkedHashMultiset(int reps) {
        int sum = 0;
        for (int i = 0; i < reps; i++) {
          for (Object value : linkedHashMultiset) {
            sum += value.hashCode();
          }
        }
        return sum;
      }
    
      @Benchmark
      int treeMultiset(int reps) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapFile.java

                return true;
            }
            return false;
        }
    
        @Override
        public int hashCode() {
            return loc.hashCode() + lastmod.hashCode();
        }
    
        @Override
        public String toString() {
            return "SitemapFile [loc=" + loc + ", lastmod=" + lastmod + "]";
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

       */
      fun asTypeHint(): BasicDerAdapter<T> = copy(typeHint = true)
    
      // Avoid Long.hashCode(long) which isn't available on Android 5.
      override fun hashCode(): Int {
        var result = 0
        result = 31 * result + name.hashCode()
        result = 31 * result + tagClass
        result = 31 * result + tag.toInt()
        result = 31 * result + codec.hashCode()
        result = 31 * result + (if (isOptional) 1 else 0)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/Restriction.java

        }
    
        @Override
        public int hashCode() {
            int result = 13;
    
            if (lowerBound == null) {
                result += 1;
            } else {
                result += lowerBound.hashCode();
            }
    
            result *= lowerBoundInclusive ? 1 : 2;
    
            if (upperBound == null) {
                result -= 3;
            } else {
                result -= upperBound.hashCode();
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java

            return compareTo((MetadataGraphVertex) vo) == 0;
        }
    
        // ---------------------------------------------------------------------
    
        @Override
        public int hashCode() {
            if (md == null) {
                return super.hashCode();
            }
            StringBuilder hashString = new StringBuilder(128);
            hashString.append(md.groupId).append('|');
            hashString.append(md.artifactId).append('|');
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. 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)
  7. android/guava-tests/benchmark/com/google/common/math/StatsBenchmark.java

        private final double variance;
    
        MeanAndVariance(double mean, double variance) {
          this.mean = mean;
          this.variance = variance;
        }
    
        @Override
        public int hashCode() {
          return Doubles.hashCode(mean) * 31 + Doubles.hashCode(variance);
        }
      }
    
      enum VarianceAlgorithm {
        DO_NOT_COMPUTE {
          @Override
          MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataGraphNode.java

            } else {
                return super.equals(obj);
            }
        }
    
        @Override
        public int hashCode() {
            if (metadata == null) {
                return super.hashCode();
            }
    
            return metadata.toString().hashCode();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. 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)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/InversionArtifactFilter.java

            this.toInvert = toInvert;
        }
    
        public boolean include(Artifact artifact) {
            return !toInvert.include(artifact);
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
            hash = hash * 31 + toInvert.hashCode();
            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top