Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for cheap (0.01 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertEquals(3, mmHeap.size());
        assertTrue("Heap is not intact after remove()", mmHeap.isIntact());
        assertTrue("Heap contains two 1's", mmHeap.contains(1));
        assertTrue("Heap contains two 1's", mmHeap.remove(1));
        assertTrue("Heap contains 1", mmHeap.contains(1));
        assertTrue("Heap contains 1", mmHeap.remove(1));
        assertFalse("Heap does not contain 1", mmHeap.contains(1));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

            }
    
            /** Used heap memory in bytes */
            public long used;
            /** Committed heap memory in bytes */
            public long committed;
            /** Maximum heap memory in bytes */
            public long max;
            /** Heap memory usage percentage */
            public short percent;
        }
    
        /**
         * Data transfer object representing JVM non-heap memory statistics.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  8. native-image-tests/build.gradle.kts

      testImplementation(libs.kotlin.junit5)
      testImplementation(libs.junit.jupiter.params)
    }
    
    graalvmNative {
      testSupport = true
    
      binaries {
        named("test") {
          buildArgs.add("--strict-image-heap")
    
          // speed up development testing
          buildArgs.add("-Ob")
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:31:49 UTC 2025
    - 904 bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

     * Reader implementations, this compares the performance of the different options.
     */
    // These benchmarks allocate a lot of data so use a large heap
    @VmOptions({"-Xms12g", "-Xmx12g", "-d64"})
    @NullUnmarked
    public class CharStreamsCopyBenchmark {
      enum CopyStrategy {
        OLD {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

    @NullMarked
    public final class GcFinalization {
      private GcFinalization() {}
    
      /**
       * 10 seconds ought to be long enough for any object to be GC'ed and finalized. Unless we have a
       * gigantic heap, in which case we scale by heap size.
       */
      private static long timeoutSeconds() {
        // This class can make no hard guarantees.  The methods in this class are inherently flaky, but
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top