- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 1,579 for build (0.04 sec)
-
android-test/src/androidTest/java/okhttp/android/test/StrictModeTest.kt
class StrictModeTest { private val violations = mutableListOf<Violation>() @After fun cleanup() { StrictMode.setThreadPolicy( ThreadPolicy .Builder() .permitAll() .build(), ) } @Test fun testInit() { Platform.resetForTests() applyStrictMode() // Not currently safe // See https://github.com/square/okhttp/pull/8248 OkHttpClient()Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu May 22 14:39:30 UTC 2025 - 2.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java
private final OkHttpClient client = new OkHttpClient.Builder() .addInterceptor(new LoggingInterceptor()) .build(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); Response response = client.newCall(request).execute(); response.body().close(); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jan 01 15:55:32 UTC 2016 - 2K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt
.client(bootstrapClient) .url(url) .post(true) .build(), ) runBatch(badProviders, names) println("cached first run\n****************\n") names = listOf("google.com", "graph.facebook.com") bootstrapClient = bootstrapClient .newBuilder() .cache(dnsCache) .build() dnsProviders = providers( client = bootstrapClient,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java
for (int rep = 0; rep < reps; rep++) { ImmutableList.Builder<Object> builder = ImmutableList.builder(); for (int i = 0; i < size; i++) { builder.add(OBJECT); } dummy += builder.build().size(); } return dummy; } @Benchmark int preSizedBuilderAdd(int reps) { int size = this.size; int dummy = 0; for (int rep = 0; rep < reps; rep++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.4K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerException.java
import org.apache.maven.api.services.MavenException; /** * Represents an exception that occurs during the invocation of a Maven build or command. * This exception is typically thrown when there are errors during the execution of a Maven * process, such as build failures, plugin errors, or other runtime issues. * * @since 4.0.0 */ @Experimental public class InvokerException extends MavenException { /**Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Nov 13 14:14:56 UTC 2024 - 2.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableRangeMap.java
for (Entry<Range<K>, ? extends V> entry : map.entrySet()) { rangesBuilder.add(entry.getKey()); valuesBuilder.add(entry.getValue()); } return new ImmutableRangeMap<>(rangesBuilder.build(), valuesBuilder.build()); } /** Returns a new builder for an immutable range map. */ public static <K extends Comparable<?>, V> Builder<K, V> builder() { return new Builder<>(); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 14.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/NetworkBuilder.java
* user-defined properties. * * <p>A {@code Network} built by this class has the following default properties: * * <ul> * <li>does not allow parallel edges * <li>does not allow self-loops * <li>orders {@link Network#nodes()} and {@link Network#edges()} in the order in which the * elements were added (insertion order) * </ul> * * <p>{@code Network}s built by this class also guarantee that each collection-returning accessorRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.4K bytes - Viewed (0) -
guava/src/com/google/common/graph/ValueGraphBuilder.java
* with user-defined properties. * * <p>A {@code ValueGraph} built by this class has the following default properties: * * <ul> * <li>does not allow self-loops * <li>orders {@link ValueGraph#nodes()} in the order in which the elements were added (insertion * order) * </ul> * * <p>{@code ValueGraph}s built by this class also guarantee that each collection-returning accessorRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.9K bytes - Viewed (0) -
guava-bom/pom.xml
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Aug 26 00:48:38 UTC 2025 - 2.1K bytes - Viewed (0) -
docs/changelogs/upgrading_to_okhttp_4.md
.dns { hostname -> InetAddress.getAllByName(hostname).toList() } .build() ``` Kotlin calling OkHttp 4.x: ```kotlin val client = OkHttpClient.Builder() .dns(object : Dns { override fun lookup(hostname: String) = InetAddress.getAllByName(hostname).toList() }) .build() ``` SAM conversion impacts these APIs: * AuthenticatorRegistered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 16:58:16 UTC 2022 - 10.9K bytes - Viewed (0)