Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for consider (0.11 sec)

  1. android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt

              "",
            )
          },
        ).containsExactly(
          "--> GET http://google.com/robots.txt",
          "<-- HTTP FAILED: java.net.UnknownHostException: shortcircuit. ${request.url} (ms)",
        )
        // We should consider if these logs should retain Exceptions
        assertThat(logs.last().throwable).isNull()
      }
    
      @Test
      fun testLoggingEventListener() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ArrayListMultimap.java

      @VisibleForTesting transient int expectedValuesPerKey;
    
      /**
       * Creates a new, empty {@code ArrayListMultimap} with the default initial capacities.
       *
       * <p>You may also consider the equivalent {@code
       * MultimapBuilder.hashKeys().arrayListValues().build()}, which provides more control over the
       * underlying data structure.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

          testItems();
          delegate.test();
        }
        return this;
      }
    
      private void testItems() {
        for (T item : items) {
          /*
           * TODO(cpovirk): consider no longer running these equivalent() tests on every Equivalence,
           * since the Equivalence base type now implements this logic itself
           */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterables.java

       * <p>To get the only element in a single-element {@code Iterable}, consider using {@link
       * #getOnlyElement(Iterable)} or {@link #getOnlyElement(Iterable, Object)} instead.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.findFirst().orElse(defaultValue)}
       *
       * <p><b>Java 21+ users:</b> if {code iterable} is a {@code SequencedCollection} (e.g., any list),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Iterables.java

       * <p>To get the only element in a single-element {@code Iterable}, consider using {@link
       * #getOnlyElement(Iterable)} or {@link #getOnlyElement(Iterable, Object)} instead.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.findFirst().orElse(defaultValue)}
       *
       * <p><b>Java 21+ users:</b> if {code iterable} is a {@code SequencedCollection} (e.g., any list),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Throwables.java

      private static List<StackTraceElement> jlaStackTrace(Throwable t) {
        checkNotNull(t);
        /*
         * TODO(cpovirk): Consider optimizing iterator() to catch IOOBE instead of doing bounds checks.
         *
         * TODO(cpovirk): Consider the UnsignedBytes pattern if it performs faster and doesn't cause
         * AOSP grief.
         */
        return new AbstractList<StackTraceElement>() {
          /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

       * task.
       *
       * <p>Consider using the {@link #newFixedDelaySchedule} and {@link #newFixedRateSchedule} factory
       * methods, these provide {@link Scheduler} instances for the common use case of running the
       * service with a fixed schedule. If more flexibility is needed then consider subclassing {@link
       * CustomScheduler}.
       *
       * @author Luke Sandberg
       * @since 11.0
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSet.java

          return CollectSpliterators.indexed(size(), SPLITERATOR_CHARACTERISTICS, this::get);
        }
    
        @Override
        public void forEach(Consumer<? super E> consumer) {
          checkNotNull(consumer);
          int n = size();
          for (int i = 0; i < n; i++) {
            consumer.accept(get(i));
          }
        }
    
        @Override
        int copyIntoArray(@Nullable Object[] dst, int offset) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Strings.java

      public static @Nullable String emptyToNull(@Nullable String string) {
        return Platform.emptyToNull(string);
      }
    
      /**
       * Returns {@code true} if the given string is null or is the empty string.
       *
       * <p>Consider normalizing your string references with {@link #nullToEmpty}. If you do, you can
       * use {@link String#isEmpty()} instead of this method, and you won't need special null-safe forms
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Ints.java

       *     such index exists.
       */
      public static int indexOf(int[] array, int target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(int[] array, int target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
Back to top