Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 178 for FAILURE (0.16 sec)

  1. guava-tests/test/com/google/common/base/PreconditionsTest.java

         *
         * - _shouldn't_ be null, so we don't annotate it with @Nullable
         *
         * - _can_ be null without causing a runtime failure (because we don't want the interesting
         *   details of precondition failure to be hidden by an exception we throw about an unexpectedly
         *   null _failure message_)
         *
         * That combination upsets NullPointerTester, which wants any call that passes null for a
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java

      }
    
      public void testCheckNoOverflow_failure() {
        try {
          MathPreconditions.checkNoOverflow(false, "testCheckNoOverflow_failure", 0, 0);
          fail();
        } catch (ArithmeticException expected) {
          assertThat(expected).hasMessageThat().contains("testCheckNoOverflow_failure(0, 0)");
        }
      }
    
      public void testNulls() {
        /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        @Override
        protected void doStart() {
          notifyFailed(new IllegalStateException("start failure"));
        }
      }
    
      private static class FailRunService extends NoOpService {
        @Override
        protected void doStart() {
          super.doStart();
          notifyFailed(new IllegalStateException("run failure"));
        }
      }
    
      private static class FailStopService extends NoOpService {
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

                  ? (isBoolean(method) ? Outcome.FAILURE : Outcome.HANG)
                  : Outcome.SUCCESS);
          addTests(
              suite,
              method,
              Scenario.UNSATISFIED_AND_UNOCCUPIED_BEFORE_ENTERING,
              TimeoutsToUse.INFINITE,
              isGuarded(method)
                  ? (isTryEnter(method) || isEnterIf(method) ? Outcome.FAILURE : Outcome.HANG)
                  : Outcome.SUCCESS);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 27.4K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

        checkNotNull(throwable);
        if (!state.permitsPublicUserToTransitionTo(State.FAILURE)) {
          return false;
        }
    
        forceSetException(throwable);
        return true;
      }
    
      private void forceSetException(Throwable throwable) {
        this.throwable = throwable;
        this.state = State.FAILURE;
        notifyAndClearListeners();
      }
    
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 19:37:41 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

       * particular Throwable.
       */
      private void handleException(Throwable throwable) {
        checkNotNull(throwable);
    
        if (allMustSucceed) {
          // As soon as the first one fails, make that failure the result of the output future.
          // The results of all other inputs are then ignored (except for logging any failures).
          boolean completedWithFailure = setException(throwable);
          if (!completedWithFailure) {
    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)
  7. src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java

                    if (logger.isDebugEnabled()) {
                        logger.debug("container was destroyed.");
                    }
                    return;
                }
                logger.warn("Failed to store a failure url.", e);
            }
    
            super.processCrawlingAccessException(objs);
            if (objs.length > 1 && objs[1] instanceof final UrlQueue<?> urlQueue) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/VerifyTest.java

        verify(true);
      }
    
      public void testVerify_simple_failure() {
        try {
          verify(false);
          fail();
        } catch (VerifyException expected) {
        }
      }
    
      public void testVerify_simpleMessage_success() {
        verify(true, "message");
      }
    
      public void testVerify_simpleMessage_failure() {
        try {
          verify(false, "message");
          fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java

        public static final String ERRORS_storage_file_upload_failure = "{errors.storage_file_upload_failure}";
    
        /** The key of the message: The target file is not found in Storage. */
        public static final String ERRORS_storage_file_not_found = "{errors.storage_file_not_found}";
    
        /** The key of the message: Failed to download {0}. */
        public static final String ERRORS_storage_file_download_failure = "{errors.storage_file_download_failure}";
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 119.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

          seenExceptionsLocal = newConcurrentHashSet();
          /*
           * Other handleException() callers may see this as soon as we publish it. We need to populate
           * it with the initial failure before we do, or else they may think that the initial failure
           * has never been seen before.
           */
          addInitialException(seenExceptionsLocal);
    
          ATOMIC_HELPER.compareAndSetSeenExceptions(this, null, seenExceptionsLocal);
    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)
Back to top