Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,660 for hash_code (0.14 sec)

  1. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/ComplexExpression.java

            return Objects.equal(value, other.value) && arguments.equals(other.arguments);
        }
    
        @Override
        public int hashCode() {
            return type.hashCode() ^ (value == null ? 0 : value.hashCode()) ^ arguments.hashCode();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/DefaultProjectComponentIdentifierTest.groovy

            def id2 = newProjectId(projectPath)
            strictlyEquals(id1, id2) == equality
            (id1.hashCode() == id2.hashCode()) == hashCode
            (id1.toString() == id2.toString()) == stringRepresentation
    
            where:
            projectPath       | equality | hashCode | stringRepresentation
            ':myProjectPath1' | true     | true     | true
            ':myProjectPath2' | false    | false    | false
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 22 14:22:44 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. testing/soak/src/testFixtures/groovy/org/gradle/launcher/daemon/fixtures/FullyQualifiedGarbageCollector.groovy

            }
            if (version != that.version) {
                return false
            }
    
            return true
        }
    
        int hashCode() {
            int result
            result = vendor.hashCode()
            result = 31 * result + version.hashCode()
            result = 31 * result + gc.hashCode()
            return result
        }
    
    
        @Override
        public String toString() {
            return "FullyQualifiedGarbageCollector{" +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java

      }
    
      /** Returns a {@link HashCode} for a sequence of longs, in big-endian order. */
      private static HashCode toHashCode(long... longs) {
        ByteBuffer bb = ByteBuffer.wrap(new byte[longs.length * 8]).order(ByteOrder.LITTLE_ENDIAN);
        for (long x : longs) {
          bb.putLong(x);
        }
        return HashCode.fromBytes(bb.array());
      }
    
      public void testParanoid() {
        HashFn hf =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

          assertErrorMessage(
              e,
              "the Object#hashCode ("
                  + a.hashCode()
                  + ") of "
                  + a
                  + " [group 1, item 1] must be equal to the Object#hashCode ("
                  + b.hashCode()
                  + ") of "
                  + b);
          return;
        }
        fail("Should get invalid hashCode error");
      }
    
      public void testNullEqualityGroup() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  6. platforms/jvm/normalization-java/src/main/java/org/gradle/internal/fingerprint/classpath/impl/ClasspathFingerprintingStrategy.java

            IGNORE {
                @Nullable
                @Override
                public HashCode determineNonJarFingerprint(HashCode original) {
                    return null;
                }
            },
            USE_FILE_HASH {
                @Override
                public HashCode determineNonJarFingerprint(HashCode original) {
                    return original;
                }
            };
    
            @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/verifier/DependencyVerificationConfiguration.java

            }
    
            @Override
            public int hashCode() {
                int result = group != null ? group.hashCode() : 0;
                result = 31 * result + (name != null ? name.hashCode() : 0);
                result = 31 * result + (version != null ? version.hashCode() : 0);
                result = 31 * result + (fileName != null ? fileName.hashCode() : 0);
                result = 31 * result + (regex ? 1 : 0);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 18 10:13:31 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java

        assertEquals(
            "A Map's hashCode() should be the sum of those of its entries (where "
                + "a null element in an entry counts as having a hash of zero).",
            expectedHashCode,
            getMap().hashCode());
      }
    
      private static int hash(Entry<?, ?> e) {
        return (e.getKey() == null ? 0 : e.getKey().hashCode())
            ^ (e.getValue() == null ? 0 : e.getValue().hashCode());
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 2.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/AbstractInvocationHandler.java

        return super.equals(obj);
      }
    
      /**
       * By default delegates to {@link Object#hashCode}. The dynamic proxies' {@code hashCode()} will
       * delegate to this method. Subclasses can override this method to provide custom equality.
       */
      @Override
      public int hashCode() {
        return super.hashCode();
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  10. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/contracts/description/booleans/KtContractBooleanExpression.kt

        override val token: KaLifetimeToken get() = backingParameterSymbol.token
        public val parameterSymbol: KaParameterSymbol get() = withValidityAssertion { backingParameterSymbol }
        override fun hashCode(): Int = backingParameterSymbol.hashCode()
        override fun equals(other: Any?): Boolean {
            return this === other || other is KaContractBooleanValueParameterExpression && other.backingParameterSymbol == backingParameterSymbol
        }
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top