Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 25 for cheap (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  2. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  3. android/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;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 09 23:01:02 GMT 2026
    - 46.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/math/DoubleMath.java

       *       <li>{@code x} is not a mathematical integer and {@code mode} is {@link
       *           RoundingMode#UNNECESSARY}
       *     </ul>
       */
      @GwtIncompatible // #roundIntermediate
      // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
      @SuppressWarnings("ShortCircuitBoolean")
      public static int roundToInt(double x, RoundingMode mode) {
        double z = roundIntermediate(x, mode);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/math/IntMath.java

       *
       * <p>This differs from {@code Integer.bitCount(x) == 1}, because {@code
       * Integer.bitCount(Integer.MIN_VALUE) == 1}, but {@link Integer#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(int x) {
        return x > 0 & (x & (x - 1)) == 0;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  6. 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>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 20 18:03:37 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

     * should rarely override other methods.
     *
     * @author Sven Mawson
     * @author Luke Sandberg
     * @since 1.0
     */
    // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
    @SuppressWarnings("ShortCircuitBoolean")
    @GwtCompatible
    /*
     * TODO(cpovirk): Do we still need @ReflectionSupport on *this* class now that the fields live in
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  8. android/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) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 43.5K bytes
    - Click Count (0)
  9. 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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 309.7K bytes
    - Click Count (1)
  10. src/main/assemblies/files/fess.in.bat

    REM FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Djavax.net.ssl.trustStorePassword=changeit
    
    REM Causes the JVM to dump its heap on OutOfMemory.
    REM set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -XX:+HeapDumpOnOutOfMemoryError
    REM The path to the heap dump location, note directory must exists and have enough
    REM space for a full heap dump.
    REM FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -XX:HeapDumpPath=%FESS_HOME%/logs/heapdump.hprof
    
    REM Disables explicit GC
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 03:48:59 GMT 2025
    - 4.8K bytes
    - Click Count (0)
Back to Top