Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,414 for Integer (0.09 sec)

  1. tests/test_param_in_path_and_dependency.py

                        "parameters": [
                            {
                                "required": True,
                                "schema": {"title": "User Id", "type": "integer"},
                                "name": "user_id",
                                "in": "path",
                            },
                        ],
                        "responses": {
                            "200": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

      public void testPutAndGetInstance() {
        assertNull(map.putInstance(Integer.class, Integer.valueOf(5)));
    
        Integer oldValue = map.putInstance(Integer.class, Integer.valueOf(7));
        assertEquals(5, (int) oldValue);
    
        Integer newValue = map.getInstance(Integer.class);
        assertEquals(7, (int) newValue);
        assertEquals(7, (int) map.getInstance(TypeToken.of(Integer.class)));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

        cache =
            CacheBuilder.newBuilder()
                .concurrencyLevel(segments)
                .maximumSize(maximumSize)
                .build(
                    new CacheLoader<Integer, Integer>() {
                      @Override
                      public Integer load(Integer from) {
                        return (int) misses.incrementAndGet();
                      }
                    });
    
        // To start, fill up the cache.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsDataConfigCQ.java

            return this;
        }
    
        public void setSortOrder_Equal(Integer sortOrder) {
            setSortOrder_Term(sortOrder, null);
        }
    
        public void setSortOrder_Equal(Integer sortOrder, ConditionOptionCall<TermQueryBuilder> opLambda) {
            setSortOrder_Term(sortOrder, opLambda);
        }
    
        public void setSortOrder_Term(Integer sortOrder) {
            setSortOrder_Term(sortOrder, null);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 108.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

            };
    
        LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder().build(loader);
    
        cache.put(10, 20);
    
        Map<Integer, Integer> map = cache.getAll(ImmutableList.of(10, 20, 30, 54, 443, 1));
    
        assertEquals(Integer.valueOf(20), map.get(10));
        assertEquals(Integer.valueOf(0), map.get(20));
        assertEquals(Integer.valueOf(1), map.get(30));
        assertEquals(Integer.valueOf(2), map.get(54));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java

          new SparseImmutableTable<>(CELLS.asList(), ROW_SPACE, COLUMN_SPACE);
    
      private static final DenseImmutableTable<Character, Integer, String> DENSE =
          new DenseImmutableTable<>(CELLS.asList(), ROW_SPACE, COLUMN_SPACE);
    
      @Override
      Iterable<ImmutableTable<Character, Integer, String>> getTestInstances() {
        return ImmutableList.<ImmutableTable<Character, Integer, String>>of(SPARSE, DENSE);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

         */
        map.put(Integer.class, new Integer(5));
        assertThrows(ClassCastException.class, () -> map.put(Double.class, new Long(42)));
        // Won't compile: map.put(String.class, "x");
      }
    
      public void testPutAndGetInstance() {
        assertNull(map.putInstance(Integer.class, new Integer(5)));
    
        Integer oldValue = map.putInstance(Integer.class, new Integer(7));
        assertEquals(5, (int) oldValue);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

      public void testTransformValues() {
        SetMultimap<String, Integer> multimap =
            ImmutableSetMultimap.of("a", 2, "b", -3, "b", 3, "a", 4, "c", 6);
        Function<Integer, Integer> square =
            new Function<Integer, Integer>() {
              @Override
              public Integer apply(Integer in) {
                return in * in;
              }
            };
        Multimap<String, Integer> transformed = Multimaps.transformValues(multimap, square);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

        }
        cutsToTest.add(Cut.<Integer>aboveAll());
        cutsToTest.add(Cut.<Integer>belowAll());
        CUTS_TO_TEST = ImmutableList.copyOf(cutsToTest);
      }
    
      private void testRangesByLowerBounds(
          TreeRangeSet<Integer> rangeSet, Iterable<Range<Integer>> expectedRanges) {
        NavigableMap<Cut<Integer>, Range<Integer>> expectedRangesByLowerBound = Maps.newTreeMap();
        for (Range<Integer> range : expectedRanges) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        CountingRemovalListener<Integer, Integer> removalListener = countingRemovalListener();
        IdentityLoader<Integer> loader = identityLoader();
    
        // Even numbers are free, odd are too expensive
        Weigher<Integer, Integer> evensOnly =
            new Weigher<Integer, Integer>() {
              @Override
              public int weigh(Integer k, Integer v) {
                return k % 2;
              }
            };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top