- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 53 for far (0.01 sec)
-
android/guava/src/com/google/common/math/StatsAccumulator.java
import java.util.stream.IntStream; import java.util.stream.LongStream; /** * A mutable object which accumulates double values and tracks some basic statistics over all the * values added so far. The values may be added singly or in groups. This class is not thread safe. * * @author Pete Gillin * @author Kevin Bourrillion * @since 20.0 */ @J2ktIncompatible @GwtIncompatible
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 15.8K bytes - Viewed (0) -
guava/src/com/google/common/math/BigIntegerMath.java
* mode}. * * <p>For the case of {@link RoundingMode#HALF_DOWN}, {@code HALF_UP}, and {@code HALF_EVEN}, * infinite {@code double} values are considered infinitely far away. For example, 2^2000 is not * representable as a double, but {@code roundToDouble(BigInteger.valueOf(2).pow(2000), HALF_UP)} * will return {@code Double.MAX_VALUE}, not {@code Double.POSITIVE_INFINITY}. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashMap.java
* amortized) constant time operations. Expected in the hashtable sense (depends on the hash * function doing a good job of distributing the elements to the buckets to a distribution not far * from uniform), and amortized since some operations can trigger a hash table resize. * * <p>Unlike {@code java.util.HashMap}, iteration is only proportional to the actual {@code size()},
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 39.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
// imagine a line separating the first block from the second, we can proceed by exchanging // the smaller of these blocks with the far end of the other one. That leaves us with a // smaller version of the same problem. // Say we are rotating abcdefgh by 5. We start with abcde|fgh. The smaller block is [fgh]:Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 22 18:14:49 UTC 2025 - 31.3K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
private var sslSocketFactory: SSLSocketFactory? = null private var clientAuth = CLIENT_AUTH_NONE private var closed: Boolean = false /** * The number of HTTP requests received thus far by this server. This may exceed the number of * HTTP connections when connection reuse is in practice. */ public val requestCount: Int get() = atomicRequestCount.get()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Aug 02 20:36:00 UTC 2025 - 40.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
* both use cases by using @PolyNull. (By contrast, we can't use @PolyNull for our superinterface * (`implements Function<@PolyNull A, @PolyNull B>`), at least as far as I know.) */ public Iterable<B> convertAll(Iterable<? extends A> fromIterable) { checkNotNull(fromIterable, "fromIterable"); return () -> new Iterator<B>() {
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/src/com/google/common/collect/CompactHashSet.java
* constant time operations. Expected in the hashtable sense (depends on the hash function doing a * good job of distributing the elements to the buckets to a distribution not far from uniform), and * amortized since some operations can trigger a hash table resize. * * <p>Unlike {@code java.util.HashSet}, iteration is only proportional to the actual {@code size()},
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 24.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt
'a'.code, 'r'.code, 3, 'f'.code, 'o'.code, 'o'.code, ) // No more dynamic table updates should be emitted. hpackWriter!!.writeHeaders(listOf(Header("far", "boo"))) assertBytes(0x40, 3, 'f'.code, 'a'.code, 'r'.code, 3, 'b'.code, 'o'.code, 'o'.code) } @Test fun noDynamicTableSizeUpdateWhenSizeIsEqual() {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 38.6K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteStreams.java
int off = (int) expectedSize - remaining; int read = in.read(bytes, off, remaining); if (read == -1) { // end of stream before reading expectedSize bytes // just return the bytes read so far return Arrays.copyOf(bytes, off); } remaining -= read; } // bytes is now full int b = in.read(); if (b == -1) { return bytes; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 31.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
} }); List<String> actual = newArrayList(result); List<String> expected = asList("1", "2", "null", "3"); assertEquals(expected, actual); } // Far less exhaustive than the tests in IteratorsTest public void testCycle() { Iterable<String> cycle = Iterables.cycle("a", "b"); int howManyChecked = 0; for (String string : cycle) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 45.6K bytes - Viewed (0)