Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for doHash (0.21 sec)

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

      }
    
      @Override
      protected boolean doEquivalent(F a, F b) {
        return resultEquivalence.equivalent(function.apply(a), function.apply(b));
      }
    
      @Override
      protected int doHash(F a) {
        return resultEquivalence.hash(function.apply(a));
      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj == this) {
          return true;
        }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon May 01 19:48:29 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  2. 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
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/FunctionalEquivalence.java

      }
    
      @Override
      protected boolean doEquivalent(F a, F b) {
        return resultEquivalence.equivalent(function.apply(a), function.apply(b));
      }
    
      @Override
      protected int doHash(F a) {
        return resultEquivalence.hash(function.apply(a));
      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj == this) {
          return true;
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon May 01 19:48:29 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  4. 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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

        }
    
        @Override
        protected boolean doEquivalent(Object a, Object b) {
          return equivalentExpectations.get(a, b);
        }
    
        @Override
        protected int doHash(Object object) {
          return hashExpectations.get(object);
        }
    
        void checkRecording() {
          checkState(equivalentExpectations == null && hashExpectations == null);
        }
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

        }
    
        @Override
        protected boolean doEquivalent(Object a, Object b) {
          return equivalentExpectations.get(a, b);
        }
    
        @Override
        protected int doHash(Object object) {
          return hashExpectations.get(object);
        }
    
        void checkRecording() {
          checkState(equivalentExpectations == null && hashExpectations == null);
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  7. build-logic/build-update-utils/src/main/kotlin/gradlebuild.wrapper.gradle.kts

    wrapperUpdateTask("rc", "release-candidate")
    wrapperUpdateTask("current", "current")
    
    tasks.withType<Wrapper>().configureEach {
        val jvmOpts = "-Dfile.encoding=UTF-8"
        inputs.property("jvmOpts", jvmOpts)
        doLast {
            val optsEnvVar = "DEFAULT_JVM_OPTS"
            scriptFile.writeText(scriptFile.readText().replace("$optsEnvVar='", "$optsEnvVar='$jvmOpts "))
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  8. build-logic/buildquality/src/main/kotlin/gradlebuild.verify-build-environment.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import java.nio.charset.Charset
    
    tasks.register("verifyIsProductionBuildEnvironment") {
        doLast {
            val systemCharset = Charset.defaultCharset().name()
            assert(systemCharset == "UTF-8") {
                "Platform encoding must be UTF-8. Is currently $systemCharset. Set -Dfile.encoding=UTF-8"
            }
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Feb 01 09:48:30 GMT 2021
    - 941 bytes
    - Viewed (0)
  9. 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)
      }
    }
    
    val Project.sourceSets: SourceSetContainer
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  10. build-logic/build.gradle.kts

    }
    
    val clean by tasks.registering {
        val buildLogicPropertiesFile = layout.projectDirectory.file("gradle.properties")
        val rootPropertiesFile = layout.projectDirectory.file("../gradle.properties")
        doLast {
            val buildLogicProperties = readProperties(buildLogicPropertiesFile.asFile)
            val rootProperties = readProperties(rootPropertiesFile.asFile)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Jan 24 02:52:56 GMT 2024
    - 1.2K bytes
    - Viewed (0)
Back to top