Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for fakefs (0.14 sec)

  1. android/guava/src/com/google/common/collect/Comparators.java

       * // returns {"foo", "quux"}
       * }</pre>
       *
       * <p>This {@code Collector} uses O(k) memory and takes expected time O(n) (worst-case O(n log
       * k)), as opposed to e.g. {@code Stream.sorted(comparator).limit(k)}, which currently takes O(n
       * log n) time and O(n) space.
       *
       * @throws IllegalArgumentException if {@code k < 0}
       * @since 33.2.0 (available since 22.0 in guava-jre)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/CollectionFuture.java

       * on the fields of TimeoutFuture. This field is slightly different from the fields discussed
       * there: cancel() never reads this field, only writes to it. That makes the race here completely
       * harmless, rather than just 99.99% harmless.
       */
      @CheckForNull @LazyInit private List<@Nullable Present<V>> values;
    
      CollectionFuture(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Monitor.java

       * satisfied at the time of signal, and has since been modified by some other thread to be
       * non-satisfied before reacquiring the lock, and that other thread takes over the responsibility
       * of signaling the next waiter.
       *
       * Unlike the underlying Condition, if we are not careful, an interrupt *can* cause a signal to be
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Throwables.java

       * by delaying the per-stack-frame work until each element is accessed. Roughly speaking:
       *
       * <ul>
       *   <li>{@code getStackTrace} takes {@code stackSize} time to return but then negligible time to
       *       retrieve each element of the returned list.
       *   <li>{@code lazyStackTrace} takes negligible time to return but then {@code 1/stackSize} time
       *       to retrieve each element of the returned list (probably slightly more than {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Throwables.java

       * by delaying the per-stack-frame work until each element is accessed. Roughly speaking:
       *
       * <ul>
       *   <li>{@code getStackTrace} takes {@code stackSize} time to return but then negligible time to
       *       retrieve each element of the returned list.
       *   <li>{@code lazyStackTrace} takes negligible time to return but then {@code 1/stackSize} time
       *       to retrieve each element of the returned list (probably slightly more than {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

      /** Use {@link MoreExecutors#newSequentialExecutor} */
      SequentialExecutor(Executor executor) {
        this.executor = Preconditions.checkNotNull(executor);
      }
    
      /**
       * Adds a task to the queue and makes sure a worker thread is running.
       *
       * <p>If this method throws, e.g. a {@code RejectedExecutionException} from the delegate executor,
       * execution of tasks will stop until a call to this method is made.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/RangeTest.java

            .addEqualityGroup(Range.all(), Range.all())
            .addEqualityGroup("Phil")
            .testEquals();
      }
    
      @GwtIncompatible // TODO(b/148207871): Restore once Eclipse compiler no longer flakes for this.
      public void testLegacyComparable() {
        Range<LegacyComparable> range = Range.closed(LegacyComparable.X, LegacyComparable.Y);
      }
    
      private static final DiscreteDomain<Integer> UNBOUNDED_DOMAIN =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 24.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Suppliers.java

      private interface SupplierFunction<T extends @Nullable Object> extends Function<Supplier<T>, T> {}
    
      private enum SupplierFunctionImpl implements SupplierFunction<@Nullable Object> {
        INSTANCE;
    
        // Note: This makes T a "pass-through type"
        @Override
        @CheckForNull
        public Object apply(Supplier<@Nullable Object> input) {
          return input.get();
        }
    
        @Override
        public String toString() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Joiner.java

     * useForNull} has no effect on the instance it is invoked on! You must store and use the new joiner
     * instance returned by the method. This makes joiners thread-safe, and safe to store as {@code
     * static final} constants.
     *
     * <pre>{@code
     * // Bad! Do not do this!
     * Joiner joiner = Joiner.on(',');
     * joiner.skipNulls(); // does nothing!
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/PredicatesTest.java

            Predicates.or(Collections.<Predicate<@Nullable Integer>>emptyList());
        Predicate<@Nullable Integer> troo = Predicates.or(Collections.singletonList(TRUE));
        /*
         * newLinkedList() takes varargs. TRUE and FALSE are both instances of
         * Predicate<Integer>, so the call is safe.
         */
        Predicate<@Nullable Integer> trueAndFalse = Predicates.or(Arrays.asList(TRUE, FALSE));
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
Back to top