Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for StackOverflowError (0.29 sec)

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

          function = null;
        }
    
        /*
         * If set()/setValue() throws an Error, we let it propagate. Why? The most likely Error is a
         * StackOverflowError (from deep transform(..., directExecutor()) nesting), and calling
         * setException(stackOverflowError) would fail:
         *
         * - If the stack overflowed before set()/setValue() could even store the result in the output
    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)
  2. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

        }
    
        this.mayInterruptIfRunning = mayInterruptIfRunning;
        state = State.CANCELLED;
        notifyAndClearListeners();
    
        if (delegate != null) {
          // TODO(lukes): consider adding the StackOverflowError protection from the server version
          delegate.cancel(mayInterruptIfRunning);
        }
    
        return true;
      }
    
      protected void interruptTask() {}
    
      @Override
    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)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          prev.setFuture(curr);
          prev = curr;
        }
        // prev represents the 'innermost' future
        prev.set("done");
        assertTrue(orig.isDone());
      }
    
      // Verify that StackOverflowError in a long chain of SetFuture doesn't cause the entire toString
      // call to fail
      @J2ktIncompatible
      @GwtIncompatible
      @AndroidIncompatible
      public void testSetFutureToString_stackOverflow() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          prev.setFuture(curr);
          prev = curr;
        }
        // prev represents the 'innermost' future
        prev.set("done");
        assertTrue(orig.isDone());
      }
    
      // Verify that StackOverflowError in a long chain of SetFuture doesn't cause the entire toString
      // call to fail
      @J2ktIncompatible
      @GwtIncompatible
      @AndroidIncompatible
      public void testSetFutureToString_stackOverflow() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

        return outputFuture;
      }
    
      enum RunningState {
        NOT_RUN,
        CANCELLED,
        STARTED,
      }
    
      /**
       * This class helps avoid a StackOverflowError when large numbers of tasks are submitted with
       * {@link MoreExecutors#directExecutor}. Normally, when the first future completes, all the other
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
Back to top