- Sort Score
- Num 10 results
- Language All
Results 5611 - 5620 of 8,997 for Class3 (0.11 seconds)
-
samples/guide/src/main/java/okhttp3/recipes/Authenticate.java
*/ package okhttp3.recipes; import java.io.IOException; import okhttp3.Credentials; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; public final class Authenticate { private final OkHttpClient client; public Authenticate() { client = new OkHttpClient.Builder() .authenticator((route, response) -> {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Aug 12 07:26:27 GMT 2021 - 1.9K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/HttpsServer.java
import okhttp3.mockwebserver.MockWebServer; import okhttp3.tls.HandshakeCertificates; import okhttp3.tls.HeldCertificate; /** * Create an HTTPS server with a self-signed certificate that OkHttp trusts. */ public class HttpsServer { public void run() throws Exception { HeldCertificate localhostCertificate = new HeldCertificate.Builder() .addSubjectAlternativeName("localhost") .build();Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 02 14:04:37 GMT 2023 - 2.1K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6ListTests.java
/** * Tests the {@link List} implementations of {@link java.util}, suppressing tests that trip known * OpenJDK 6 bugs. * * @author Kevin Bourrillion */ @AndroidIncompatible // test-suite builders public class OpenJdk6ListTests extends TestsForListsInJavaUtil { public static Test suite() { return new OpenJdk6ListTests().allTests(); } @Override protected Collection<Method> suppressForArraysAsList() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 25 16:19:30 GMT 2025 - 2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapIsEmptyTester.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 MapIsEmptyTester<K, V> extends AbstractMapTester<K, V> { @CollectionSize.Require(ZERO) public void testIsEmpty_yes() { assertTrue("isEmpty() should return true", getMap().isEmpty()); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestStringListGenerator.java
import java.util.List; import org.jspecify.annotations.NullMarked; /** * TODO: javadoc. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked public abstract class TestStringListGenerator implements TestListGenerator<String> { @Override public SampleElements<String> samples() { return new Strings(); } @Override public List<String> create(Object... elements) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 1.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapReplaceValuesTester.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 ListMultimapReplaceValuesTester<K, V> extends AbstractListMultimapTester<K, V> { @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE}) public void testReplaceValuesPreservesOrder() { List<V> values = asList(v3(), v1(), v4());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.8K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/collect/HashMultisetAddPresentBenchmark.java
import java.util.Random; import org.jspecify.annotations.NullUnmarked; /** * Benchmark for HashMultiset.add for an already-present element. * * @author Louis Wasserman */ @NullUnmarked public class HashMultisetAddPresentBenchmark { private static final int ARRAY_MASK = 0x0ffff; private static final int ARRAY_SIZE = 0x10000; List<Multiset<Integer>> multisets = new ArrayList<>(0x10000);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.7K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.java
/** * Tests the {@link Set} implementations of {@link java.util}, suppressing tests that trip known * OpenJDK 6 bugs. * * @author Kevin Bourrillion */ @AndroidIncompatible // test-suite builders public class OpenJdk6SetTests extends TestsForSetsInJavaUtil { public static Test suite() { return new OpenJdk6SetTests().allTests(); } @Override protected Collection<Method> suppressForTreeSetNatural() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 25 16:19:30 GMT 2025 - 2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetMultimapReplaceValuesTester.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 SetMultimapReplaceValuesTester<K, V> extends AbstractMultimapTester<K, V, SetMultimap<K, V>> { @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE}) public void testReplaceValuesHandlesDuplicates() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/TestStringMultisetGenerator.java
import java.util.List; import org.jspecify.annotations.NullMarked; /** * Create multisets of strings for tests. * * @author Jared Levy */ @GwtCompatible @NullMarked public abstract class TestStringMultisetGenerator implements TestMultisetGenerator<String> { @Override public SampleElements<String> samples() { return new Strings(); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 1.7K bytes - Click Count (0)