- Sort Score
- Result 10 results
- Languages All
Results 621 - 630 of 2,076 for builds (0.2 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
val heldCertificate = HeldCertificate.Builder() .commonName("localhost") .addSubjectAlternativeName("localhost") .rsa2048() .build() return@lazy HandshakeCertificates.Builder() .heldCertificate(heldCertificate) .addTrustedCertificate(heldCertificate.certificate) .build() } init {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15.3K bytes - Viewed (1) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java
* * @return the message */ @Nonnull String build();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Nov 02 09:29:52 UTC 2024 - 7.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
ImmutableList<Method> getInstanceMethodsToTest(Class<?> c, Visibility minimalVisibility) { ImmutableList.Builder<Method> builder = ImmutableList.builder(); for (Method method : minimalVisibility.getInstanceMethods(c)) { if (!isIgnored(method)) { builder.add(method); } } return builder.build(); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 22.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt
* found, the existing values are replaced. */ internal fun Headers.Builder.commonSet( name: String, value: String, ) = apply { headersCheckName(name) headersCheckValue(value, name) removeAll(name) commonAddLenient(name, value) } /** Equivalent to `build().get(name)`, but potentially faster. */ internal fun Headers.Builder.commonGet(name: String): String? {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/guide/GetExample.java
import okhttp3.Response; public class GetExample { final OkHttpClient client = new OkHttpClient(); String run(String url) throws IOException { Request request = new Request.Builder() .url(url) .build(); try (Response response = client.newCall(request).execute()) { return response.body().string(); } } public static void main(String[] args) throws IOException {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 1.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
/** * Creates a new builder. The returned builder is equivalent to the builder generated by {@link * ImmutableSortedMap#orderedBy}. */ public Builder(Comparator<? super K> comparator) { this(comparator, ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY); } private Builder(Comparator<? super K> comparator, int initialCapacity) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 53K bytes - Viewed (0) -
src/bootstrap.bash
# and used as $GOROOT_BOOTSTRAP to bootstrap a local build. # # Only changes that have been committed to Git (at least locally, # not necessary reviewed and submitted to master) are included in the tree. # # See also golang.org/x/build/cmd/genbootstrap, which is used # to generate bootstrap tgz files for builders. set -e if [ "$GOOS" = "" -o "$GOARCH" = "" ]; then
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Jan 20 17:52:26 UTC 2023 - 2.3K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/OkHttpClientTest.java
@RunWith(AndroidJUnit4.class) public class OkHttpClientTest { @Test public void get() throws IOException { OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://google.com/robots.txt") .build(); try (Response response = client.newCall(request).execute()) { assertEquals(200, response.code()); assertEquals(Protocol.HTTP_2, response.protocol()); } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Nov 14 17:38:22 UTC 2020 - 1.4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt
import okhttp3.Request import okhttp3.Response class AsynchronousGet { private val client = OkHttpClient() fun run() { val request = Request.Builder() .url("http://publicobject.com/helloworld.txt") .build() client.newCall(request).enqueue( object : Callback { override fun onFailure( call: Call, e: IOException, ) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.6K bytes - Viewed (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts
dependsOn("signGradleDistributionPublication") } } } /** * Tasks that are called by the (currently separate) promotion build running on CI. */ tasks.register("promotionBuild") { description = "Build production distros, smoke test them and publish" group = "publishing" dependsOn(":packageBuild", ":publishBuildLogic", "publish")
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Sep 19 13:21:47 UTC 2024 - 5.9K bytes - Viewed (0)