Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for doHash (0.03 sec)

  1. guava/src/com/google/common/base/PairwiseEquivalence.java

          if (!elementEquivalence.equivalent(iteratorA.next(), iteratorB.next())) {
            return false;
          }
        }
    
        return !iteratorA.hasNext() && !iteratorB.hasNext();
      }
    
      @Override
      protected int doHash(Iterable<T> iterable) {
        int hash = 78721;
        for (T element : iterable) {
          hash = hash * 24943 + elementEquivalence.hash(element);
        }
        return hash;
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Equivalence.java

     *     source-compatible</a> since 4.0)
     */
    @GwtCompatible
    /*
     * The type parameter is <T> rather than <T extends @Nullable> so that we can use T in the
     * doEquivalent and doHash methods to indicate that the parameter cannot be null.
     */
    @SuppressWarnings("UngroupedOverloads")
    public abstract class Equivalence<T> {
      /** Constructor for use by subclasses. */
      protected Equivalence() {}
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 01:47:55 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/PairwiseEquivalence.java

          if (!elementEquivalence.equivalent(iteratorA.next(), iteratorB.next())) {
            return false;
          }
        }
    
        return !iteratorA.hasNext() && !iteratorB.hasNext();
      }
    
      @Override
      protected int doHash(Iterable<T> iterable) {
        int hash = 78721;
        for (T element : iterable) {
          hash = hash * 24943 + elementEquivalence.hash(element);
        }
        return hash;
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

            new Equivalence<Object>() {
              @Override
              protected boolean doEquivalent(Object a, Object b) {
                return false;
              }
    
              @Override
              protected int doHash(Object t) {
                return 0;
              }
            };
    
        LocalCache<Object, Object> map =
            makeLocalCache(createCacheBuilder().keyEquivalence(testEquivalence));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        return new Equivalence<T>() {
          @Override
          protected boolean doEquivalent(T a, T b) {
            return false;
          }
    
          @Override
          protected int doHash(T t) {
            return 0;
          }
    
          final String string = paramString(Equivalence.class, generateInt());
    
          @Override
          public String toString() {
            return string;
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        return new Equivalence<T>() {
          @Override
          protected boolean doEquivalent(T a, T b) {
            return false;
          }
    
          @Override
          protected int doHash(T t) {
            return 0;
          }
    
          final String string = paramString(Equivalence.class, generateInt());
    
          @Override
          public String toString() {
            return string;
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  7. buildSrc/src/main/kotlin/Osgi.kt

        setClasspath(osgi.compileClasspath + sourceSets["main"].compileClasspath)
        bnd(*bndProperties)
      }
      // Call the convention when the task has finished, to modify the jar to contain OSGi metadata.
      jarTask.doLast {
        bundleExtension.buildAction().execute(this)
      }
    }
    
    fun Project.applyOsgiMultiplatform(vararg bndProperties: String) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/HashBiMap.java

          return HashBiMap.this.containsKey(o);
        }
    
        @Override
        public boolean remove(@Nullable Object o) {
          int oHash = Hashing.smearedHash(o);
          int entry = findEntryByKey(o, oHash);
          if (entry != ABSENT) {
            removeEntryKeyHashKnown(entry, oHash);
            return true;
          } else {
            return false;
          }
        }
      }
    
      @LazyInit private transient Set<V> valueSet;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  9. build.gradle.kts

      version = "5.2.0-SNAPSHOT"
    
      repositories {
        mavenCentral()
        google()
      }
    
      tasks.register("downloadDependencies") {
        description = "Download all dependencies to the Gradle cache"
        doLast {
          for (configuration in configurations) {
            if (configuration.isCanBeResolved) {
              configuration.files
            }
          }
        }
      }
    
      normalization {
        runtimeClasspath {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java

                return OptionalThing.empty();
    
            }
    
            @Override
    
            public void makeEmlFile(String fileName) {
    
            }
    
            @Override
    
            public String toHash() {
    
                return "mock-hash";
    
            }
    
            @Override
            public String toDisplay() {
    
                return "mock-display";
    
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 19.6K bytes
    - Viewed (0)
Back to top