Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 52 for Stack (0.17 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

          fail();
        } catch (CancellationException expected) {
          // There should be two CancellationException chained together.  The outer one should have the
          // stack trace of where the get() call was made, and the inner should have the stack trace of
          // where the immediateCancelledFuture() call was made.
          List<StackTraceElement> stackTrace = ImmutableList.copyOf(expected.getStackTrace());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          setFutureSuccess.set(false);
          cancellationSuccess.set(false);
          finalResults.clear();
        }
        executor.shutdown();
      }
    
      // In a previous implementation this would cause a stack overflow after ~2000 futures chained
      // together.  Now it should only be limited by available memory (and time)
      public void testSetFuture_stackOverflow() {
        SettableFuture<String> orig = SettableFuture.create();
    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)
  3. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *   <li>If many such tasks are chained together (such as with {@code
       *       future.transform(...).transform(...).transform(...)....}), they may overflow the stack.
       *       (In simple cases, callers can avoid this by registering all tasks with the same {@link
       *       MoreExecutors#newSequentialExecutor} wrapper around {@code directExecutor()}. More
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

       * 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
       * MoreExecutors#directExecutor}. Otherwise, avoid it: See the warnings on the docs for {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          setFutureSuccess.set(false);
          cancellationSuccess.set(false);
          finalResults.clear();
        }
        executor.shutdown();
      }
    
      // In a previous implementation this would cause a stack overflow after ~2000 futures chained
      // together.  Now it should only be limited by available memory (and time)
      public void testSetFuture_stackOverflow() {
        SettableFuture<String> orig = SettableFuture.create();
    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)
  6. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

            return new PriorityQueue<>(c);
        }
    
        /**
         * {@link Stack}の新しいインスタンスを作成して返します。
         *
         * @param <E>
         *            {@link Stack}の要素型
         * @return {@link Stack}の新しいインスタンス
         * @see Stack#Stack()
         */
        public static <E> Stack<E> newStack() {
            return new Stack<>();
        }
    
        /**
         * {@link SynchronousQueue}の新しいインスタンスを作成して返します。
         *
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 53.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

              ImmutableList.of(1, 2),
              ImmutableList.of(3, 5),
              ImmutableList.of(2, 4),
              ImmutableList.of(1, 2, 3, 5, 6, 8, 9));
    
      /*
       * We have a whole series of abstract test classes that "stack", so e.g. the tests for filtered
       * NavigableSets inherit the tests for filtered Iterables, Collections, Sets, and SortedSets. The
       * actual implementation tests are further down.
       */
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  8. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

       * 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
       * MoreExecutors#directExecutor}. Otherwise, avoid it: See the warnings on the docs for {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Preconditions.java

     * which are <i>not the caller's fault</i>. Doing so is <b>not recommended</b> because it is
     * misleading to future readers of the code and of stack traces. See <a
     * href="https://github.com/google/guava/wiki/ConditionalFailuresExplained">Conditional failures
     * explained</a> in the Guava User Guide for more advice. Notably, {@link Verify} offers assertions
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

             */
            Runnable localTask = requireNonNull(task);
            task = null;
            localTask.run();
            return;
          }
          // Executor called reentrantly! Make sure that further calls don't overflow stack. Further
          // reentrant calls will see that their current thread is the same as the one set in
          // latestTaskQueue, and queue rather than calling execute() directly.
    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