Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 927 for cyan (0.14 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    
    /**
     * Generators of different types of map and related collections, such as keys, entries and values.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class MapGenerators {
      public static class ImmutableMapGenerator extends TestStringMapGenerator {
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/RemovalCause.java

       * occur when using {@link CacheBuilder#weakKeys}, {@link CacheBuilder#weakValues}, or {@link
       * CacheBuilder#softValues}.
       */
      COLLECTED {
        @Override
        boolean wasEvicted() {
          return true;
        }
      },
    
      /**
       * The entry's expiration timestamp has passed. This can occur when using {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 2.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/FakeTicker.java

    import java.time.Duration;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicLong;
    
    /**
     * A Ticker whose value can be advanced programmatically in test.
     *
     * <p>The ticker can be configured so that the time is incremented whenever {@link #read} is called:
     * see {@link #setAutoIncrementStep}.
     *
     * <p>This class is thread-safe.
     *
     * @author Jige Yu
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

      }
    
      /**
       * Reserves the given number of permits from this {@code RateLimiter} for future use, returning
       * the number of microseconds until the reservation can be consumed.
       *
       * @return time in microseconds to wait until the resource can be acquired, never negative
       */
      final long reserve(int permits) {
        checkPermits(permits);
        synchronized (mutex()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/SettableFuture.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link ListenableFuture} whose result can be set by a {@link #set(Object)}, {@link
     * #setException(Throwable)} or {@link #setFuture(ListenableFuture)} call. It can also, like any
     * other {@code Future}, be {@linkplain #cancel cancelled}.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

    import java.util.Iterator;
    import java.util.List;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests addAll operations on a collection. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Chris Povirk
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. guava/pom.xml

              </tags>
    
              <!-- TODO(cpovirk): Move this to the parent after making the package-list files available there. -->
              <!-- We add the link ourselves, both so that we can choose Java 9 over the version that -source suggests and so that we can solve the JSR305 problem described below. -->
              <detectJavaApiLink>false</detectJavaApiLink>
              <offlineLinks>
    XML
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

     * {@code com.google.common.util.concurrent}) in degenerate class loaders which make certain
     * platform classes unavailable. Then we construct a test suite so we can run the normal FuturesTest
     * test methods in these degenerate classloaders.
     */
    
    public class AggregateFutureStateFallbackAtomicHelperTest extends TestCase {
    
      /**
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       * Encapsulates the action to be taken when a potential deadlock is encountered. Clients can use
       * one of the predefined {@link Policies} or specify a custom implementation. Implementations must
       * be thread-safe.
       *
       * @since 13.0
       */
      public interface Policy {
    
        /**
         * Called when a potential deadlock is encountered. Implementations can throw the given {@code
         * exception} and/or execute other desired logic.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

        if (index >= 0) {
          return inclusive ? index : index + 1;
        } else {
          return ~index;
        }
      }
    
      // Pretend the comparator can compare anything. If it turns out it can't
      // compare two elements, it'll throw a CCE. Only methods that are specified to
      // throw CCE should call this.
      @SuppressWarnings("unchecked")
      Comparator<Object> unsafeComparator() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
Back to top