Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 156 for Down (0.54 sec)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

        offer(e); // never need to block
      }
    
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
      public @Nullable E poll() {
        final Monitor monitor = this.monitor;
        monitor.enter();
        try {
          return q.poll();
        } finally {
          monitor.leave();
        }
      }
    
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableCollection.java

    @GwtCompatible(emulated = true)
    @SuppressWarnings("serial") // we're overriding default serialization
    @ElementTypesAreNonnullByDefault
    // TODO(kevinb): I think we should push everything down to "BaseImmutableCollection" or something,
    // just to do everything we can to emphasize the "practically an interface" nature of this class.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      }
    
      private void assertNoExpectedFailures() {
        assertWithMessage("executor was shut down")
            .that(shutdownAndAwaitTermination(executor, 10, SECONDS))
            .isTrue();
        assertWithMessage("closingExecutor was shut down")
            .that(shutdownAndAwaitTermination(closingExecutor, 10, SECONDS))
            .isTrue();
        if (!failures.isEmpty()) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

          result.descendingSet = this;
        }
        return result;
      }
    
      // Most classes should implement this as new DescendingImmutableSortedSet<E>(this),
      // but we push down that implementation because ProGuard can't eliminate it even when it's always
      // overridden.
      @GwtIncompatible // NavigableSet
      abstract ImmutableSortedSet<E> createDescendingSet();
    
      /** @since 12.0 */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Stopwatch.java

        return isRunning ? ticker.read() - startTick + elapsedNanos : elapsedNanos;
      }
    
      /**
       * Returns the current elapsed time shown on this stopwatch, expressed in the desired time unit,
       * with any fraction rounded down.
       *
       * <p>Note that the overhead of measurement can be more than a microsecond, so it is generally not
       * useful to specify {@link TimeUnit#NANOSECONDS} precision here.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Nov 15 21:38:09 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

       * NavigableSets inherit the tests for filtered Iterables, Collections, Sets, and SortedSets. The
       * actual implementation tests are further down.
       */
    
      public abstract static class AbstractFilteredIterableTest<C extends Iterable<Integer>>
          extends TestCase {
        abstract C createUnfiltered(Iterable<Integer> contents);
    
    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)
  7. guava-tests/test/com/google/common/graph/TraverserTest.java

       * }</pre>
       */
      private static final SuccessorsFunction<Character> JAVADOC_GRAPH =
          createUndirectedGraph("ba", "ad", "be", "ac", "ec", "cf");
    
      /**
       * A diamond shaped directed graph (arrows going down):
       *
       * <pre>{@code
       *   a
       *  / \
       * b   c
       *  \ /
       *   d
       * }</pre>
       */
      private static final SuccessorsFunction<Character> DIAMOND_GRAPH =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 47.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/Traverser.java

        }
    
        final Iterator<N> preOrder(Iterator<? extends N> startNodes) {
          return topDown(startNodes, InsertionOrder.FRONT);
        }
    
        /**
         * In top-down traversal, an ancestor node is always traversed before any of its descendant
         * nodes. The traversal order among descendant nodes (particularly aunts and nieces) are
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      }
    
      private void assertNoExpectedFailures() {
        assertWithMessage("executor was shut down")
            .that(shutdownAndAwaitTermination(executor, 10, SECONDS))
            .isTrue();
        assertWithMessage("closingExecutor was shut down")
            .that(shutdownAndAwaitTermination(closingExecutor, 10, SECONDS))
            .isTrue();
        if (!failures.isEmpty()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/IoTestCase.java

          }
          copy(resourceUrl, file);
        }
    
        return file;
      }
    
      /**
       * Creates a new temp dir for testing. The returned directory and all contents of it will be
       * deleted in the tear-down for this test.
       */
      protected final File createTempDir() throws IOException {
        File tempFile = File.createTempFile("IoTestCase", "");
        if (!tempFile.delete() || !tempFile.mkdir()) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 5.6K bytes
    - Viewed (0)
Back to top