Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Vaughn (0.22 sec)

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

        @Override
        public void uncaughtException(Thread t, Throwable e) {
          try {
            logger
                .get()
                .log(
                    SEVERE,
                    String.format(Locale.ROOT, "Caught an exception in %s.  Shutting down.", t),
                    e);
          } catch (Throwable errorInLogging) { // sneaky checked exception
            // If logging fails, e.g. due to missing memory, at least try to log the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ForwardingSortedMap.java

       * #containsKey} to forward to this implementation.
       *
       * @since 7.0
       */
      @Override
      protected boolean standardContainsKey(@CheckForNull Object key) {
        try {
          // any CCE or NPE will be caught
          @SuppressWarnings({"unchecked", "nullness"})
          SortedMap<@Nullable Object, V> self = (SortedMap<@Nullable Object, V>) this;
          Object ceilingKey = self.tailMap(key).firstKey();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  3. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

       * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException} or an exception
       * thrown by {@linkplain MoreExecutors#directExecutor direct execution}) will be caught and
       * logged.
       *
       * <p>Note: If your listener is lightweight -- and will not cause stack overflow by completing
       * more futures or adding more {@code directExecutor()} listeners inline -- consider {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

            .addEqualityGroup(ImmutableIntArray.of(1, 2, 3))
            .testEquals();
      }
    
      /**
       * This is probably a weird and hacky way to test what we're really trying to test, but hey, it
       * caught a bug.
       */
      public void testTrimmed() {
        ImmutableIntArray iia = ImmutableIntArray.of(0, 1, 3);
        assertDoesntActuallyTrim(iia);
        assertDoesntActuallyTrim(iia.subArray(0, 3));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        statusFuture.cancel(true);
        assertThat(statusFuture.isCancelled()).isTrue();
        waiter.awaitReturned();
        assertThat(getFinalValue(closingFuture)).isEqualTo("value");
      }
    
      public void testCancel_caught() throws Exception {
        ClosingFuture<String> step0 = ClosingFuture.from(immediateFuture("value 0"));
        ClosingFuture<String> step1 =
            step0.transform(
                new ClosingFunction<String, String>() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

              // notices and transitions to the FAILED state. We do it by calling notifyFailed directly
              // because the service does not monitor the state of the future so if the exception is not
              // caught and forwarded to the service the task would stop executing but the service would
              // have no idea.
              // TODO(lukes): consider building everything in terms of ListenableScheduledFuture then
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 25.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Futures.java

       * thrown during {@code Executor.execute} (e.g., a {@code RejectedExecutionException} or an
       * exception thrown by {@linkplain MoreExecutors#directExecutor direct execution}) will be caught
       * and logged.
       *
       * <p>Example:
       *
       * <pre>{@code
       * ListenableFuture<QueryResult> future = ...;
       * Executor e = ...
       * addCallback(future,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       * they were registered.
       *
       * <p>RuntimeExceptions thrown by a listener will be caught and logged. Any exception thrown
       * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException}) will be caught and
       * logged.
       *
       * <p>When selecting an executor, note that {@code directExecutor} is dangerous in some cases. See
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 30.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/Closer.java

     *       will be thrown.
     *   <li>If no exceptions or errors were thrown in the try block, the <i>first</i> exception thrown
     *       by an attempt to close a resource will be thrown.
     *   <li>Any exception caught when attempting to close a resource that is <i>not</i> thrown (because
     *       another exception is already being thrown) is <i>suppressed</i>.
     * </ul>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

            .addEqualityGroup(ImmutableIntArray.of(1, 2, 3))
            .testEquals();
      }
    
      /**
       * This is probably a weird and hacky way to test what we're really trying to test, but hey, it
       * caught a bug.
       */
      public void testTrimmed() {
        ImmutableIntArray iia = ImmutableIntArray.of(0, 1, 3);
        assertDoesntActuallyTrim(iia);
        assertDoesntActuallyTrim(iia.subArray(0, 3));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 18.9K bytes
    - Viewed (0)
Back to top