- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 74 for rounds (0.03 sec)
-
guava/src/com/google/common/math/LongMath.java
checkNotNull(mode); long div = p / q; // throws if q == 0 long rem = p - q * div; // equals p % q if (rem == 0) { return div; } /* * Normal Java division rounds towards 0, consistently with RoundingMode.DOWN. We just have to * deal with the cases where rounding towards 0 is wrong, which typically depends on the sign of * p / q. *
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/src/com/google/common/reflect/Types.java
/** * Returns {@code ? extends X} if any of {@code bounds} is a subtype of {@code X[]}; or null * otherwise. */ private static @Nullable Type subtypeOfComponentType(Type[] bounds) { for (Type bound : bounds) { Type componentType = getComponentType(bound); if (componentType != null) { // Only the first bound can be a class or array. // Bounds after the first can only be interfaces.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 31 19:34:24 UTC 2025 - 24.3K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
/** * Returns {@code ? extends X} if any of {@code bounds} is a subtype of {@code X[]}; or null * otherwise. */ private static @Nullable Type subtypeOfComponentType(Type[] bounds) { for (Type bound : bounds) { Type componentType = getComponentType(bound); if (componentType != null) { // Only the first bound can be a class or array. // Bounds after the first can only be interfaces.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 31 19:34:24 UTC 2025 - 24.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
*/ public void testDecode_Null() throws Exception { final byte[] result = Base64Util.decode(null); assertNull("Null should return null", result); } /** * Test encode/decode round trip with various data * * @throws Exception */ public void testEncodeDecode_RoundTrip() throws Exception { // Test with ASCII text final String text = "Hello, World!";Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt
// Compute the next set of routes to attempt. val routes = mutableListOf<Route>() while (hasNextProxy()) { // Postponed routes are always tried last. For example, if we have 2 proxies and all the // routes for proxy1 should be postponed, we'll move to proxy2. Only after we've exhausted // all the good routes will we attempt the postponed routes. val proxy = nextProxy()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 7.3K bytes - Viewed (2) -
src/main/java/org/codelibs/fess/util/FacetResponse.java
} /** * Represents a field facet with its name and value counts. * Each field facet contains multiple values with their respective document counts. */ public static class Field { /** * Map containing field values and their document counts. * Keys are field values as strings, values are document counts. */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sun Nov 23 11:39:05 UTC 2025 - 5.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
// Invariant: all elements at indices in [knownRunStart, knownRunEnd) are nonnull. // If knownRunStart == knownRunEnd, this is vacuously true. // When knownRunEnd exceeds hashTable.length, it "wraps", detecting runs around the end // of the table. int knownRunStart = 0; int knownRunEnd = 0; outerLoop: while (knownRunStart < hashTable.length) {
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/io/CharStreams.java
* close or flush the reader. * * <p>This is identical to {@link #copy(Readable, Appendable)} but optimized for these specific * types. CharBuffer has poor performance when being written into or read out of so round tripping * all the bytes through the buffer takes a long time. With these specialized types we can just * use a char array. * * @param from the object to read from * @param to the object to write toRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 29 13:56:24 UTC 2025 - 11.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
* * If [routes] is non-null these are the resolved routes (ie. IP addresses) for the connection. * This is used to coalesce related domains to the same HTTP/2 connection, such as `square.com` * and `square.ca`. */ internal fun callAcquirePooledConnection( doExtensiveHealthChecks: Boolean, address: Address, call: RealCall, routes: List<Route>?, requireMultiplexed: Boolean,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 11.1K bytes - Viewed (0) -
okhttp/build.gradle.kts
// Work around robolectric requirements and limitations // https://github.com/robolectric/robolectric/issues/10419 filter { excludeTest("okhttp3.internal.publicsuffix.PublicSuffixDatabaseTest", null) } } } } // Work around issue 8826, where the Sentry SDK assumes that OkHttp's internal-visibility symbolsRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 12.3K bytes - Viewed (0)