Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 389 for comparison (0.11 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/Restriction.java

            if (lowerBound != null) {
                int comparison = lowerBound.compareTo(version);
    
                if ((comparison == 0) && !lowerBoundInclusive) {
                    return false;
                }
                if (comparison > 0) {
                    return false;
                }
            }
            if (upperBound != null) {
                int comparison = upperBound.compareTo(version);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Optional.java

       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> no differences.
       */
      public abstract boolean isPresent();
    
      /**
       * Returns the contained instance, which must be present. If the instance might be absent, use
       * {@link #or(Object)} or {@link #orNull} instead.
       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> when the value is absent, this method
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/site/apt/index.apt

    Display parameters as parsed by Maven (in canonical form) and comparison result:
    1. 3.2.4-alpha-1 == 3.2.4.alpha.1
       3.2.4-alpha-1 < 3.2.4-SNAPSHOT
    2. 3.2.4-SNAPSHOT == 3.2.4.snapshot
       3.2.4-SNAPSHOT < 3.2.4.0
    3. 3.2.4.0 == 3.2.4
    +----+
    
    * Useful entry points
    
     * artifact version comparison {{{./apidocs/org/apache/maven/artifact/versioning/ComparableVersion.html}javadoc}},
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. bin/diff_yaml.py

                            help="Ignore namespace during comparison")
        parser.add_argument("--ignore-labels", action="store_true", default=False,
                            help="Ignore resource labels during comparison")
        parser.add_argument("--ignore-annotations", action="store_true", default=False,
                            help="Ignore annotations during comparison")
    
        return parser
    
    
    if __name__ == "__main__":
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Mar 03 16:14:57 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                        } else {
                            int comparison = res1.getLowerBound().compareTo(res2.getLowerBound());
                            if (comparison < 0) {
                                lower = res2.getLowerBound();
                                lowerInclusive = res2.isLowerBoundInclusive();
                            } else if (comparison == 0) {
                                lower = res1.getLowerBound();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import org.junit.Test
    
    
    /**
     * Asserts Kotlin `internal` members are filtered from the comparison.
     */
    class KotlinInternalFilteringTest : AbstractBinaryCompatibilityTest() {
    
        private
        val internalMembers = """
    
            internal fun foo() {}
    
            internal val bar = "bar"
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jun 27 13:51:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. cmd/os-readdir_test.go

    			testResults = append(testResults, result{dir, entries})
    			t.Fatalf("Unable to create file, %s", err)
    		}
    		entries = append(entries, name)
    	}
    
    	// Keep entries sorted for easier comparison.
    	sort.Strings(entries)
    
    	// Add entries slice for this test directory.
    	testResults = append(testResults, result{dir, entries})
    	return testResults
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/arch/arm.go

    	"BLE":  true,
    	"CALL": true,
    	"JMP":  true,
    }
    
    func jumpArm(word string) bool {
    	return armJump[word]
    }
    
    // IsARMCMP reports whether the op (as defined by an arm.A* constant) is
    // one of the comparison instructions that require special handling.
    func IsARMCMP(op obj.As) bool {
    	switch op {
    	case arm.ACMN, arm.ACMP, arm.ATEQ, arm.ATST:
    		return true
    	}
    	return false
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 23 15:18:14 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ServiceTest.java

    import java.util.Locale;
    import junit.framework.TestCase;
    
    /** Unit tests for {@link Service} */
    public class ServiceTest extends TestCase {
    
      /** Assert on the comparison ordering of the State enum since we guarantee it. */
      public void testStateOrdering() {
        // List every valid (direct) state transition.
        assertLessThan(NEW, STARTING);
        assertLessThan(NEW, TERMINATED);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

    import java.util.Deque;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Locale;
    import java.util.Objects;
    import java.util.Properties;
    
    /**
     * <p>
     * Generic implementation of version comparison.
     * </p>
     * <p>
     * Features:
     * <ul>
     * <li>mixing of '<code>-</code>' (hyphen) and '<code>.</code>' (dot) separators,</li>
     * <li>transition between characters and digits also constitutes a separator:
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
Back to top