Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 887 for Integer (0.04 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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: Fri Oct 10 23:13:45 GMT 2025
    - 18.7K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

        ValueGraph<String, Integer> graph1 =
            ImmutableValueGraph.copyOf(ValueGraphBuilder.directed().<String, Integer>build());
        ValueGraph<String, Integer> graph2 = ImmutableValueGraph.copyOf(graph1);
    
        assertThat(graph2).isSameInstanceAs(graph1);
      }
    
      @Test
      public void incidentEdgeOrder_stable() {
        ImmutableValueGraph<String, Integer> immutableValueGraph =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

        // This sample AbstractIterator returns 0 on the first call, 1 on the
        // second, then signals that it's reached the end of the data
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              private int rep;
    
              @Override
              public @Nullable Integer computeNext() {
                switch (rep++) {
                  case 0:
                    return 0;
                  case 1:
                    return 1;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top