- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 412 for rounds (0.03 sec)
-
android/guava-tests/test/com/google/common/cache/TestingRemovalListeners.java
implements RemovalListener<K, V> { @Override public void onRemoval(RemovalNotification<K, V> notification) { add(notification); } } /** * {@link RemovalListener} that counts each {@link RemovalNotification} it receives, and provides * access to the most-recently received one. */ static class CountingRemovalListener<K, V> implements RemovalListener<K, V> {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/ASN1UtilTest.java
assertThrows(EOFException.class, () -> { ASN1Util.readLength(s, 100, false); }); } @Test void testReadLength_OutOfBounds() { // Length out of bounds InputStream s = new ByteArrayInputStream(new byte[] { (byte) 0x81, (byte) 0xFF }); // length 255 assertThrows(IOException.class, () -> { ASN1Util.readLength(s, 200, false); // limit 200 });
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
guava/src/com/google/common/math/BigIntegerMath.java
public static boolean isPowerOfTwo(BigInteger x) { checkNotNull(x); return x.signum() > 0 && x.getLowestSetBit() == x.bitLength() - 1; } /** * Returns the base-2 logarithm of {@code x}, rounded according to the specified rounding mode. * * @throws IllegalArgumentException if {@code x <= 0} * @throws ArithmeticException if {@code mode} is {@link RoundingMode#UNNECESSARY} and {@code x}
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
* converter.reverse().convert(converter.convert(a)).equals(a)} is always true). However, it is very * common (perhaps <i>more</i> common) for round-trip conversion to be <i>lossy</i>. Consider an * example round-trip using {@link com.google.common.primitives.Doubles#stringConverter}: * * <ol> * <li>{@code stringConverter().convert("1.00")} returns the {@code Double} value {@code 1.0}
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jun 18 21:43:06 UTC 2025 - 22.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java
} resetContainer(getSubjectGenerator().create(entries.toArray())); assertEquals( "A Map's hashCode() should be the sum of those of its entries (where " + "a null element in an entry counts as having a hash of zero).", expectedHashCode, getMap().hashCode()); } private static int hash(Entry<?, ?> e) { return (e.getKey() == null ? 0 : e.getKey().hashCode())Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/webapp/WEB-INF/orig/view/searchResults.jsp
href="/search?q=${f:u(q)}&ex_q=label%3a${f:u(countEntry.key)}&sdh=${f:u(fe:sdh(sh))}${fe:pagingQuery(null)}${fe:facetQuery()}${fe:geoQuery()}"> ${f:h(fe:label(countEntry.key))} <span class="badge rounded-pill text-bg-secondary float-end">${f:h(countEntry.value)}</span> </la:link></li> </c:if> </c:forEach> </ul> </c:if> </c:forEach>Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Jan 18 05:32:37 UTC 2025 - 9.1K bytes - Viewed (1) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
when(mockReferral.getNode()).thenReturn("\\server\\share\\path"); String reqPath = "\\\\server\\share\\path\\file"; // Ensure consumed is within bounds to avoid StringIndexOutOfBoundsException consumed = Math.min(consumed, reqPath.length());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/CollectCollectors.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 16.6K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CountingOutputStream.java
import com.google.common.annotations.J2ktIncompatible; import java.io.FilterOutputStream; import java.io.IOException; import java.io.OutputStream; /** * An OutputStream that counts the number of bytes written. * * @author Chris Nokleberg * @since 1.0 */ @J2ktIncompatible @GwtIncompatible public final class CountingOutputStream extends FilterOutputStream { private long count;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 4.5K bytes - Viewed (0)