- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 17 for cheap (0.03 seconds)
-
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) -
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) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
Heap heap; if (crossOver == index) { heap = this; } else { index = crossOver; heap = otherHeap; } heap.bubbleUpAlternatingLevels(index, x); } /** * Bubbles a value from {@code index} up the levels of this heap, and returns the index the * element ended up at. */ @CanIgnoreReturnValueCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 34K bytes - Click Count (0) -
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));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 36.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/MinMaxPriorityQueue.java
Heap heap; if (crossOver == index) { heap = this; } else { index = crossOver; heap = otherHeap; } heap.bubbleUpAlternatingLevels(index, x); } /** * Bubbles a value from {@code index} up the levels of this heap, and returns the index the * element ended up at. */ @CanIgnoreReturnValueCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 34K bytes - Click Count (0) -
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));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 36.2K bytes - Click Count (0) -
gradle.properties
android.useAndroidX=true kotlin.mpp.applyDefaultHierarchyTemplate=false androidBuild=false graalBuild=false loomBuild=false containerTests=false okhttpModuleTests=false okhttpDokka=false # Increase heap and metaspace to reduce GC pressure when loading 30+ plugin classpaths org.gradle.jvmargs=-Dfile.encoding=UTF-8 # AGP 9.0 Settings android.builtInKotlin=true
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 08:47:08 GMT 2026 - 718 bytes - Click Count (0) -
.teamcity/src/main/kotlin/util/AdHocPerformanceScenario.kt
allowEmpty = false, description = "Command line option for the performance test task to enable profiling. " + "For example `async-profiler`, `async-profiler-heap`, `async-profiler-wall`, `async-profiler-all` or `jfr`. Use `none` for benchmarking only.", ) } object AdHocPerformanceScenarioLinux : AdHocPerformanceScenario(Os.LINUX)Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 30 14:08:32 GMT 2026 - 6K bytes - Click Count (0) -
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, butCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 20:19:19 GMT 2026 - 12.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/MemoryUtilTest.java
assertNotNull(log); assertTrue(log.startsWith("Mem:{used ")); assertTrue(log.contains(", heap ")); assertTrue(log.contains(", max ")); assertTrue(log.endsWith("}")); // Verify format contains expected memory units assertTrue(log.matches(".*used [0-9.]+[a-zA-Z]+, heap [0-9.]+[a-zA-Z]+, max [0-9.]+[a-zA-Z]+.*")); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12K bytes - Click Count (0)