Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 100 for comparisons (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 19K bytes
    - Click Count (0)
  2. 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
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 7.5K bytes
    - Click Count (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}},
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

            byte b = (byte) 0xFF;
            int value = b & 0xFF;
            assertEquals(255, value, "Byte to unsigned conversion should work");
    
            // Test comparison operation
            assertTrue(value == 255, "Comparison should work correctly");
        }
    
        /**
         * Encode a string as 16-bit little-endian Unicode
         */
        private byte[] encodeUnicode(String s) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt

     */
    
    package gradlebuild.binarycompatibility
    
    import org.intellij.lang.annotations.Language
    import org.junit.Test
    
    
    /**
     * Asserts Kotlin `internal` members are filtered from the comparison.
     */
    class KotlinInternalFilteringTest : AbstractBinaryCompatibilityTest() {
    
        @Language("kotlin")
        private
        val internalMembers = """
    
            internal fun foo() {}
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Mar 14 02:17:00 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/http/NetworkExplorer.java

        }
    
        /**
         * Compares two SMB files by name.
         * @param f1 first file to compare
         * @param f1name name of first file
         * @param f2 second file to compare
         * @return comparison result for sorting
         * @throws IOException if an I/O error occurs
         */
        protected int compareNames(final SmbFile f1, final String f1name, final SmbFile f2) throws IOException {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/DialectVersionTest.java

            assertFalse(stringRep.isEmpty());
        }
    
        @Test
        @DisplayName("Should handle version comparison")
        void testVersionComparison() {
            // Test equality
            assertEquals(DialectVersion.SMB311, DialectVersion.SMB311);
            assertNotEquals(DialectVersion.SMB1, DialectVersion.SMB311);
    
            // Test comparison
            assertTrue(DialectVersion.SMB1.compareTo(DialectVersion.SMB311) < 0);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbResourceLocatorInternal.java

         *
         * @param other the other resource locator to compare with
         * @return whether the paths share a common root
         * @throws CIFSException if an error occurs during comparison
         */
        boolean overlaps(SmbResourceLocator other) throws CIFSException;
    
        /**
         * Internal: for testing only
         *
         * @param dr the DFS referral data to process
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ServiceTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Unit tests for {@link Service} */
    @NullUnmarked
    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);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

                return Stream.of(Arguments.of(null, "4.1.0"), Arguments.of("4.0.0", null), Arguments.of(null, null));
            }
        }
    
        @Nested
        @DisplayName("Version Comparison")
        class VersionComparisonTests {
    
            @Test
            @DisplayName("should compare versions correctly")
            void shouldCompareVersionsCorrectly() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 19.6K bytes
    - Click Count (0)
Back to Top