- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 120 for Enable (0.26 sec)
-
android/guava-tests/test/com/google/common/math/IntMathTest.java
public void testMaxLog10ForLeadingZeros() { for (int i = 0; i < Integer.SIZE; i++) { assertEquals( BigIntegerMath.log10(BigInteger.ONE.shiftLeft(Integer.SIZE - i), FLOOR), IntMath.maxLog10ForLeadingZeros[i]); } } @GwtIncompatible // BigIntegerMath // TODO(cpovirk): GWT-enable BigIntegerMath
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 24.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/LittleEndianByteArray.java
* crashes on Android when running in 32-bit mode. For maximum safety, we shouldn't use * Unsafe.getLong() at all, but the performance benefit on x86_64 is too great to ignore, so * as a compromise, we enable the optimization only on platforms that we specifically know to * work. * * In the future, the use of Unsafe.getLong() should be replaced by ByteBuffer.getLong(),
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 9.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapMakerTest.java
MapMaker maker = new MapMaker(); try { maker.initialCapacity(-1); fail(); } catch (IllegalArgumentException expected) { } } // TODO(cpovirk): enable when ready (apparently after a change to our GWT emulation) public void xtestInitialCapacity_setTwice() { MapMaker maker = new MapMaker().initialCapacity(16); try { // even to the same value is not allowed
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 26 16:35:21 GMT 2024 - 2.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java
sizeRemaining -= count; hashMultiset.add(value, count); linkedHashMultiset.add(value, count); treeMultiset.add(value, count); } // TODO(kevinb): convert to assert once benchmark tests enable asserts by default Preconditions.checkState(hashMultiset.size() == size); } @Benchmark int hashMultiset(int reps) { int sum = 0; for (int i = 0; i < reps; i++) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/net/HostAndPort.java
* perform actual validation of IP addresses, see the {@link InetAddresses#forString(String)} * method. * * @return {@code this}, to enable chaining of calls. * @throws IllegalArgumentException if bracketless IPv6 is detected. */ @CanIgnoreReturnValue public HostAndPort requireBracketsForIPv6() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Aug 22 20:55:57 GMT 2023 - 11.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
/** * Unit tests for {@link Callables}. * * @author Isaac Shum */ @GwtCompatible(emulated = true) public class CallablesTest extends TestCase { @J2ktIncompatible // TODO(b/324550390): Enable public void testReturning() throws Exception { assertNull(Callables.returning(null).call()); Object value = new Object(); Callable<Object> callable = Callables.returning(value);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 5.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
UnsignedLong value = UnsignedLong.fromLongBits(l); assertThat(value.toString(radix)).isEqualTo(value.bigIntegerValue().toString(radix)); } } } @AndroidIncompatible // b/28251030, re-enable when the fix is everywhere we run this test public void testFloatValue() { for (long value : TEST_LONGS) { UnsignedLong unsignedValue = UnsignedLong.fromLongBits(value);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 06 16:10:08 GMT 2024 - 10.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMultiset.java
* implementation can be created easily by extending this class and implementing the {@link * Multiset#entrySet()} method, plus optionally overriding {@link #add(Object, int)} and {@link * #remove(Object, int)} to enable modifications to the multiset. * * <p>The {@link #count} and {@link #size} implementations all iterate across the set returned by * {@link Multiset#entrySet()}, as do many methods acting on the set returned by {@link
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jun 01 22:07:10 GMT 2021 - 6K bytes - Viewed (0) -
android/pom.xml
XML - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Mar 12 20:26:18 GMT 2024 - 19.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
UnsignedLong value = UnsignedLong.fromLongBits(l); assertThat(value.toString(radix)).isEqualTo(value.bigIntegerValue().toString(radix)); } } } @AndroidIncompatible // b/28251030, re-enable when the fix is everywhere we run this test public void testFloatValue() { for (long value : TEST_LONGS) { UnsignedLong unsignedValue = UnsignedLong.fromLongBits(value);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 16:10:08 GMT 2024 - 10.5K bytes - Viewed (0)