Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 98 for Comparison (1.29 sec)

  1. 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
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. 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);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/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 {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  4. 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() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            assertFalse(CrawlerStatus.INITIALIZING.equals(CrawlerStatus.DONE));
            assertFalse(CrawlerStatus.RUNNING.equals(CrawlerStatus.DONE));
    
            // Null comparison
            assertFalse(CrawlerStatus.INITIALIZING.equals(null));
    
            // Different type comparison
            assertFalse(CrawlerStatus.INITIALIZING.equals("INITIALIZING"));
            assertFalse(CrawlerStatus.INITIALIZING.equals(0));
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java

            byte[] actual = new byte[bytesWritten];
            System.arraycopy(dst, 0, actual, 0, bytesWritten);
    
            // Use assertArrayEquals for byte array comparison
            org.junit.jupiter.api.Assertions.assertArrayEquals(expected, actual, "Byte array content should match the expected format.");
        }
    
        @Test
        void testReadParameterWordsWireFormat() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/HMACT64Test.java

            byte[] data = "The quick brown fox jumps over the lazy dog".getBytes();
    
            // Calculate expected HMAC-MD5 using standard Java MessageDigest for comparison
            // This is a simplified HMAC-MD5 calculation for comparison, not a full RFC 2104 implementation.
            // The HMACT64 implementation is what we are testing.
            MessageDigest md5 = MessageDigest.getInstance("MD5");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java

         */
        @Test
        void testToString() {
            // The actual toString() method uses super.toString(), so we mimic that for the check.
            // A direct string comparison might be brittle, so we check for the class name and brackets.
            String actualString = response.toString();
            assertTrue(actualString.startsWith("Trans2SetFileInformationResponse["),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapFile.java

     * </p>
     *
     * <p>
     * This class also provides implementations for {@code equals}, {@code hashCode}, and {@code toString} methods
     * to facilitate object comparison and representation.
     * </p>
     *
     */
    public class SitemapFile implements Sitemap {
    
        private static final long serialVersionUID = 1L;
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.4K bytes
    - Viewed (1)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java

     *
     */
    @Deprecated
    public class MetadataGraphVertex implements Comparable<MetadataGraphVertex> {
        ArtifactMetadata md;
    
        // indications to use these in comparison
        private boolean compareVersion = false;
        private boolean compareScope = false;
    
        public MetadataGraphVertex(ArtifactMetadata md) {
            super();
            this.md = md;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top