- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 835 for simplest (0.06 seconds)
-
guava-testlib/src/com/google/common/collect/testing/TestCharacterListGenerator.java
* @author Louis Wasserman */ @GwtCompatible @NullMarked public abstract class TestCharacterListGenerator implements TestListGenerator<Character> { @Override public SampleElements<Character> samples() { return new Chars(); } @Override public List<Character> create(Object... elements) { Character[] array = new Character[elements.length]; int i = 0; for (Object e : elements) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 1.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/DerivedComparable.java
package com.google.common.collect.testing; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; /** * Simple derived class to verify that we handle generics correctly. * * @author Kevin Bourrillion */ @GwtCompatible public class DerivedComparable extends BaseComparable { public DerivedComparable(String s) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 1.1K bytes - Click Count (0) -
guava/src/com/google/common/cache/RemovalListener.java
* already been re-added. */ // Technically should accept RemovalNotification<? extends K, ? extends V>, but because // RemovalNotification is guaranteed covariant, let's make users' lives simpler. void onRemoval(RemovalNotification<K, V> notification);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2K bytes - Click Count (0) -
android/guava/src/com/google/common/base/FinalizableSoftReference.java
import org.jspecify.annotations.Nullable; /** * Soft reference with a {@code finalizeReferent()} method which a background thread invokes after * the garbage collector reclaims the referent. This is a simpler alternative to using a {@link * ReferenceQueue}. * * @author Bob Lee * @since 2.0 */ @J2ktIncompatible @GwtIncompatible public abstract class FinalizableSoftReference<T> extends SoftReference<T>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.5K bytes - Click Count (0) -
guava/src/com/google/common/base/FinalizableSoftReference.java
import org.jspecify.annotations.Nullable; /** * Soft reference with a {@code finalizeReferent()} method which a background thread invokes after * the garbage collector reclaims the referent. This is a simpler alternative to using a {@link * ReferenceQueue}. * * @author Bob Lee * @since 2.0 */ @J2ktIncompatible @GwtIncompatible public abstract class FinalizableSoftReference<T> extends SoftReference<T>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.5K bytes - Click Count (0) -
src/main/java/jcifs/util/SimpleCircuitBreaker.java
private final long timeoutMillis; /** * Creates a simple circuit breaker with default settings * * @param name the circuit breaker name */ public SimpleCircuitBreaker(String name) { this(name, 5, 3, 30000L); // 5 failures, 3 successes, 30 second timeout } /** * Creates a simple circuit breaker * * @param name the circuit breaker nameCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.3K bytes - Click Count (0) -
docs/pt/docs/tutorial/bigger-applications.md
Vemos que precisaremos de algumas dependências usadas em vários lugares da aplicação. Então, as colocamos em seu próprio módulo de `dependencies` (`app/dependencies.py`). Agora usaremos uma dependência simples para ler um cabeçalho `X-Token` personalizado: {* ../../docs_src/bigger_applications/app_an_py310/dependencies.py hl[3,6:8] title["app/dependencies.py"] *} /// tip | DicaCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 20.3K bytes - Click Count (0) -
docs/features/events.md
 Here’s a [sample event listener](https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java) that prints each event with a timestamp. ```java class PrintingEventListener extends EventListener { private long callStartNanos;Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 7.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
// Base body part size (up to and including CreateContextsLength) byte[] base = buildCreateBodyNoContexts((byte) 1, (byte) 2, 3, 1000L, 2000L, 3000L, 4000L, 512L, 1024L, 0x20, fileId); // Create a simple context entry byte[] ctx = new byte[0x40]; int ci = 0; SMBUtil.writeInt4(0, ctx, ci); // Next = 0 (only one) ci += 4; SMBUtil.writeInt2(0x10, ctx, ci); // NameOffset
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java
suite.addTest( MapTestSuiteBuilder.using( new TestMapGenerator<Range<Integer>, String>() { @Override public SampleElements<Entry<Range<Integer>, String>> samples() { return new SampleElements<>( mapEntry(Range.singleton(0), "banana"), mapEntry(Range.closedOpen(3, 5), "frisbee"),
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 30.1K bytes - Click Count (0)