Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,414 for Integer (0.15 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableSortedMapSubMapMapInterfaceTest.java

        extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> {
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5).subMap("b", "d");
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "a";
      }
    
      @Override
      protected Integer getValueNotInPopulatedMap() {
        return 4;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Mar 17 01:34:55 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSortedMapTailMapMapInterfaceTest.java

        extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> {
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5).tailMap("b");
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "a";
      }
    
      @Override
      protected Integer getValueNotInPopulatedMap() {
        return 1;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Mar 17 01:34:55 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/UntrustedInputFutureTest.java

     * AbstractFuture#setFuture} calls.
     */
    @GwtCompatible
    public class UntrustedInputFutureTest extends AbstractAbstractFutureTest {
      @Override
      AbstractFuture<Integer> newDelegate() {
        AbstractFuture<Integer> future = new AbstractFuture<Integer>() {};
        assertFalse(future instanceof TrustedFuture); // sanity check
        return future;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSortedMapTailMapMapInterfaceTest.java

        extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> {
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5).tailMap("b");
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "a";
      }
    
      @Override
      protected Integer getValueNotInPopulatedMap() {
        return 1;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Mar 17 01:34:55 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

            final BeanDesc beanDesc = new BeanDescImpl(Integer.class);
            assertThat((Integer) beanDesc.newInstance(10), is(10));
            assertThat((Integer) beanDesc.newInstance("10"), is(10));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testNewInstance2() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(Integer.class);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        ms.add("a", Integer.MAX_VALUE);
        ms.add("b", Integer.MAX_VALUE);
        ms.add("c", 3);
    
        assertEquals(Integer.MAX_VALUE, ms.count("a"));
        assertEquals(Integer.MAX_VALUE, ms.count("b"));
        assertEquals(3, ms.count("c"));
    
        assertEquals(Integer.MAX_VALUE, ms.headMultiset("c", CLOSED).size());
        assertEquals(Integer.MAX_VALUE, ms.headMultiset("b", CLOSED).size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

            assertThat(UnsignedBytes.parseUnsignedByte(Integer.toString(i, radix), radix))
                .isEqualTo((byte) i);
          }
          assertParseFails(Integer.toString(1000, radix), radix);
          assertParseFails(Integer.toString(-1, radix), radix);
          assertParseFails(Integer.toString(-128, radix), radix);
          assertParseFails(Integer.toString(256, radix), radix);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/TypesTest.java

      public void testNewParameterizedType_ownerTypeImplied() throws Exception {
        ParameterizedType jvmType =
            (ParameterizedType) new TypeCapture<Entry<String, Integer>>() {}.capture();
        ParameterizedType ourType =
            Types.newParameterizedType(Entry.class, String.class, Integer.class);
        assertEquals(jvmType, ourType);
        assertEquals(Map.class, ourType.getOwnerType());
      }
    
      public void testNewParameterizedType() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/TypesTest.java

      public void testNewParameterizedType_ownerTypeImplied() throws Exception {
        ParameterizedType jvmType =
            (ParameterizedType) new TypeCapture<Entry<String, Integer>>() {}.capture();
        ParameterizedType ourType =
            Types.newParameterizedType(Entry.class, String.class, Integer.class);
        assertEquals(jvmType, ourType);
        assertEquals(Map.class, ourType.getOwnerType());
      }
    
      public void testNewParameterizedType() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. tests/test_forms_single_model.py

                        "msg": "Input should be a valid integer, unable to parse string as an integer",
                        "input": "seventy",
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", "age"],
                        "msg": "value is not a valid integer",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 13 09:51:00 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top