- Sort Score
- Num 10 results
- Language All
Results 4611 - 4620 of 5,146 for Name (0.03 seconds)
-
android/guava/src/com/google/common/io/LineReader.java
import java.io.Reader; import java.nio.CharBuffer; import java.util.ArrayDeque; import java.util.Queue; import org.jspecify.annotations.Nullable; /** * A class for reading lines of text. Provides the same functionality as {@link * java.io.BufferedReader#readLine()} but for all {@link Readable} objects, not just instances of * {@link Reader}. * * @author Chris Nokleberg * @since 1.0 */ @J2ktIncompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java
import com.google.common.collect.ImmutableSet; import com.google.common.collect.Range; import java.util.Random; import org.jspecify.annotations.NullUnmarked; /** Benchmarks some algorithms providing the same functionality as {@link Quantiles}. */ @NullUnmarked public class QuantilesBenchmark { private static final ContiguousSet<Integer> ALL_DECILE_INDEXES =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 3.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
assertThat(Callables.returning(null).call()).isNull(); Object value = new Object(); Callable<Object> callable = Callables.returning(value); assertThat(callable.call()).isEqualTo(value); // Expect the same value on subsequent calls assertThat(callable.call()).isEqualTo(value); } @J2ktIncompatible @GwtIncompatible public void testAsAsyncCallable() throws Exception { String expected = "MyCallableString";
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ComparisonChain.java
* .compare(this.anInt, that.anInt) * .compare(this.anEnum, that.anEnum, Ordering.natural().nullsLast()) * .result(); * } * } * * <p>The value of this expression will have the same sign as the <i>first nonzero</i> comparison * result in the chain, or will be zero if every comparison result was zero. * * <p><b>Note:</b> {@code ComparisonChain} instances are <b>immutable</b>. For this utility to work
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 10.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt
import okhttp3.internal.connection.ConnectionListener import okhttp3.internal.connection.RealConnectionPool /** * Manages reuse of HTTP and HTTP/2 connections for reduced network latency. HTTP requests that * share the same [Address] may share a [Connection]. This class implements the policy * of which connections to keep open for future use. * * @constructor Create a new connection pool with tuning parameters appropriate for a single-user
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 21:55:03 GMT 2025 - 3.4K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/HashingInputStream.java
throw new IOException("reset not supported"); } /** * Returns the {@link HashCode} based on the data read from this stream. The result is unspecified * if this method is called more than once on the same instance. */ public HashCode hash() { return hasher.hash(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2.9K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt
else -> actualBranch } /** * The build environment. * * WARNING: Every val in here must not change for they same daemon. If it does, changes will go undetected, * since this whole object is kept in the classloader between builds. * Anything that changes must be in a val with a get() method that recomputes the value each time.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 25 08:51:12 GMT 2026 - 4.9K bytes - Click Count (1) -
android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java
} } /** * Implementation of the InvertedMinMaxPriorityQueue which forwards all calls to a * MinMaxPriorityQueue, except poll, which is forwarded to pollMax. That way we can benchmark * pollMax using the same code that benchmarks poll. */ static final class InvertedMinMaxPriorityQueue<T> extends ForwardingQueue<T> { MinMaxPriorityQueue<T> mmHeap; public InvertedMinMaxPriorityQueue(Comparator<T> comparator) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.4K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/PrimitiveSink.java
* <p><b>Warning:</b> This method, which reencodes the input before processing it, is useful only * for cross-language compatibility. For other use cases, prefer {@link #putUnencodedChars}, which * is faster, produces the same output across Java releases, and processes every {@code char} in * the input, even if some are invalid. */ @CanIgnoreReturnValue PrimitiveSink putString(CharSequence charSequence, Charset charset);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.9K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java
} } /** * Implementation of the InvertedMinMaxPriorityQueue which forwards all calls to a * MinMaxPriorityQueue, except poll, which is forwarded to pollMax. That way we can benchmark * pollMax using the same code that benchmarks poll. */ static final class InvertedMinMaxPriorityQueue<T> extends ForwardingQueue<T> { MinMaxPriorityQueue<T> mmHeap; public InvertedMinMaxPriorityQueue(Comparator<T> comparator) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.4K bytes - Click Count (0)