Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 23 for equality (0.13 seconds)

  1. api/maven-api-model/src/main/java/org/apache/maven/api/model/ModelObjectProcessor.java

     *
     * <p>This service allows implementations to:</p>
     * <ul>
     *   <li>Pool identical objects to reduce memory footprint</li>
     *   <li>Intern objects for faster equality comparisons</li>
     *   <li>Apply custom optimization strategies</li>
     *   <li>Transform or modify objects during building</li>
     * </ul>
     *
     * <p>Implementations are discovered via the Java ServiceLoader mechanism and should
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  2. cmd/dummy-data-generator_test.go

    }
    
    func TestDummyDataGenerator(t *testing.T) {
    	readAll := func(r io.Reader) string {
    		b, _ := io.ReadAll(r)
    		return string(b)
    	}
    	checkEq := func(a, b string) {
    		if a != b {
    			t.Fatalf("Unexpected equality failure")
    		}
    	}
    
    	checkEq(readAll(NewDummyDataGen(0, 0)), "")
    
    	checkEq(readAll(NewDummyDataGen(10, 0)), readAll(NewDummyDataGen(10, int64(len(alphabets)))))
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

        public static boolean isVersionGreaterOrEqual(String modelVersion, String targetVersion) {
            if (modelVersion == null || targetVersion == null) {
                return false;
            }
    
            // Handle exact equality first
            if (modelVersion.equals(targetVersion)) {
                return true;
            }
    
            // For now, handle the specific cases we need
            if (MODEL_VERSION_4_1_0.equals(targetVersion)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  4. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

         */
        public int hashCode() {
            return java.util.Objects.hash(getType(), getProvides());
        } //-- int hashCode()
    
        /**
         * Checks equality based on {@link #getType()} and {@link #getProvides()} values.
         */
        public boolean equals(Object other) {
            if (this == other) {
                return true;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun May 18 09:15:56 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java

            this.id = id;
            this.transitive = transitive;
        }
    
        /**
         * The {@code id} uniquely represents a value for this extensible enum.
         * This id should be used to compute the equality and hash code for the instance.
         *
         * @return the id
         */
        @Nonnull
        public String id() {
            return id;
        }
    
        public boolean isTransitive() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 19 14:33:26 GMT 2025
    - 4K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java

         * session's repositories, allowing for request-specific repository configuration.
         *
         * <p>The returned list should not contain duplicate repositories (based on their
         * equality) or null entries, as these will cause validation failures when the
         * request is processed.
         *
         * @return the list of remote repositories to use, or {@code null} to use session defaults
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 5K bytes
    - Click Count (0)
  7. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

    val codenarcVersion = if (isAtLeastGroovy4) "3.6.0-groovy-4.0" else "3.6.0"
    
    dependencies {
        rules("gradlebuild:code-quality-rules") {
            because("Provides rules defined in XML files")
        }
        codenarc("gradlebuild:code-quality-rules") {
            because("Provides the IntegrationTestFixturesRule implementation")
        }
        codenarc("org.codenarc:CodeNarc:$codenarcVersion")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Oct 01 11:57:43 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  8. PULL_REQUESTS_ETIQUETTE.md

    # MinIO Pull Request Guidelines
    
    These guidelines ensure high-quality commits in MinIO’s GitHub repositories, maintaining 
    a clear, valuable commit history for our open-source projects. They apply to all contributors, 
    fostering efficient reviews and robust code.
    
    ## Why Pull Requests?
    
    Pull Requests (PRs) drive quality in MinIO’s codebase by:
    - Enabling peer review without pair programming.
    - Documenting changes for future reference.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun May 25 16:32:03 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManagerTest.groovy

                            "type": "org.gradle.api.plugins.quality.Checkstyle",
                            "member": "Method org.gradle.api.plugins.quality.Checkstyle.getInstantiator()",
                            "changes": ["Method has been removed"],
                            "acceptation": "use ObjectFactory instead"
                        },
                        {
                            "type": "org.gradle.api.plugins.quality.CodeNarc",
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Aug 17 08:32:56 GMT 2021
    - 2.5K bytes
    - Click Count (0)
  10. build-logic-commons/settings.gradle.kts

    include("build-platform")
    
    // Compute the identity/version we are building and related details (like current git commit)
    include("module-identity")
    
    // Code quality rules common to :build-logic and the root build
    include("code-quality-rules")
    
    // Plugins to build :build-logic plugins
    include("gradle-plugin")
    
    // Plugins to publish gradle projects
    include("publishing")
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon May 19 17:09:05 GMT 2025
    - 1.9K bytes
    - Click Count (0)
Back to Top