Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for cheap (0.02 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

      // NotApplicableException in the expensive comparator case.
      @Param({"100", "10000"})
      private int size;
    
      @Param private HeapType heap;
    
      private Queue<Integer> queue;
    
      private final Random random = new Random();
    
      @BeforeExperiment
      void setUp() {
        queue = heap.create(comparator.get());
        for (int i = 0; i < size; i++) {
          queue.add(random.nextInt());
        }
      }
    
      @Benchmark
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/LongMath.java

       *
       * <p>This differs from {@code Long.bitCount(x) == 1}, because {@code
       * Long.bitCount(Long.MIN_VALUE) == 1}, but {@link Long#MIN_VALUE} is not a power of two.
       */
      // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
      @SuppressWarnings("ShortCircuitBoolean")
      public static boolean isPowerOfTwo(long x) {
        return x > 0 & (x & (x - 1)) == 0;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Executor;
    import org.jspecify.annotations.Nullable;
    
    /** Implementations of {@code Futures.transform*}. */
    @GwtCompatible
    // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
    @SuppressWarnings("ShortCircuitBoolean")
    abstract class AbstractTransformFuture<
            I extends @Nullable Object, O extends @Nullable Object, F, T extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Executor;
    import org.jspecify.annotations.Nullable;
    
    /** Implementations of {@code Futures.transform*}. */
    @GwtCompatible
    // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
    @SuppressWarnings("ShortCircuitBoolean")
    abstract class AbstractTransformFuture<
            I extends @Nullable Object, O extends @Nullable Object, F, T extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

     *
     * @param <InputT> the type of the individual inputs
     * @param <OutputT> the type of the output (i.e. this) future
     */
    @GwtCompatible
    @SuppressWarnings(
        // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
        "ShortCircuitBoolean")
    abstract class AggregateFuture<InputT extends @Nullable Object, OutputT extends @Nullable Object>
        extends AggregateFutureState<OutputT> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

    import java.util.concurrent.locks.LockSupport;
    import org.jspecify.annotations.Nullable;
    import sun.misc.Unsafe;
    
    /** Supertype of {@link AbstractFuture} that contains platform-specific functionality. */
    // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
    @SuppressWarnings("ShortCircuitBoolean")
    @GwtCompatible
    @ReflectionSupport(value = ReflectionSupport.Level.FULL)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

    import java.util.concurrent.locks.LockSupport;
    import org.jspecify.annotations.Nullable;
    import sun.misc.Unsafe;
    
    /** Supertype of {@link AbstractFuture} that contains platform-specific functionality. */
    // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
    @SuppressWarnings("ShortCircuitBoolean")
    @GwtCompatible
    @ReflectionSupport(value = ReflectionSupport.Level.FULL)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/Monitor.java

       * optimization for the case that guardToSkip.isSatisfied() may be expensive.
       *
       * <p>We decided against using this method, since in practice, isSatisfied() is likely to be very
       * cheap (typically one field read). Resurrect this method if you find that not to be true.
       */
      //   @GuardedBy("lock")
      //   private void signalNextWaiterSkipping(Guard guardToSkip) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  9. okhttp/src/jvmMain/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.list

    cfolks.pl
    cg
    ch
    ch.eu.org
    ch.it
    ch.trendhosting.cloud
    chambagri.fr
    championship.aero
    chanel
    channel
    channelsdvr.net
    charity
    charter.aero
    chase
    chat
    cheap
    cheap.jp
    cherkassy.ua
    cherkasy.ua
    chernigov.ua
    chernihiv.ua
    chernivtsi.ua
    chernovtsy.ua
    chiba.jp
    chicappa.jp
    chichibu.saitama.jp
    chieti.it
    chigasaki.kanagawa.jp
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 129.6K bytes
    - Viewed (3)
  10. okhttp/src/jvmTest/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    // https://www.iana.org/domains/root/db/chase.html
    chase
    
    // chat : Binky Moon, LLC
    // https://www.iana.org/domains/root/db/chat.html
    chat
    
    // cheap : Binky Moon, LLC
    // https://www.iana.org/domains/root/db/cheap.html
    cheap
    
    // chintai : CHINTAI Corporation
    // https://www.iana.org/domains/root/db/chintai.html
    chintai
    
    // christmas : XYZ.COM LLC
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 309.7K bytes
    - Viewed (0)
Back to top