Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 424 for Equal (0.04 sec)

  1. cmd/data-usage_test.go

    		}
    	}
    }
    
    // equalAsJSON returns whether the values are equal when encoded as JSON.
    func equalAsJSON(a, b any) bool {
    	aj, err := json.Marshal(a)
    	if err != nil {
    		panic(err)
    	}
    	bj, err := json.Marshal(b)
    	if err != nil {
    		panic(err)
    	}
    	return bytes.Equal(aj, bj)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SIDTest.java

                assertTrue(s.startsWith("S-1-0x010203040506"));
                assertTrue(s.endsWith("-7-8"));
            }
    
            @Test
            @DisplayName("equals and hashCode for equal and non-equal SIDs")
            void testEqualsAndHashCode() throws Exception {
                SID a1 = new SID("S-1-5-21-1-2-3-4");
                SID a2 = new SID("S-1-5-21-1-2-3-4");
                SID b = new SID("S-1-5-21-1-2-3-5");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/BigIntegerMath.java

     * {@link LongMath} respectively.
     *
     * @author Louis Wasserman
     * @since 11.0
     */
    @GwtCompatible
    public final class BigIntegerMath {
      /**
       * Returns the smallest power of two greater than or equal to {@code x}. This is equivalent to
       * {@code BigInteger.valueOf(2).pow(log2(x, CEILING))}.
       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @since 20.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

            assertNotNull(rethrownException);
            assertSame(originalException, rethrownException);
        }
    
        public void test_equals() {
            // Test that different instances are not equal
            DictionaryExpiredException exception1 = new DictionaryExpiredException();
            DictionaryExpiredException exception2 = new DictionaryExpiredException();
    
            assertNotSame(exception1, exception2);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

        }
        return tmp;
      }
    
      private static long random() {
        return randomSource.nextLong();
      }
    
      // A random value that cannot be 0 and that is unsigned-less-than or equal
      // to the given dividend, so that we don't have half of our divisions being
      // trivial because the divisor is bigger than the dividend.
      // Using remainder here does not give us a uniform distribution but it should
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

            buf.reset();
    
            // Prepare a new object to decode into
            NdrShort decoded = new NdrShort(0);
            decoded.decode(buf);
            assertEquals(123, decoded.value, "decoded value should equal original");
        }
    
        /**
         * Verify that encode invokes NdrBuffer.enc_ndr_short via a mocked
         * (spied) buffer.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Ints.java

          "The hash code of a int is the int itself, so it's simplest to return that.")
      public static int hashCode(int value) {
        return value;
      }
    
      /**
       * Returns the {@code int} value that is equal to {@code value}, if possible.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Use {@link
       * Math#toIntExact(long)} instead, but be aware that that method throws {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v1.go

    }
    
    // Equal equates current erasure info with newer erasure info.
    // returns false if one of the following check fails
    // - erasure algorithm is different
    // - data blocks are different
    // - parity blocks are different
    // - block size is different
    // - distribution array size is different
    // - distribution indexes are different
    func (ei ErasureInfo) Equal(nei ErasureInfo) bool {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingObject.java

     * such custom interfaces directly; they are implemented only in subclasses. Therefore, forwarding
     * {@code equals} would break symmetry, as the forwarding object might consider itself equal to the
     * object being tested, but the reverse could not be true. This behavior is consistent with the
     * JDK's collection wrappers, such as {@link java.util.Collections#unmodifiableCollection}. Use an
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. docs/uk/docs/tutorial/path-params-numeric-validations.md

    Тут, завдяки `ge=1`, `item_id` має бути цілим числом, яке "`g`reater than or `e`qual" (більше або дорівнює) `1`.
    
    {* ../../docs_src/path_params_numeric_validations/tutorial004_an_py39.py hl[10] *}
    
    ## Валідація числових даних: більше ніж і менше або дорівнює
    
    Те саме застосовується до:
    
    * `gt`: `g`reater `t`han (більше ніж)
    * `le`: `l`ess than or `e`qual (менше або дорівнює)
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:35:49 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top