Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,763 for _Equal (0.43 sec)

  1. android/guava/src/com/google/common/collect/Comparators.java

          Comparator<T> comparator) {
        return new LexicographicalOrdering<S>(checkNotNull(comparator));
      }
    
      /**
       * Returns {@code true} if each element in {@code iterable} after the first is greater than or
       * equal to the element that preceded it, according to the specified comparator. Note that this is
       * always true when the iterable has fewer than two elements.
       */
      public static <T extends @Nullable Object> boolean isInOrder(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. src/crypto/elliptic/params.go

    	s2 := new(big.Int).Mul(y2, z1)
    	s2.Mul(s2, z1z1)
    	s2.Mod(s2, curve.P)
    	r := new(big.Int).Sub(s2, s1)
    	if r.Sign() == -1 {
    		r.Add(r, curve.P)
    	}
    	yEqual := r.Sign() == 0
    	if xEqual && yEqual {
    		return curve.doubleJacobian(x1, y1, z1)
    	}
    	r.Lsh(r, 1)
    	v := new(big.Int).Mul(u1, i)
    
    	x3.Set(r)
    	x3.Mul(x3, x3)
    	x3.Sub(x3, j)
    	x3.Sub(x3, v)
    	x3.Sub(x3, v)
    	x3.Mod(x3, curve.P)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Comparators.java

          Comparator<T> comparator) {
        return new LexicographicalOrdering<S>(checkNotNull(comparator));
      }
    
      /**
       * Returns {@code true} if each element in {@code iterable} after the first is greater than or
       * equal to the element that preceded it, according to the specified comparator. Note that this is
       * always true when the iterable has fewer than two elements.
       */
      public static <T extends @Nullable Object> boolean isInOrder(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 08:42:51 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

          assertFalse(
              "Should not contain key " + entry.getKey() + " mapped to value " + entry.getValue(),
              equal(getMap().get(entry.getKey()), entry.getValue()));
        }
      }
    
      private static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // This one-liner saves us from some ugly casts
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

        boolean errorNotThrown = false;
        try {
          SerializableTester.reserializeAndAssert(orig);
          errorNotThrown = true;
        } catch (AssertionFailedError error) {
          // expected
          assertContains("must be equal to the Object#hashCode", error.getMessage());
        }
        assertFalse(errorNotThrown);
      }
    
      public void testObjectWhichIsEqualButChangesClass() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

        boolean errorNotThrown = false;
        try {
          SerializableTester.reserializeAndAssert(orig);
          errorNotThrown = true;
        } catch (AssertionFailedError error) {
          // expected
          assertContains("must be equal to the Object#hashCode", error.getMessage());
        }
        assertFalse(errorNotThrown);
      }
    
      public void testObjectWhichIsEqualButChangesClass() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

          assertFalse(
              "Should not contain key " + entry.getKey() + " mapped to value " + entry.getValue(),
              equal(getMap().get(entry.getKey()), entry.getValue()));
        }
      }
    
      private static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // This one-liner saves us from some ugly casts
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Table.java

        /**
         * Compares the specified object with this cell for equality. Two cells are equal when they have
         * equal row keys, column keys, and values.
         */
        @Override
        boolean equals(@CheckForNull Object obj);
    
        /**
         * Returns the hash code of this cell.
         *
         * <p>The hash code of a table cell is equal to {@link Objects#hashCode}{@code (e.getRowKey(),
         * e.getColumnKey(), e.getValue())}.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/path-params-numeric-validations.md

    А также вы можете добавить валидацию числовых данных:
    
    * `gt`: больше (`g`reater `t`han)
    * `ge`: больше или равно (`g`reater than or `e`qual)
    * `lt`: меньше (`l`ess `t`han)
    * `le`: меньше или равно (`l`ess than or `e`qual)
    
    !!! info "Информация"
        `Query`, `Path` и другие классы, которые мы разберём позже, являются наследниками общего класса `Param`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

    import java.util.ListIterator;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class Helpers {
      // Clone of Objects.equal
      static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // Clone of Lists.newArrayList
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top