Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 1,608 for Integer (0.05 seconds)

  1. android/guava-tests/test/com/google/common/graph/StandardImmutableDirectedNetworkTest.java

      private final boolean allowsParallelEdges;
      private final ElementOrder<Integer> nodeOrder;
      private final ElementOrder<String> edgeOrder;
    
      private ImmutableNetwork.Builder<Integer, String> networkBuilder;
    
      public StandardImmutableDirectedNetworkTest(
          boolean allowsSelfLoops,
          boolean allowsParallelEdges,
          ElementOrder<Integer> nodeOrder,
          ElementOrder<String> edgeOrder) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/util/SMBUtil.java

            dst[++dstIndex] = (byte) (val >>= 8);
            dst[++dstIndex] = (byte) (val >> 8);
        }
    
        /**
         * Reads a 16-bit integer value from a byte array in little-endian format
         * @param src the source byte array
         * @param srcIndex the starting index in the source array
         * @return the 16-bit integer value
         */
        public static int readInt2(final byte[] src, final int srcIndex) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8K bytes
    - Click Count (0)
  3. android/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) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

        public void test_ofNullable_withInteger() {
            Integer testValue = 42;
            OptionalEntity<Integer> result = OptionalUtil.ofNullable(testValue);
    
            assertNotNull(result);
            assertTrue(result.isPresent());
            assertEquals(Integer.valueOf(42), result.get());
        }
    
        @Test
        public void test_ofNullable_withNullInteger() {
            Integer testValue = null;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

         * ImmutableIntArray} will contain.
         */
        @CanIgnoreReturnValue
        public Builder addAll(Iterable<Integer> values) {
          if (values instanceof Collection) {
            return addAll((Collection<Integer>) values);
          }
          for (Integer value : values) {
            add(value);
          }
          return this;
        }
    
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java

        }
    
        /**
         * Converts to {@link Integer}.
         *
         * @param o
         *            The object to convert
         * @param pattern
         *            The pattern string
         * @return The converted {@link Integer}
         */
        public static Integer toInteger(final Object o, final String pattern) {
            return switch (o) {
            case null -> null;
            case Integer i -> i;
            case Number n -> n.intValue();
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

      /*
       * We use large numbers to avoid the integer cache. Normally, we'd accomplish that merely by using
       * `new Integer` (as we do) instead of `Integer.valueOf`. However, under J2KT, `new Integer`
       * gets translated back to `Integer.valueOf` because that is the only thing J2KT can support. And
       * anyway, it's nice to avoid `Integer.valueOf` because the Android toolchain optimizes multiple
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/RegularImmutableSortedMapMapInterfaceTest.java

    @GwtCompatible
    @NullUnmarked
    public class RegularImmutableSortedMapMapInterfaceTest
        extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> {
      @Override
      protected SortedMap<String, Integer> makeEmptyMap() {
        return ImmutableSortedMap.of();
      }
    
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        return ImmutableSortedMap.of("one", 1, "two", 2, "three", 3);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/reflect/TypeResolverTest.java

            new TypeResolver()
                .where(
                    new TypeCapture<Map<Integer, T>>() {}.capture(),
                    new TypeCapture<Map<? extends Number, ? extends Number>>() {}.capture())
                .resolveType(subtype);
      }
    
      interface TypedKeyMap<T> extends Map<Integer, T> {}
    
      interface TypedListKeyMap<T> extends Map<List<Integer>, T> {}
    
      private static <T> Type aTypeVariable() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 9.8K bytes
    - Click Count (0)
  10. tests/test_param_in_path_and_dependency.py

                            "parameters": [
                                {
                                    "required": True,
                                    "schema": {"title": "User Id", "type": "integer"},
                                    "name": "user_id",
                                    "in": "path",
                                },
                            ],
                            "responses": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 3.6K bytes
    - Click Count (0)
Back to Top