Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,004 for it (0.14 sec)

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

       * rate at the end of the period (as long as there are enough requests to saturate it). Similarly,
       * if the {@code RateLimiter} is left <i>unused</i> for a duration of {@code warmupPeriod}, it
       * will gradually return to its "cold" state, i.e. it will go through the same warming up process
       * as when it was first created.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  2. 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 19 12:43:09 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/CacheLoader.java

       *
       * @since 19.0
       */
      public static final class UnsupportedLoadingOperationException
          extends UnsupportedOperationException {
        // Package-private because this should only be thrown by loadAll() when it is not overridden.
        // Cache implementors may want to catch it but should not need to be able to throw it.
        UnsupportedLoadingOperationException() {}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/Closeables.java

          }
        }
      }
    
      /**
       * Closes the given {@link InputStream}, logging any {@code IOException} that's thrown rather than
       * propagating it.
       *
       * <p>While it's not safe in the general case to ignore exceptions that are thrown when closing an
       * I/O resource, it should generally be safe in the case of a resource that's being used only for
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

                task = null;
              }
            }
          } finally {
            // Ensure that if the thread was interrupted at all while processing the task queue, it
            // is returned to the delegate Executor interrupted so that it may handle the
            // interruption if it likes.
            if (interruptedDuringTask) {
              Thread.currentThread().interrupt();
            }
          }
        }
    
        @SuppressWarnings("GuardedBy")
    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)
  6. android/guava/src/com/google/common/collect/Comparators.java

          Iterable<? extends T> iterable, Comparator<T> comparator) {
        checkNotNull(comparator);
        Iterator<? extends T> it = iterable.iterator();
        if (it.hasNext()) {
          T prev = it.next();
          while (it.hasNext()) {
            T next = it.next();
            if (comparator.compare(prev, next) >= 0) {
              return false;
            }
            prev = next;
          }
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 08:42:51 GMT 2024
    - 10K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Throwables.java

        propagateIfInstanceOf(throwable, declaredType1);
        propagateIfPossible(throwable, declaredType2);
      }
    
      /**
       * Propagates {@code throwable} as-is if it is an instance of {@link RuntimeException} or {@link
       * Error}, or else as a last resort, wraps it in a {@code RuntimeException} and then propagates.
       *
       * <p>This method always throws an exception. The {@code RuntimeException} return type allows
    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)
  8. android/guava/src/com/google/common/base/Throwables.java

        propagateIfInstanceOf(throwable, declaredType1);
        propagateIfPossible(throwable, declaredType2);
      }
    
      /**
       * Propagates {@code throwable} as-is if it is an instance of {@link RuntimeException} or {@link
       * Error}, or else as a last resort, wraps it in a {@code RuntimeException} and then propagates.
       *
       * <p>This method always throws an exception. The {@code RuntimeException} return type allows
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Joiner.java

         * it returns a subclass of Joiner that overrides this method to tolerate null inputs.
         *
         * Unfortunately, we don't distinguish between these two cases in our public API: Joiner.on(...)
         * and Joiner.on(...).useForNull(...) both declare the same return type: plain Joiner. To ensure
         * that users *can* pass null arguments to Joiner, we annotate it as if it always tolerates null
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

       * insists upon doing. It then runs the test, which behaves exactly like this package's existing
       * PackageSanityTests. (The test would run on the JVM, too, if not for the suppression below, and
       * that would be a problem because it violates small-test rules. Note that we strip the
       * suppression externally, but it's OK because we don't enforce test-size rules there.)
       *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jun 11 21:37:55 GMT 2019
    - 5.3K bytes
    - Viewed (0)
Back to top