- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 44 for powers (0.06 sec)
-
guava/src/com/google/common/math/LongMath.java
/** * Returns the smallest power of two greater than or equal to {@code x}. This is equivalent to * {@code checkedPow(2, log2(x, CEILING))}. * * @throws IllegalArgumentException if {@code x <= 0} * @throws ArithmeticException of the next-higher power of two is not representable as a {@code * long}, i.e. when {@code x > 2^62} * @since 20.0 */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 03 21:01:09 UTC 2025 - 46.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java
} public void testCountOverflow_doesNotThrow() { PairedStatsAccumulator accumulator = new PairedStatsAccumulator(); accumulator.add(ONE_VALUE, OTHER_ONE_VALUE); for (int power = 1; power < Long.SIZE - 1; power++) { accumulator.addAll(accumulator.snapshot()); } // Should overflow without throwing. accumulator.addAll(accumulator.snapshot()); assertThat(accumulator.count()).isLessThan(0L);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 23.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java
} public void testCountOverflow_doesNotThrow() { PairedStatsAccumulator accumulator = new PairedStatsAccumulator(); accumulator.add(ONE_VALUE, OTHER_ONE_VALUE); for (int power = 1; power < Long.SIZE - 1; power++) { accumulator.addAll(accumulator.snapshot()); } // Should overflow without throwing. accumulator.addAll(accumulator.snapshot()); assertThat(accumulator.count()).isLessThan(0L);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 23.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
SetBuilderImpl<E> copy() { return this; } @Override ImmutableSet<E> build() { return ImmutableSet.of(); } } // We use power-of-2 tables, and this is the highest int that's a power of 2 static final int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO; // Represents how tightly we can pack things, as a maximum. private static final double DESIRED_LOAD_FACTOR = 0.7;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Nov 07 16:09:47 UTC 2025 - 35.3K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Shorts.java
/** * The number of bytes required to represent a primitive {@code short} value. * * <p>Prefer {@link Short#BYTES} instead. */ public static final int BYTES = Short.BYTES; /** * The largest power of two that can be represented as a {@code short}. * * @since 10.0 */ public static final short MAX_POWER_OF_TWO = 1 << (Short.SIZE - 2); /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 22 18:14:49 UTC 2025 - 25.7K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Shorts.java
/** * The number of bytes required to represent a primitive {@code short} value. * * <p>Prefer {@link Short#BYTES} instead. */ public static final int BYTES = Short.BYTES; /** * The largest power of two that can be represented as a {@code short}. * * @since 10.0 */ public static final short MAX_POWER_OF_TWO = 1 << (Short.SIZE - 2); /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 22 18:14:49 UTC 2025 - 25.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/normalizer/ICUNormalizerTest.java
assertEquals("みかん リンゴ", normalizer.normalize("みかん リンゴ", null)); } public void test_AnyLower() { ICUNormalizer normalizer = new ICUNormalizer("Any-Lower"); assertEquals("abcd", normalizer.normalize("ABCD", null)); } public void test_HalfwidthFullwidth() { ICUNormalizer normalizer = new ICUNormalizer("Halfwidth-Fullwidth");
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 17 14:23:01 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ingest/IngestFactory.java
* The factory maintains a sorted collection of ingesters based on their priority * and provides methods to add new ingesters and retrieve the current collection. * * Ingesters are automatically sorted by priority, with lower numbers having higher priority. */ public class IngestFactory { /** Logger instance for this class */ private static final Logger logger = LogManager.getLogger(IngestFactory.class);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 2.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
} public void testCountOverflow_doesNotThrow() { StatsAccumulator accumulator = new StatsAccumulator(); accumulator.add(ONE_VALUE); for (int power = 1; power < Long.SIZE - 1; power++) { accumulator.addAll(accumulator.snapshot()); } // Should overflow without throwing. accumulator.addAll(accumulator.snapshot()); assertThat(accumulator.count()).isLessThan(0L);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 36.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
/** * The number of bytes required to represent a primitive {@code int} value. * * <p>Prefer {@link Integer#BYTES} instead. */ public static final int BYTES = Integer.BYTES; /** * The largest power of two that can be represented as an {@code int}. * * @since 10.0 */ public static final int MAX_POWER_OF_TWO = 1 << (Integer.SIZE - 2); /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 22 18:14:49 UTC 2025 - 31.3K bytes - Viewed (0)