Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 613 for needs (0.01 seconds)

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

        //     [abc]de|[fgh] -> [fgh]de|[abc]. Now [fgh] is in the right place, but we need to swap [de]
        //     with [abc]: fgh[de]|a[bc] -> fgh[bc]|a[de]. Now we need to swap [a] with [bc]:
        //     fgh[b]c|[a]de -> fgh[a]c|[b]de. Finally we need to swap [c] with [b]:
        //     fgha[c]|[b]de -> fgha[b]|[c]de. Because these two blocks are the same size, we are done.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 31.3K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/NullsFirstOrdering.java

        // ordering.reverse() might be optimized, so let it do its thing
        return ordering.<T>reverse().<@NonNull S>nullsLast();
      }
    
      @SuppressWarnings("unchecked") // still need the right way to explain this
      @Override
      public <S extends @Nullable T> Ordering<@Nullable S> nullsFirst() {
        return (Ordering<@Nullable S>) this;
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ImmutableEnumSet.java

          default:
            return new ImmutableEnumSet<>(set);
        }
      }
    
      /*
       * Notes on EnumSet and <E extends Enum<E>>:
       *
       * This class isn't an arbitrary ForwardingImmutableSet because we need to
       * know that calling {@code clone()} during deserialization will return an
       * object that no one else has a reference to, allowing us to guarantee
       * immutability. Hence, we support only {@link EnumSet}.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  4. gradlew

    #
    
    ##############################################################################
    #
    #   Gradle start up script for POSIX generated by Gradle.
    #
    #   Important for running:
    #
    #   (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
    #       noncompliant, but you have some other compliant shell such as ksh or
    #       bash, then to run this script, type that shell name before the whole
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 08:59:10 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  5. docs/contribute/debug_logging.md

    =============
    
    OkHttp has internal APIs to enable debug logging. It uses the `java.util.logging` API which can be
    tricky to configure. As a shortcut, you can paste [OkHttpDebugLogging.kt]. Then enable debug logging
    for whichever features you need:
    
    ```
    OkHttpDebugLogging.enableHttp2()
    OkHttpDebugLogging.enableTaskRunner()
    ```
    
    ### Activating on Android
    
    ```
    $ adb shell setprop log.tag.okhttp.Http2 DEBUG
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 2.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/MapMaker.java

       * is {@code 60}, and the concurrency level is {@code 8}, then eight segments are created, each
       * having a hash table of size eight. Providing a large enough estimate at construction time
       * avoids the need for expensive resizing operations later, but setting this value unnecessarily
       * high wastes memory.
       *
       * @throws IllegalArgumentException if {@code initialCapacity} is negative
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/AsyncCallable.java

     * result.
     *
     * @since 20.0
     */
    @GwtCompatible
    public interface AsyncCallable<V extends @Nullable Object> {
      /**
       * Computes a result {@code Future}. The output {@code Future} need not be {@linkplain
       * Future#isDone done}, making {@code AsyncCallable} suitable for asynchronous derivations.
       *
       * <p>Throwing an exception from this method is equivalent to returning a failing {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestIntegerSortedSetGenerator.java

      /** Sorts the elements by their natural ordering. */
      /*
       * While the current implementation returns `this`, that's not something we mean to guarantee.
       * Callers of TestContainerGenerator.order need to be prepared for implementations to return a new
       * collection.
       */
      @SuppressWarnings("CanIgnoreReturnValueSuggester")
      @Override
      public List<Integer> order(List<Integer> insertionOrder) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 11 19:03:19 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/Suppliers.java

          implements Supplier<T>, Serializable {
        private transient Object lock = new Object();
    
        final Supplier<T> delegate;
        transient volatile boolean initialized;
        // "value" does not need to be volatile; visibility piggy-backs
        // on volatile read of "initialized".
        transient @Nullable T value;
    
        MemoizingSupplier(Supplier<T> delegate) {
          this.delegate = checkNotNull(delegate);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 21:24:28 GMT 2026
    - 16.1K bytes
    - Click Count (0)
  10. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

        @Override
        public BigInteger apply(Integer from) {
          BigInteger v = BigInteger.valueOf(from);
          // Math.sin is very slow for values outside 4*pi
          // Need to take absolute value to avoid inverting the value.
          for (double i = 0; i < 100; i += 20) {
            v =
                v.add(
                    v.multiply(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
Back to Top