Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 229 for causal (0.35 sec)

  1. guava-tests/test/com/google/common/eventbus/EventBusTest.java

      }
    
      /**
       * Tests that bridge methods are not subscribed to events. In Java 8, annotations are included on
       * the bridge method in addition to the original method, which causes both the original and bridge
       * methods to be subscribed (since both are annotated @Subscribe) without specifically checking
       * for bridge methods.
       */
      public void testRegistrationWithBridgeMethod() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

      }
    
      /**
       * Tests that bridge methods are not subscribed to events. In Java 8, annotations are included on
       * the bridge method in addition to the original method, which causes both the original and bridge
       * methods to be subscribed (since both are annotated @Subscribe) without specifically checking
       * for bridge methods.
       */
      public void testRegistrationWithBridgeMethod() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

        Throwable cause = e.getCause();
        if (cause == null) {
          throw e;
        }
        if (combineStackTraces) {
          StackTraceElement[] combined =
              ObjectArrays.concat(cause.getStackTrace(), e.getStackTrace(), StackTraceElement.class);
          cause.setStackTrace(combined);
        }
        if (cause instanceof Exception) {
          throw (Exception) cause;
        }
        if (cause instanceof Error) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 27 14:21:11 GMT 2023
    - 9.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

        public TwoArgConstructorException(String message, Throwable cause) {
          super(message, cause);
        }
      }
    
      public static final class TwoArgConstructorRuntimeException extends RuntimeException {
        public TwoArgConstructorRuntimeException(String message, Throwable cause) {
          super(message, cause);
        }
      }
    
      public static final class ExceptionWithPrivateConstructor extends Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 13:46:56 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

        // Hack to load AbstractFuture et. al. in a new classloader so that it re-reads the cancellation
        // cause system property.  This allows us to run with both settings of the property in one jvm
        // without resorting to even crazier hacks to reset static final boolean fields.
        System.setProperty("guava.concurrent.generate_cancellation_cause", "true");
        final String concurrentPackage = SettableFuture.class.getPackage().getName();
        classReloader =
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  6. futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutures.java

     *     Guava 27.0
     */
    public final class InternalFutures {
      /**
       * Usually returns {@code null} but, if the given {@code Future} has failed, may <i>optionally</i>
       * return the cause of the failure. "Failure" means specifically "completed with an exception"; it
       * does not include "was cancelled." To be explicit: If this method returns a non-null value,
       * then:
       *
       * <ul>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

            .withSetUp(setUp)
            .withTearDown(tearDown)
            .createTestSuite();
      }
    
      private static LinkageError newLinkageError(Throwable cause) {
        LinkageError error = new LinkageError(cause.toString());
        error.initCause(cause);
        return error;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

            .withSetUp(setUp)
            .withTearDown(tearDown)
            .createTestSuite();
      }
    
      private static LinkageError newLinkageError(Throwable cause) {
        LinkageError error = new LinkageError(cause.toString());
        error.initCause(cause);
        return error;
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 11.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        assertThat(future.set(1)).isTrue();
        assertSuccessful(future, 1);
      }
    
      public void testFailed() throws Exception {
        Exception cause = new Exception();
        assertThat(future.setException(cause)).isTrue();
        assertFailed(future, cause);
      }
    
      public void testCanceled() throws Exception {
        assertThat(future.cancel(false /* mayInterruptIfRunning */)).isTrue();
        assertCancelled(future, false);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/ImmutableTypeToInstanceMap.java

         * and will cause {@link #build} to fail.
         */
        @CanIgnoreReturnValue
        public <T extends B> Builder<B> put(Class<T> key, T value) {
          mapBuilder.put(TypeToken.of(key), value);
          return this;
        }
    
        /**
         * Associates {@code key} with {@code value} in the built map. Duplicate keys are not allowed,
         * and will cause {@link #build} to fail.
         */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 20:46:24 GMT 2022
    - 5.6K bytes
    - Viewed (0)
Back to top