Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 878 for it (0.22 sec)

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

         * and wrongly believes that its exception is new (leading it to logging it when it shouldn't)
         *
         * Our solution is for threads to CAS seenExceptions from null to a Set populated with _the
         * initial exception_, no matter which thread does the work. This ensures that seenExceptions
         * always contains not just the current thread's exception but also the initial thread's.
         */
    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)
  2. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

        /*
         * TODO(cpovirk): Should whenAllComplete().call*() log errors, too? Currently, it doesn't call
         * handleException() at all.
         */
        if (throwable instanceof Error) {
          /*
           * TODO(cpovirk): Do we really want to log this if we called setException(throwable) and it
           * returned true? This was intentional (CL 46470009), but it seems odd compared to how we
           * normally handle Error.
           *
    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)
  3. android/guava/src/com/google/common/io/CharSource.java

       * #lengthIfKnown}, returning true if it's known to be zero and false if it's known to be
       * non-zero. If the length is not known, it falls back to opening a stream and checking for EOF.
       *
       * <p>Note that, in cases where {@code lengthIfKnown} returns zero, it is <i>possible</i> that
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       Guava while continuing to run it internally, as we do with many other tests. This would
     *       suffice because we our Android users and tests are using the open-source version, which
     *       would no longer have the problematic test. But why bother when we can instead strip it with
     *       a more precisely named annotation?
     *   <li>While a dependency on Android ought to be easy if it's for annotations only, it will
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        private boolean foundAndRemovedExactReference(Iterable<E> elements, E target) {
          for (Iterator<E> it = elements.iterator(); it.hasNext(); ) {
            E element = it.next();
            if (element == target) {
              it.remove();
              return true;
            }
          }
          return false;
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

      public final void run() {
        /*
         * Set runner thread before checking isDone(). If we were to check isDone() first, the task
         * might be cancelled before we set the runner thread. That would make it impossible to
         * interrupt, yet it will still run, since interruptTask will leave the runner value null,
         * allowing the CAS below to succeed.
         */
        Thread currentThread = Thread.currentThread();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multiset.java

     * "the same," <i>unless specified otherwise</i> by the implementation.
     *
     * <p><b>Warning:</b> as with normal {@link Set}s, it is almost always a bad idea to modify an
     * element (in a way that affects its {@link Object#equals} behavior) while it is contained in a
     * multiset. Undefined behavior and bugs will result.
     *
     * <h3>Implementations</h3>
     *
     * <ul>
     *   <li>{@link ImmutableMultiset}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 19.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * is complete. It does so by using daemon threads and adding a shutdown hook to wait for their
       * completion.
       *
       * <p>This is mainly for fixed thread pools. See {@link Executors#newFixedThreadPool(int)}.
       *
       * @param executor the executor to modify to make sure it exits when the application is finished
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

      private String suiteName;
      private @Nullable Runnable setUp;
      private @Nullable Runnable tearDown;
    
      // public so that it can be referenced in generated GWT tests.
      @Override
      public void setUp() throws Exception {
        if (setUp != null) {
          setUp.run();
        }
      }
    
      // public so that it can be referenced in generated GWT tests.
      @Override
      public void tearDown() throws Exception {
        if (tearDown != null) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * thought of as overkill; however, it's difficult to determine which proper subset of this massive
     * set would be sufficient to expose any possible bug. Brute force is simpler.
     *
     * <p>To use this class the concrete subclass must implement the {@link
     * IteratorTester#newTargetIterator()} method. This is because it's impossible to test an Iterator
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
Back to top