Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 523 for Integer (0.06 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        @Override
        protected SortedSet<Integer> create(Integer[] elements) {
          return checkedCreate(nullCheckedTreeSet(elements));
        }
      }
    
      public static class ContiguousSetHeadsetGenerator extends AbstractContiguousSetGenerator {
        @Override
        protected SortedSet<Integer> create(Integer[] elements) {
          SortedSet<Integer> set = nullCheckedTreeSet(elements);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

          }
        },
        RANDOM {
          @Override
          void arrange(List<Integer> list) {}
        };
    
        abstract void arrange(List<Integer> list);
      }
    
      private ImmutableList<Integer> input;
    
      @BeforeExperiment
      void setUp() {
        checkArgument(size > 0, "empty collection not supported");
        Set<Integer> set = new LinkedHashSet<>(size);
    
        Random random = new Random();
        while (set.size() < size) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_sql_databases/test_tutorial002.py

                                        "anyOf": [{"type": "integer"}, {"type": "null"}],
                                        "title": "Age",
                                    }
                                )
                                | IsDict(
                                    # TODO: remove when deprecating Pydantic v1
                                    {
                                        "type": "integer",
                                        "title": "Age",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/AbstractVersionTest.java

                assertEquals(1, Integer.signum(v1.compareTo(v2)), "expected " + v1 + " > " + v2);
                assertEquals(-1, Integer.signum(v2.compareTo(v1)), "expected " + v2 + " < " + v1);
                assertNotEquals(v1, v2, "expected " + v1 + " != " + v2);
                assertNotEquals(v2, v1, "expected " + v2 + " != " + v1);
            } else if (expected < 0) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

        @Override
        public SampleElements<Integer> samples() {
          return new SampleElements<>(1, 4, 3, 2, 5);
        }
    
        @Override
        public Integer[] createArray(int length) {
          return new Integer[length];
        }
    
        @Override
        public Iterable<Integer> order(List<Integer> insertionOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        assertEquals(
            ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE),
            ContiguousSet.create(Range.atLeast(Integer.MIN_VALUE), integers()));
        assertEquals(
            ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE),
            ContiguousSet.create(Range.atMost(Integer.MAX_VALUE), integers()));
      }
    
      @GwtIncompatible // SerializableTester
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        assertEquals(
            ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE),
            ContiguousSet.create(Range.atLeast(Integer.MIN_VALUE), integers()));
        assertEquals(
            ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE),
            ContiguousSet.create(Range.atMost(Integer.MAX_VALUE), integers()));
      }
    
      @GwtIncompatible // SerializableTester
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

      public void testToImmutableRangeMap() {
        Range<Integer> rangeOne = Range.closedOpen(1, 5);
        Range<Integer> rangeTwo = Range.openClosed(6, 7);
    
        ImmutableRangeMap.Builder<Integer, Integer> zis =
            ImmutableRangeMap.<Integer, Integer>builder().put(rangeOne, 1);
        ImmutableRangeMap.Builder<Integer, Integer> zat =
            ImmutableRangeMap.<Integer, Integer>builder().put(rangeTwo, 6);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

      public void testEquals() {
        TreeRangeMap<Integer, Integer> empty = TreeRangeMap.create();
        TreeRangeMap<Integer, Integer> nonEmpty = TreeRangeMap.create();
        nonEmpty.put(Range.all(), 1);
        TreeRangeMap<Integer, Integer> coalesced = TreeRangeMap.create();
        coalesced.put(Range.atLeast(1), 1);
        coalesced.putCoalescing(Range.atMost(1), 1);
        TreeRangeMap<Integer, Integer> differentValues = TreeRangeMap.create();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Oct 06 13:04:03 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/RangeTest.java

        assertEquals(
            Range.closedOpen(Integer.MIN_VALUE, 0),
            Range.closedOpen(Integer.MIN_VALUE, 0).canonical(integers()));
    
        assertEquals(Range.closedOpen(Integer.MIN_VALUE, 0), Range.lessThan(0).canonical(integers()));
        assertEquals(Range.closedOpen(Integer.MIN_VALUE, 1), Range.atMost(0).canonical(integers()));
        assertEquals(Range.atLeast(0), Range.atLeast(0).canonical(integers()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top