Search Options

Results per page
Sort
Preferred Languages
Advance

Results 881 - 890 of 1,357 for todo (0.02 sec)

  1. android/guava/src/com/google/common/primitives/Ints.java

       *
       * @param value any {@code long} value
       * @return the same value cast to {@code int} if it is in the range of the {@code int} type,
       *     {@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) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeResolverTest.java

                .resolveType(subtype));
      }
    
      public <T> void testWhere_mapFromBoundedWildcard() {
        Type subtype = new TypeCapture<TypedKeyMap<T>>() {}.capture();
        // TODO(benyu): This should check equality to an expected value, see discussion in cl/98674873
        Type unused =
            new TypeResolver()
                .where(
                    new TypeCapture<Map<Integer, T>>() {}.capture(),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AggregateFutureState.java

         * always contains not just the current thread's exception but also the initial thread's.
         */
        Set<Throwable> seenExceptionsLocal = seenExceptions;
        if (seenExceptionsLocal == null) {
          // TODO(cpovirk): Should we use a simpler (presumably cheaper) data structure?
          /*
           * Using weak references here could let us release exceptions earlier, but:
           *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. ci/official/containers/linux_arm64/builder.devtoolset/build_devtoolset.sh

    
    # Link in architecture specific includes from the system; note that we cannot
    # link in the whole aarch64-linux-gnu folder, as otherwise we're overlaying
    # system gcc paths that we do not want to find.
    # TODO(klimek): Automate linking in all non-gcc / non-kernel include
    # directories.
    mkdir -p "${TARGET}/usr/include/aarch64-linux-gnu"
    PYTHON_VERSIONS=("python3.8" "python3.9" "python3.10" "python3.11")
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Sep 29 00:26:34 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

      }
    
      public void testAsMultimap() {
        ImmutableMap<String, Integer> map =
            ImmutableMap.of("one", 1, "won", 1, "two", 2, "too", 2, "three", 3);
        ImmutableSetMultimap<String, Integer> expected =
            ImmutableSetMultimap.of("one", 1, "won", 1, "two", 2, "too", 2, "three", 3);
        assertEquals(expected, map.asMultimap());
      }
    
      public void testAsMultimapWhenEmpty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/apps/v1beta2/generated.proto

      // +optional
      optional string type = 1;
    
      // Rolling update config params. Present only if type = "RollingUpdate".
      // ---
      // TODO: Update this to follow our convention for oneOf, whatever we decide it
      // to be. Same as Deployment `strategy.rollingUpdate`.
      // See https://github.com/kubernetes/kubernetes/issues/35345
      // +optional
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                return Locale.ROOT;
            }
            return locale;
        }
    
        public static String formatFileSize(final long value) {
            double target = value;
            String unit = ""; // TODO l10n?
            String format = "0.#";
            if (value < 1024) {
                format = "0";
            } else if (value < 1024L * 1024L) {
                target /= 1024;
                unit = "K";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/SuppliersTest.java

            .forAllPublicStaticMethods(Suppliers.class)
            .testNulls();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      @AndroidIncompatible // TODO(cpovirk): ClassNotFoundException: com.google.common.base.Function
      public void testSuppliersSerializable() throws Exception {
        new ClassSanityTester()
            .setDefault(Duration.class, Duration.ofSeconds(1))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

          checkNonNegative(--successorCount);
    
          if (orderedNodeConnections != null) {
            orderedNodeConnections.remove(new NodeConnection.Succ<>((N) node));
          }
        }
    
        /*
         * TODO(cpovirk): `return (V) removedValue` once our checker permits that.
         *
         * (We promoted a class of warnings into errors because sometimes they indicate real problems.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 18K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/SuppliersTest.java

            .forAllPublicStaticMethods(Suppliers.class)
            .testNulls();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      @AndroidIncompatible // TODO(cpovirk): ClassNotFoundException: com.google.common.base.Function
      public void testSuppliersSerializable() throws Exception {
        new ClassSanityTester()
            .setDefault(Duration.class, Duration.ofSeconds(1))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top