Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 328 for wouldn (0.15 sec)

  1. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

          super(message);
        }
    
        @Override
        public synchronized Throwable fillInStackTrace() {
          setStackTrace(new StackTraceElement[0]);
          return this; // no stack trace, wouldn't be useful anyway
        }
      }
    
      @Override
      @CheckForNull
      protected String pendingToString() {
        ListenableFuture<? extends V> localInputFuture = delegateRef;
        ScheduledFuture<?> localTimer = timer;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       * {@link PermittedMetaException} instances, which wrap a set of all exceptions that the iterator
       * could throw during the invocation of that method. This is necessary because, e.g., a call to
       * {@code iterator().remove()} of an unmodifiable list could throw either {@link
       * IllegalStateException} or {@link UnsupportedOperationException}. Note that iterator
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       * {@link PermittedMetaException} instances, which wrap a set of all exceptions that the iterator
       * could throw during the invocation of that method. This is necessary because, e.g., a call to
       * {@code iterator().remove()} of an unmodifiable list could throw either {@link
       * IllegalStateException} or {@link UnsupportedOperationException}. Note that iterator
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

                //
                // If we were to cancel taskFuture, that would let the next task start while the old
                // one is still running.
                //
                // Now, maybe we could tweak our implementation to not start the next task until the
                // callable actually completes. (We could detect completion in our wrapper
                // `AsyncCallable task`.) However, our contract also promises:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSet.java

      /*
       * TODO: b/315526394 - Skip the Builder entirely for the of(...) methods, since we don't need to
       * worry that we might trigger the fallback to the JDK-backed implementation? (The varargs one
       * _could_, so we could keep it as it is. Or we could convince ourselves that hash flooding is
       * unlikely in practice there, too.)
       */
    
      /**
       * Returns an immutable set containing the given elements, minus duplicates, in the order each was
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

          /*
           * Using weak references here could let us release exceptions earlier, but:
           *
           * 1. On Android, querying a WeakReference blocks if the GC is doing an otherwise-concurrent
           * pass.
           *
           * 2. We would probably choose to compare exceptions using == instead of equals() (for
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

           *   or it had already failed. (It couldn't have completed *successfully* or even had
           *   setFuture called on it: Neither of those can happen until we've finished processing all
           *   the completed inputs. And we're still processing at least one input, the one that
           *   triggered handleException.)
           *
           * TODO(cpovirk): Think about whether we could/should use Verify to check the return value of
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/FileBackedOutputStream.java

     * the very old Android Ice Cream Sandwich release), then this stream throws an exception instead of
     * creating a file that would be more accessible. (This behavior is new in Guava 32.0.0. Previous
     * versions would create a file that is more accessible, as discussed in <a
     * href="https://github.com/google/guava/issues/2575">Guava issue 2575</a>. TODO: b/283778848 - Fill
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/Helpers.java

       *     the size method
       */
      public static <T extends @Nullable Object> Collection<T> misleadingSizeCollection(int delta) {
        // It would be nice to be able to return a real concurrent
        // collection like ConcurrentLinkedQueue, so that e.g. concurrent
        // iteration would work, but that would not be GWT-compatible.
        // We are not "just" inheriting from ArrayList here as this doesn't work for J2kt.
        return new AbstractList<T>() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/Striped64.java

       * free slot.
       *
       * The table size is capped because, when there are more threads
       * than CPUs, supposing that each thread were bound to a CPU,
       * there would exist a perfect hash function mapping threads to
       * slots that eliminates collisions. When we reach capacity, we
       * search for this mapping by randomly varying the hash codes of
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
Back to top