- Sort Score
- Num 10 results
- Language All
Results 5401 - 5410 of 8,997 for Class3 (0.04 seconds)
-
samples/guide/src/main/java/okhttp3/recipes/kt/PerCallSettings.kt
* limitations under the License. */ package okhttp3.recipes.kt import java.io.IOException import java.util.concurrent.TimeUnit import okhttp3.OkHttpClient import okhttp3.Request class PerCallSettings { private val client = OkHttpClient() fun run() { val request = Request .Builder() .url("http://httpbin.org/delay/1") // This URL is served with a 1 second delay.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.7K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostPath.kt
import okhttp3.OkHttpClient import okhttp3.Request import okhttp3.RequestBody.Companion.asRequestBody import okio.Path.Companion.toPath import okio.buffer import okio.fakefilesystem.FakeFileSystem class PostPath { private val client = OkHttpClient() private val fileSystem = FakeFileSystem() val path = "test.json".toPath() fun run() { fileSystem.write(path) { writeUtf8("{}") }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSortedSetGenerator.java
/** * Create integer sets for testing collections that are sorted by natural ordering. * * @author Chris Povirk * @author Jared Levy */ @GwtCompatible @NullMarked public abstract class TestIntegerSortedSetGenerator extends TestIntegerSetGenerator { @Override protected abstract SortedSet<Integer> create(Integer[] elements); /** Sorts the elements by their natural ordering. */ /*Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 11 19:03:19 GMT 2025 - 1.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureLeakTest.java
import java.lang.ref.WeakReference; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** Tests for {@link ClosingFuture} leaks. */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class ClosingFutureLeakTest extends TestCase { public void testLeak() { TestCloseable closeable = new TestCloseable("closeable"); awaitClear(leakClosingFuture(closeable)); assertThat(closeable.awaitClosed()).isTrue();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 1.8K bytes - Click Count (0) -
android/guava/src/com/google/common/base/FinalizablePhantomReference.java
* {@link ReferenceQueue}. * * <p>Unlike a normal phantom reference, this reference will be cleared automatically. * * @author Bob Lee * @since 2.0 */ @J2ktIncompatible @GwtIncompatible public abstract class FinalizablePhantomReference<T> extends PhantomReference<T> implements FinalizableReference { /** * Constructs a new finalizable phantom reference. * * @param referent to phantom referenceCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingCondition.java
import java.util.concurrent.locks.Condition; /** Forwarding wrapper around a {@code Condition}. */ @SuppressWarnings("WaitNotInLoop") // We are just delegating; _our user_ must loop. @J2ktIncompatible @GwtIncompatible abstract class ForwardingCondition implements Condition { abstract Condition delegate(); @Override public void await() throws InterruptedException { delegate().await(); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 24 18:55:30 GMT 2025 - 1.8K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/hash/MessageDigestCreationBenchmark.java
import org.jspecify.annotations.NullUnmarked; /** * Benchmarks for comparing instance creation of {@link MessageDigest}s. * * @author Kurt Alfred Kluever */ @NullUnmarked public class MessageDigestCreationBenchmark { @Param({"MD5", "SHA-1", "SHA-256", "SHA-384", "SHA-512"}) private String algorithm; private MessageDigest md; @BeforeExperiment void setUp() throws Exception {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/AbstractSetTester.java
@Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class AbstractSetTester<E> extends AbstractCollectionTester<E> { /* * Previously we had a field named set that was initialized to the value of * collection in setUp(), but that caused problems when a tester changed theCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ClosingFutureLeakTest.java
import java.lang.ref.WeakReference; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** Tests for {@link ClosingFuture} leaks. */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class ClosingFutureLeakTest extends TestCase { public void testLeak() { TestCloseable closeable = new TestCloseable("closeable"); awaitClear(leakClosingFuture(closeable)); assertThat(closeable.awaitClosed()).isTrue();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 1.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/exception/ConverterRuntimeException.java
import static org.codelibs.core.collection.ArrayUtil.asArray; import org.codelibs.core.beans.Converter; /** * Exception thrown when an error occurs in a {@link Converter}. * * @author higa */ public class ConverterRuntimeException extends ClRuntimeException { private static final long serialVersionUID = 1L; /** * The name of the property. */ private final String propertyName; /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 1.9K bytes - Click Count (0)