Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,520 for equal (1.53 sec)

  1. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            @DisplayName("Should not be equal to null")
            void testNotEqualsNull() {
                assertFalse(testMessage.equals(null));
            }
    
            @Test
            @DisplayName("Should not be equal to different type")
            void testNotEqualsDifferentType() {
                assertFalse(testMessage.equals("not a message"));
            }
    
            @Test
            @DisplayName("Should be equal to itself")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  2. cmd/benchmark-utils_test.go

    	bucket := getRandomBucketName()
    	// create bucket.
    	err = obj.MakeBucket(b.Context(), bucket, MakeBucketOptions{})
    	if err != nil {
    		b.Fatal(err)
    	}
    
    	// get text data generated for number of bytes equal to object size.
    	textData := generateBytesData(objSize)
    	// generate md5sum for the generated data.
    	// md5sum of the data to written is required as input for PutObject.
    
    	md5hex := getMD5Hash(textData)
    	sha256hex := ""
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/BuildTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Build().equals(null));
    
            new Build().equals(new Build());
        }
    
        @Test
        void testEqualsIdentity() {
            Build thing = new Build();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/IssueManagementTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new IssueManagement().equals(null));
    
            new IssueManagement().equals(new IssueManagement());
        }
    
        @Test
        void testEqualsIdentity() {
            IssueManagement thing = new IssueManagement();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/ToDoubleRounder.java

     * a {@link RoundingMode}.
     */
    @GwtIncompatible
    abstract class ToDoubleRounder<X extends Number & Comparable<X>> {
      /**
       * Returns x rounded to either the greatest double less than or equal to the precise value of x,
       * or the least double greater than or equal to the precise value of x.
       */
      abstract double roundToDoubleArbitrarily(X x);
    
      /** Returns the sign of x: either -1, 0, or 1. */
      abstract int sign(X x);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/StringUtil.java

        }
    
        /**
         * Returns whether two strings are equal. If both are null, returns <code>true</code>.
         *
         * @param target1
         *            the first string
         * @param target2
         *            the second string
         * @return true if the strings are equal, false otherwise
         */
        public static boolean equals(final String target1, final String target2) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  7. schema/naming_test.go

    	}
    
    	ns := NamingStrategy{}
    	for key, value := range maps {
    		if ns.toDBName(key) != value {
    			t.Errorf("%v toName should equal %v, but got %v", key, value, ns.toDBName(key))
    		}
    	}
    
    	maps = map[string]string{
    		"x":                              "X",
    		"user_restrictions":              "UserRestriction",
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue May 30 02:00:48 UTC 2023
    - 7K bytes
    - Viewed (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/ActivationOSTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new ActivationOS().equals(null));
    
            new ActivationOS().equals(new ActivationOS());
        }
    
        @Test
        void testEqualsIdentity() {
            ActivationOS thing = new ActivationOS();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/PluginConfigurationTest.java

        @Test
        void testEqualsNullSafe() {
            assertFalse(new PluginConfiguration().equals(null));
    
            new PluginConfiguration().equals(new PluginConfiguration());
        }
    
        @Test
        void testEqualsIdentity() {
            PluginConfiguration thing = new PluginConfiguration();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/ReportPluginTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new ReportPlugin().equals(null));
    
            new ReportPlugin().equals(new ReportPlugin());
        }
    
        @Test
        void testEqualsIdentity() {
            ReportPlugin thing = new ReportPlugin();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top