Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 432 for hash_code (0.16 sec)

  1. android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

        Mac mac = Mac.getInstance("HmacMD5");
        mac.init(MD5_KEY);
        mac.update(input.getBytes(UTF_8));
        assertEquals(knownOutput, HashCode.fromBytes(mac.doFinal()).toString());
        assertEquals(knownOutput, HashCode.fromBytes(mac.doFinal(input.getBytes(UTF_8))).toString());
        assertEquals(knownOutput, Hashing.hmacMd5(MD5_KEY).hashString(input, UTF_8).toString());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/BTreePersistentIndexedCache.java

            long hashCode;
            BlockPointer dataBlock;
            BlockPointer childIndexBlock;
    
            private IndexEntry() {
            }
    
            private IndexEntry(long hashCode) {
                this.hashCode = hashCode;
            }
    
            @Override
            public int compareTo(IndexEntry indexEntry) {
                if (hashCode > indexEntry.hashCode) {
                    return 1;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/Collectors.java

                }
                SingleElement<?> that = (SingleElement<?>) o;
                return Objects.equal(element, that.element);
            }
    
            @Override
            public int hashCode() {
                return Objects.hashCode(element);
            }
    
            @Override
            public int size() {
                return 1;
            }
    
            @Override
            public String toString() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:15:09 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/HashFunction.java

     *
     * <h3>Relationship to {@link Object#hashCode}</h3>
     *
     * <p>Java's baked-in concept of hash codes is constrained to 32 bits, and provides no separation
     * between hash algorithms and the data they act on, so alternate hash algorithms can't be easily
     * substituted. Also, implementations of {@code hashCode} tend to be poor-quality, in part because
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/HashFunction.java

     *
     * <h3>Relationship to {@link Object#hashCode}</h3>
     *
     * <p>Java's baked-in concept of hash codes is constrained to 32 bits, and provides no separation
     * between hash algorithms and the data they act on, so alternate hash algorithms can't be easily
     * substituted. Also, implementations of {@code hashCode} tend to be poor-quality, in part because
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return getClass().hashCode() ^ seed;
      }
    
      @Override
      public HashCode hashInt(int input) {
        int k1 = mixK1(input);
        int h1 = mixH1(seed, k1);
    
        return fmix(h1, Ints.BYTES);
      }
    
      @Override
      public HashCode hashLong(long input) {
        int low = (int) input;
        int high = (int) (input >>> 32);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 11.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/FilteringClassLoader.java

            }
    
            @Override
            public int hashCode() {
                return packageNames.hashCode()
                    ^ packagePrefixes.hashCode()
                    ^ resourceNames.hashCode()
                    ^ resourcePrefixes.hashCode()
                    ^ classNames.hashCode()
                    ^ disallowedClassNames.hashCode()
                    ^ disallowedPackagePrefixes.hashCode();
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  8. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                hash = hash * 31 + groupId.hashCode();
                hash = hash * 31 + artifactId.hashCode();
                hash = hash * 31 + classifier.hashCode();
                hash = hash * 31 + extension.hashCode();
                hash = hash * 31 + version.hashCode();
                hash = hash * 31 + localRepo.hashCode();
                hash = hash * 31 + repositories.hashCode();
                hashCode = hash;
            }
    
            @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/EdgeState.java

            this.hashCode = computeHashCode();
        }
    
        private int computeHashCode() {
            int hashCode = from.hashCode();
            hashCode = 31 * hashCode + dependencyState.hashCode();
            if (transitiveExclusions != null) {
                hashCode = 31 * hashCode + transitiveExclusions.hashCode();
            }
            return hashCode;
        }
    
        void computeSelector() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 02:21:08 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/internal/resource/transfer/DefaultCacheAwareExternalResourceAccessor.java

            });
        }
    
        @Nullable
        private HashCode getResourceSha1(ExternalResourceName location, boolean revalidate) {
            try {
                ExternalResourceName sha1Location = location.append(".sha1");
                ExternalResource resource = delegate.resource(sha1Location, revalidate);
                ExternalResourceReadResult<HashCode> result = resource.withContentIfPresent(inputStream -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.2K bytes
    - Viewed (0)
Back to top