Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 942 for integer (0.04 seconds)

  1. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

      }
    
      public void testMissingException() {
        List<Integer> emptyList = new ArrayList<>();
    
        IteratorTester<Integer> tester =
            new IteratorTester<Integer>(
                1, MODIFIABLE, emptyList, IteratorTester.KnownOrder.KNOWN_ORDER) {
              @Override
              protected Iterator<Integer> newTargetIterator() {
                return new Iterator<Integer>() {
                  @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

      private static final Predicate<Integer> EVEN =
          new Predicate<Integer>() {
            @Override
            public boolean apply(Integer input) {
              return input % 2 == 0;
            }
          };
    
      private static final Predicate<Integer> PRIME_DIGIT = Predicates.in(ImmutableSet.of(2, 3, 5, 7));
    
      private static final ImmutableList<? extends List<Integer>> SAMPLE_INPUTS =
          ImmutableList.of(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/primitives/Ints.java

       *     {@link Integer#MAX_VALUE} if it is too large, or {@link Integer#MIN_VALUE} if it is too
       *     small
       */
      public static int saturatedCast(long value) {
        if (value > Integer.MAX_VALUE) {
          return Integer.MAX_VALUE;
        }
        if (value < Integer.MIN_VALUE) {
          return Integer.MIN_VALUE;
        }
        return (int) value;
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 22 18:14:49 GMT 2025
    - 31.3K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

      public void testAsSetIteration() {
        Set<Entry<String, Collection<Integer>>> set =
            new LinkedHashSet<>(
                asList(
                    immutableEntry("foo", (Collection<Integer>) newHashSet(2, 3, 6)),
                    immutableEntry("bar", (Collection<Integer>) newHashSet(4, 5, 10, 11)),
                    immutableEntry("baz", (Collection<Integer>) newHashSet(7, 8)),
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  5. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

          @Override
          public Queue<Integer> create(Comparator<Integer> comparator) {
            return new InvertedMinMaxPriorityQueue<>(comparator);
          }
        };
    
        public abstract Queue<Integer> create(Comparator<Integer> comparator);
      }
    
      /**
       * Does a CPU intensive operation on Integer and returns a BigInteger Used to implement an
       * ordering that spends a lot of cpu.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/MapsTest.java

            diff2.toString());
      }
    
      private static final SortedMap<Integer, Integer> SORTED_EMPTY = Maps.newTreeMap();
      private static final ImmutableSortedMap<Integer, Integer> SORTED_SINGLETON =
          ImmutableSortedMap.of(1, 2);
    
      public void testMapDifferenceOfSortedMapIsSorted() {
        Map<Integer, Integer> map = SORTED_SINGLETON;
        MapDifference<Integer, Integer> difference = Maps.difference(map, EMPTY);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 22:56:33 GMT 2025
    - 65K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java

     */
    @GwtCompatible
    @NullMarked
    public class GeneralRangeTest extends TestCase {
      private static final Ordering<@Nullable Integer> ORDERING =
          Ordering.<Integer>natural().<Integer>nullsFirst();
    
      private static final List<@Nullable Integer> IN_ORDER_VALUES =
          unmodifiableList(Arrays.<@Nullable Integer>asList(null, 1, 2, 3, 4, 5));
    
      public void testCreateEmptyRangeFails() {
        for (BoundType lboundType : BoundType.values()) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  8. src/cmd/asm/internal/asm/testdata/riscv64validation.s

    	COR	X10, X11, X12				// ERROR "rd must be the same as rs1"
    	COR	X5, X11					// ERROR "expected integer prime register in rs2"
    	COR	X10, X5					// ERROR "expected integer prime register in rd"
    	CXOR	X10, X11, X12				// ERROR "rd must be the same as rs1"
    	CXOR	X5, X11					// ERROR "expected integer prime register in rs2"
    	CXOR	X10, X5					// ERROR "expected integer prime register in rd"
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Nov 13 12:17:37 GMT 2025
    - 42.1K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

      @Test
      public void loadingCache() throws ExecutionException {
        CacheLoader<Integer, Integer> loader =
            new CacheLoader<Integer, Integer>() {
              int i = 0;
    
              @Override
              public Integer load(Integer key) throws Exception {
                return i++;
              }
            };
    
        LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder().build(loader);
    
        cache.put(10, 20);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_body_multiple_params/test_tutorial005.py

                                "name": "item_id",
                                "required": True,
                                "schema": {
                                    "title": "Item Id",
                                    "type": "integer",
                                },
                            },
                        ],
                        "requestBody": {
                            "content": {
                                "application/json": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 8.2K bytes
    - Click Count (0)
Back to Top