- Sort Score
- Num 10 results
- Language All
Results 941 - 950 of 1,247 for Builder (0.25 seconds)
-
samples/guide/src/main/java/okhttp3/recipes/PerCallSettings.java
import okhttp3.Request; import okhttp3.Response; public final class PerCallSettings { private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { Request request = new Request.Builder() .url("http://httpbin.org/delay/1") // This URL is served with a 1 second delay. .build(); // Copy to customize OkHttp for this request. OkHttpClient client1 = client.newBuilder()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun May 22 01:29:42 GMT 2016 - 1.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
} private static ImmutableSet<TypeToken<?>> arrayInterfaces() { ImmutableSet.Builder<TypeToken<?>> builder = ImmutableSet.builder(); for (Class<?> interfaceType : Object[].class.getInterfaces()) { builder.add(TypeToken.of(interfaceType)); } return builder.build(); } private static void assertIsPrimitive(TypeToken<?> type) { assertTrue(type.isPrimitive());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 89.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/Sets.java
int maxSize = maxSize(); if (maxSize == 0) { return ImmutableSet.of(); } ImmutableSet.Builder<@NonNull E> builder = ImmutableSet.builderWithExpectedSize(maxSize); for (E element : this) { builder.add(checkNotNull(element)); } return builder.build(); } /** * Copies the current contents of this set view into an existing set. This method has equivalent
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 83K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Decrypt.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 17 09:50:45 GMT 2024 - 2.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ReactorBuildStatus.java
import java.util.Collection; import java.util.Collections; import java.util.HashSet; import org.apache.maven.execution.ProjectDependencyGraph; import org.apache.maven.lifecycle.internal.builder.BuilderCommon; import org.apache.maven.project.MavenProject; /** * Contains status information that is global to an entire reactor build. * * @since 3.0 */ public class ReactorBuildStatus {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/Streams.java
boolean isParallel = false; int characteristics = Spliterator.ORDERED | Spliterator.SIZED | Spliterator.NONNULL; long estimatedSize = 0L; ImmutableList.Builder<Spliterator<? extends T>> splitrsBuilder = new ImmutableList.Builder<>(streams.length); for (Stream<? extends T> stream : streams) { isParallel |= stream.isParallel(); Spliterator<? extends T> splitr = stream.spliterator();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 36.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/BouncyCastleTest.kt
@BeforeEach fun setUp() { OkHttpDebugLogging.enable("org.bouncycastle.jsse") platform.assumeBouncyCastle() } @Test fun testMozilla() { assumeNetwork() val request = Request.Builder().url("https://mozilla.org/robots.txt").build() client.newCall(request).execute().use { assertThat(it.protocol).isEqualTo(Protocol.HTTP_2) assertThat(it.handshake!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 1.6K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/SynchronousGet.java
import okhttp3.Request; import okhttp3.Response; public final class SynchronousGet { private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); try (Response response = client.newCall(request).execute()) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun May 22 01:29:42 GMT 2016 - 1.5K bytes - Click Count (0) -
regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java
sendRequest(client, "https://google.com/robots.txt"); } private void sendRequest(OkHttpClient client, String url) throws IOException { Request request = new Request.Builder() .url(url) .build(); try (Response response = client.newCall(request).execute()) { assertTrue(response.code() == 200 || response.code() == 404);Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 26 06:37:08 GMT 2021 - 1.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectIndex.java
* under the License. */ package org.apache.maven.lifecycle.internal; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.maven.lifecycle.internal.builder.BuilderCommon; import org.apache.maven.project.MavenProject; /** * <p> * Provides the positional index of the project * </p>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2K bytes - Click Count (0)