Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,781 for buildup (0.06 sec)

  1. okhttp-dnsoverhttps/README.md

      val bootstrapClient = OkHttpClient.Builder().cache(appCache).build()
    
      val dns = DnsOverHttps.Builder().client(bootstrapClient)
        .url("https://dns.google/dns-query".toHttpUrl())
        .bootstrapDnsHosts(InetAddress.getByName("8.8.4.4"), InetAddress.getByName("8.8.8.8"))
        .build()
    
      val client = bootstrapClient.newBuilder().dns(dns).build()
    ```
    
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 740 bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/CertificatePinning.kt

      private val client =
        OkHttpClient.Builder()
          .certificatePinner(
            CertificatePinner.Builder()
              .add("publicobject.com", "sha256/Vjs8r4z+80wjNcr1YKepWQboSIRi63WsWXhIMN+eWys=")
              .build(),
          )
          .build()
    
      fun run() {
        val request =
          Request.Builder()
            .url("https://publicobject.com/robots.txt")
            .build()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      public void testBuilder_presize_zero() {
        ImmutableDoubleArray.Builder builder = ImmutableDoubleArray.builder(0);
        builder.add(5.0);
        ImmutableDoubleArray array = builder.build();
        assertThat(array.asList()).containsExactly(5.0);
      }
    
      public void testBuilder_presize_negative() {
        assertThrows(IllegalArgumentException.class, () -> ImmutableDoubleArray.builder(-1));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  4. docs/bucket/versioning/README.md

          //         .build();
    
          // Create bucket 'my-bucketname' if it doesn`t exist.
          if (!minioClient.bucketExists(BucketExistsArgs.builder().bucket("my-bucketname").build())) {
            minioClient.makeBucket(MakeBucketArgs.builder().bucket("my-bucketname").build());
            System.out.println("my-bucketname is created successfully");
          }
    
          boolean isVersioningEnabled =
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 04 21:43:52 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverRequest.java

        static VersionResolverRequest build(@Nonnull Session session, @Nonnull ArtifactCoordinates artifactCoordinates) {
            return builder()
                    .session(nonNull(session, "session cannot be null"))
                    .artifactCoordinates(nonNull(artifactCoordinates, "artifactCoordinates cannot be null"))
                    .build();
        }
    
        @Nonnull
        static VersionResolverRequest build(
                @Nonnull Session session,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java

                    .userToolchainsSource(userToolchainsSource)
                    .build();
        }
    
        @Nonnull
        static ToolchainsBuilderRequest build(
                @Nonnull Session session, @Nullable Path installationToolchainsFile, @Nullable Path userToolchainsPath) {
            return builder()
                    .session(nonNull(session, "session cannot be null"))
                    .installationToolchainsSource(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 22 14:47:43 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CookieTest.kt

            .secure()
            .build()
        assertThat(cookie.secure).isTrue()
      }
    
      @Test fun builderHttpOnly() {
        val cookie =
          Cookie.Builder()
            .name("a")
            .value("b")
            .hostOnlyDomain("example.com")
            .httpOnly()
            .build()
        assertThat(cookie.httpOnly).isTrue()
      }
    
      @Test fun builderIpv6() {
        val cookie =
          Cookie.Builder()
            .name("a")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

       *
       * <p><b>Performance note:</b> The {@link ImmutableIntArray} that is built will very likely occupy
       * more memory than necessary; to trim memory usage, build using {@code
       * builder.build().trimmed()}.
       */
      public static Builder builder() {
        return new Builder(10);
      }
    
      /**
       * A builder for {@link ImmutableIntArray} instances; obtained using {@link
       * ImmutableIntArray#builder}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

            return build(session, Source.fromPath(installationSettingsPath), null, Source.fromPath(userSettingsPath));
        }
    
        @Nonnull
        static SettingsBuilderRequest build(
                @Nonnull Session session,
                @Nullable Source installationSettingsSource,
                @Nullable Source projectSettingsSource,
                @Nullable Source userSettingsSource) {
            return builder()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 17 09:25:53 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt

                  println("Negotiated " + sslSocket.applicationProtocol)
                }
              },
            )
            .build()
    
        val request =
          Request.Builder()
            .url("https://www.google.com")
            .build()
        client.newCall(request).execute().use { response ->
          assertThat(response.code).isEqualTo(200)
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top