Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 90 for overlay (0.06 sec)

  1. guava/src/com/google/common/util/concurrent/ListeningScheduledExecutorService.java

      /**
       * @since 15.0 (previously returned ScheduledFuture)
       */
      @Override
      ListenableScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit);
    
      /**
       * Duration-based overload of {@link #schedule(Runnable, long, TimeUnit)}.
       *
       * @since 29.0
       */
      @J2ktIncompatible
      default ListenableScheduledFuture<?> schedule(Runnable command, Duration delay) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 17:30:04 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Microbenchmark for {@link Splitter#on} with char vs String with length == 1.
     *
     * @author Paul Lindner
     */
    @NullUnmarked
    public class SplitterBenchmark {
      // overall size of string
      @Param({"1", "10", "100", "1000"})
      int length;
    
      // Number of matching strings
      @Param({"xxxx", "xxXx", "xXxX", "XXXX"})
      String text;
    
      private String input;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

      }
    
      static void clearInterrupt() {
        Thread.interrupted();
      }
    
      /**
       * Retrieves the result of a {@code Future} known to be done but uses the {@code get(long,
       * TimeUnit)} overload in order to test that method.
       */
      static <V extends @Nullable Object> V getDoneFromTimeoutOverload(Future<V> future)
          throws ExecutionException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

       * Overlapping ranges and empty ranges are forbidden, though adjacent ranges are permitted and
       * will be merged.
       *
       * @throws IllegalArgumentException if any ranges overlap or are empty
       * @since 21.0
       */
      public static <C extends Comparable<?>> ImmutableRangeSet<C> copyOf(Iterable<Range<C>> ranges) {
        return new ImmutableRangeSet.Builder<C>().addAll(ranges).build();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/ListeningExecutorService.java

      @Override
      <T extends @Nullable Object> List<Future<T>> invokeAll(
          Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
          throws InterruptedException;
    
      /**
       * Duration-based overload of {@link #invokeAll(Collection, long, TimeUnit)}.
       *
       * @since 32.1.0
       */
      @J2ktIncompatible
      default <T extends @Nullable Object> List<Future<T>> invokeAll(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/RangeTest.java

        assertThat(expected).hasMessageThat().contains("connected");
    
        // adjacent below
        assertEquals(Range.closedOpen(4, 4), range.intersection(Range.closedOpen(2, 4)));
    
        // overlap below
        assertEquals(Range.closed(4, 6), range.intersection(Range.closed(2, 6)));
    
        // enclosed with same start
        assertEquals(Range.closed(4, 6), range.intersection(Range.closed(4, 6)));
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Closer.java

       * in a {@code RuntimeException}. <b>Note:</b> Be sure to declare all of the checked exception
       * types your try block can throw when calling an overload of this method so as to avoid losing
       * the original exception type.
       *
       * <p>This method always throws, and as such should be called as {@code throw closer.rethrow(e);}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

          boolean anyOverlaps = false;
          for (Range<Integer> range : subset) {
            boolean overlaps = false;
            for (Range<Integer> other : mutable.asRanges()) {
              if (other.isConnected(range) && !other.intersection(range).isEmpty()) {
                overlaps = true;
                anyOverlaps = true;
                break;
              }
            }
    
            try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Microbenchmark for {@link Splitter#on} with char vs String with length == 1.
     *
     * @author Paul Lindner
     */
    @NullUnmarked
    public class SplitterBenchmark {
      // overall size of string
      @Param({"1", "10", "100", "1000"})
      int length;
    
      // Number of matching strings
      @Param({"xxxx", "xxXx", "xXxX", "XXXX"})
      String text;
    
      private String input;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/ListenableFuture.java

                      MoreExecutors.directExecutor());
                })
            .then(onFulfilled, onRejected);
      }
    }
    
    /**
     * Subset of the elemental2 IThenable interface without the single-parameter overload, which allows
     * us to implement it using a default implementation in J2cl ListenableFuture.
     */
    @JsType(isNative = true, namespace = JsPackage.GLOBAL, name = "IThenable")
    interface IThenable<T extends @Nullable Object> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top