Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 432 for hash_code (0.14 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/GradleModuleMetadata.groovy

        static class File {
            final String name
            final String url
            final long size
            final HashCode sha1
            final HashCode sha256
            final HashCode sha512
            final HashCode md5
    
            File(String name, String url, long size, HashCode sha1, HashCode md5, HashCode sha256, HashCode sha512) {
                this.name = name
                this.url = url
                this.size = size
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/attributes/DefaultAttributesSchema.java

                return consumerSchema.equals(that.consumerSchema) && producerSchema.equals(that.producerSchema);
            }
    
            @Override
            public int hashCode() {
                return Objects.hashCode(consumerSchema, producerSchema);
            }
        }
    
        /**
         * A cache entry key, leveraging _identity_ as the key, because we do interning.
         * This is a performance optimization.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 16:59:54 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. 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)
  4. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/adapter/ProtocolToModelAdapter.java

                    // hashcode will always be used, so we precompute it in order to make sure we
                    // won't compute it multiple times during comparisons
                    int result = lookupClass != null ? lookupClass.hashCode() : 0;
                    result = 31 * result + (methodName != null ? methodName.hashCode() : 0);
                    result = 31 * result + Arrays.hashCode(parameterTypes);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 04:42:54 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/deps/ClassSetAnalysisData.java

                ImmutableMap.Builder<String, HashCode> classHashes = ImmutableMap.builderWithExpectedSize(count);
                for (int i = 0; i < count; i++) {
                    String className = hierarchicalNameSerializer.read(decoder);
                    HashCode hashCode = hashCodeSerializer.read(decoder);
                    classHashes.put(className, hashCode);
                }
    
                count = decoder.readSmallInt();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 15:22:57 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  6. 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)
  7. android/guava/src/com/google/common/reflect/Types.java

              .append('>')
              .toString();
        }
    
        @Override
        public int hashCode() {
          return (ownerType == null ? 0 : ownerType.hashCode())
              ^ argumentsList.hashCode()
              ^ rawType.hashCode();
        }
    
        @Override
        public boolean equals(@CheckForNull Object other) {
          if (!(other instanceof ParameterizedType)) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/AbstractValueProcessor.java

            }
            if (value instanceof Isolatable) {
                return visitor.fromIsolatable((Isolatable<?>) value);
            }
            if (value instanceof HashCode) {
                return visitor.hashCode((HashCode) value);
            }
            if (value instanceof ImplementationValue) {
                ImplementationValue implementationValue = (ImplementationValue) value;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 19:08:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/VersionRangeSelector.java

        }
    
        @Override
        public int hashCode() {
            int result = upperBound != null ? upperBound.hashCode() : 0;
            result = 31 * result + (upperBoundVersion != null ? upperBoundVersion.hashCode() : 0);
            result = 31 * result + (upperInclusive ? 1 : 0);
            result = 31 * result + (lowerBound != null ? lowerBound.hashCode() : 0);
            result = 31 * result + (lowerInclusive ? 1 : 0);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/DefaultTransformedVariantFactory.java

                this.sourceVariant = sourceVariant;
                this.target = target;
            }
    
            @Override
            public int hashCode() {
                return sourceVariant.hashCode() ^ target.hashCode();
            }
    
            @Override
            public boolean equals(Object obj) {
                if (obj == this) {
                    return true;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 11:35:20 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top