Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 179 for Sant (0.16 sec)

  1. futures/listenablefuture9999/pom.xml

        contains com.google.common.util.concurrent.ListenableFuture class, without
        any other Guava classes. The idea is:
    
        - If users want only ListenableFuture, they depend on listenablefuture-1.0.
    
        - If users want all of Guava, they depend on guava, which, as of Guava
        27.0, depends on
        listenablefuture-9999.0-empty-to-avoid-conflict-with-guava. The 9999.0-...
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 12 21:42:09 GMT 2018
    - 2.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/SloppyTearDown.java

     */
    
    package com.google.common.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    
    /**
     * Simple utility for when you want to create a {@link TearDown} that may throw an exception but
     * should not fail a test when it does. (The behavior of a {@code TearDown} that throws an exception
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

        assertFalse(listenableFuture.isDone());
    
        listenableFuture.addListener(singleCallListener, directExecutor());
        /*
         * Don't shut down until the listenInPoolThread task has been accepted to
         * run. We want to see what happens when it's interrupted, not when it's
         * rejected.
         */
        submitSuccessful.await();
        executorService.shutdownNow();
        abstractFuture.set(DATA1);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 9.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java

    import java.util.concurrent.TimeoutException;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * {@link FluentFuture} that forwards all calls to a delegate.
     *
     * <h3>Extension</h3>
     *
     * If you want a class like {@code FluentFuture} but with extra methods, we recommend declaring your
     * own subclass of {@link ListenableFuture}, complete with a method like {@link #from} to adapt an
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 05 22:27:35 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableList.java

       *
       * <p>If your data has no duplicates, or you wish to deduplicate elements, use {@code
       * ImmutableSortedSet.copyOf(elements)}; if you want a {@code List} you can use its {@code
       * asList()} view.
       *
       * <p><b>Java 8+ users:</b> If you want to convert a {@link java.util.stream.Stream} to a sorted
       * {@code ImmutableList}, use {@code stream.sorted().collect(toImmutableList())}.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  6. guava-testlib/src/com/google/common/testing/ClusterException.java

     * presented below:
     *
     * <pre>
     * void runManyThings({@literal List<ThingToRun>} thingsToRun) {
     *   for (ThingToRun thingToRun : thingsToRun) {
     *     thingToRun.run(); // say this may throw an exception, but you want to
     *                       // always run all thingsToRun
     *   }
     * }
     * </pre>
     *
     * <p>This is what the code would become:
     *
     * <pre>
     * void runManyThings({@literal List<ThingToRun>} thingsToRun) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 4K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java

     * </ul>
     *
     * <p><b>Important note:</b> the primary goal of this benchmark is to ensure that varying {@code
     * whereToDiffer} produces no observable change in performance. We want to make sure that the array
     * equals implementation is *not* short-circuiting to prevent timing-based attacks. Being fast is
     * only a secondary goal.
     *
     * @author Kurt Alfred Kluever
     */
    public class HashCodeBenchmark {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

         * least old versions), so we mostly do. This is useful because we don't actually run our CI on
         * Windows under Java 8, at least as of this writing.
         *
         * Under Windows in particular, we want to test that:
         *
         * - Under Java 9+, createTempDir() succeeds because it can look up the *real* username, rather
         * than relying on the one from the system property.
         *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java

     * </ul>
     *
     * <p><b>Important note:</b> the primary goal of this benchmark is to ensure that varying {@code
     * whereToDiffer} produces no observable change in performance. We want to make sure that the array
     * equals implementation is *not* short-circuiting to prevent timing-based attacks. Being fast is
     * only a secondary goal.
     *
     * @author Kurt Alfred Kluever
     */
    public class HashCodeBenchmark {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

     * </h4>
     *
     * <p>Users of {@code CompletableFuture} will likely want to continue using {@code
     * CompletableFuture}. {@code FluentFuture} is targeted at people who use {@code ListenableFuture},
     * who can't use Java 8, or who want an API more focused than {@code CompletableFuture}. (If you
     * need to adapt between {@code CompletableFuture} and {@code ListenableFuture}, consider <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
Back to top