Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 101 for Stacks (0.22 sec)

  1. 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)
  2. android/guava/src/com/google/common/hash/HashCode.java

       * representation to this hash code.
       *
       * <p><b>Security note:</b> this method uses a constant-time (not short-circuiting) implementation
       * to protect against <a href="http://en.wikipedia.org/wiki/Timing_attack">timing attacks</a>.
       */
      @Override
      public final boolean equals(@CheckForNull Object object) {
        if (object instanceof HashCode) {
          HashCode that = (HashCode) object;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Futures.java

       * exception, every unchecked exception as an unchecked exception, and every error as an error. In
       * addition, the cause of any {@code ExecutionException} is wrapped in order to ensure that the
       * new stack trace matches that of the current thread.
       *
       * <p>Instances of {@code exceptionClass} are created by choosing an arbitrary public constructor
    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)
  4. android/guava/src/com/google/common/reflect/ClassPath.java

       * href="http://docs.oracle.com/javase/8/docs/technotes/guides/jar/jar.html#Main_Attributes">JAR
       * File Specification</a>. Even though the specification only talks about relative urls, absolute
       * urls are actually supported too (for example, in Maven surefire plugin).
       */
      @VisibleForTesting
      static URL getClassPathEntry(File jarFile, String path) throws MalformedURLException {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 24.9K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/collect/ArrayTable.java

      /**
       * Returns a two-dimensional array with the table contents. The row and column indices correspond
       * to the positions of the row and column in the iterables provided during table construction. If
       * the table lacks a mapping for a given row and column, the corresponding array element is null.
       *
       * <p>Subsequent table changes will not modify the array, and vice versa.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  6. 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 Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/CacheBuilder.java

     * entries may be counted in {@link Cache#size}, but will never be visible to read or write
     * operations.
     *
     * <p>Certain cache configurations will result in the accrual of periodic maintenance tasks which
     * will be performed during write operations, or during occasional read operations in the absence of
     * writes. The {@link Cache#cleanUp} method of the returned cache will also perform maintenance, but
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/ListeningExecutorServiceTest.java

      public void testInvokeAny() throws Exception {
        Set<Callable<String>> tasks = Collections.singleton(() -> "invokeAny");
    
        String result = executorService.invokeAny(tasks, Duration.ofSeconds(7));
    
        assertThat(result).isEqualTo("invokeAny");
        assertThat(recordedTasks).isSameInstanceAs(tasks);
        assertThat(recordedTimeUnit).isEqualTo(NANOSECONDS);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Fri Jun 02 12:45:23 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TreeTraverser.java

        private final Deque<Iterator<T>> stack;
    
        PreOrderIterator(T root) {
          this.stack = new ArrayDeque<>();
          stack.addLast(Iterators.singletonIterator(checkNotNull(root)));
        }
    
        @Override
        public boolean hasNext() {
          return !stack.isEmpty();
        }
    
        @Override
        public T next() {
          Iterator<T> itr = stack.getLast(); // throws NSEE if empty
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ListeningExecutorService.java

       * </pre>
       *
       * @return a list of {@code ListenableFuture} instances representing the tasks, in the same
       *     sequential order as produced by the iterator for the given task list. If the operation did
       *     not time out, each task will have completed. If it did time out, some of these tasks will
       *     not have completed.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sun Jun 20 10:45:35 GMT 2021
    - 4.2K bytes
    - Viewed (0)
Back to top