Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 1,940 for buildA (0.07 sec)

  1. okhttp/src/test/java/okhttp3/OpenJSSETest.kt

    1. val heldCertificate =
    2. HeldCertificate.Builder()
    3. .commonName("localhost")
    4. .addSubjectAlternativeName("localhost")
    5. .build()
    6. val handshakeCertificates =
    7. HandshakeCertificates.Builder()
    8. .heldCertificate(heldCertificate)
    9. .addTrustedCertificate(heldCertificate.certificate)
    10. .build()
    11.  
    12. client =
    13. client.newBuilder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

    1. val onlyIfCached =
    2. CacheControl.Builder()
    3. .onlyIfCached()
    4. .build()
    5.  
    6. var cacheUrl = request.url
    7.  
    8. val cacheRequest =
    9. request.newBuilder()
    10. .cacheControl(onlyIfCached)
    11. .cacheUrlOverride(cacheUrl)
    12. .build()
    13.  
    14. val cacheResponse = client.newCall(cacheRequest).execute()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Oct 31 09:27:31 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

    1. ValueGraph<String, Integer> graph2 = ImmutableValueGraph.copyOf(graph1);
    2.  
    3. assertThat(graph2).isSameInstanceAs(graph1);
    4. }
    5.  
    6. @Test
    7. public void incidentEdgeOrder_stable() {
    8. ImmutableValueGraph<String, Integer> immutableValueGraph =
    9. ImmutableValueGraph.copyOf(ValueGraphBuilder.directed().<String, Integer>build());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 6.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

    1. }
    2.  
    3. private static void testConcurrentLoading(CacheBuilder<Object, Object> builder)
    4. throws InterruptedException {
    5. testConcurrentLoadingDefault(builder);
    6. testConcurrentLoadingNull(builder);
    7. testConcurrentLoadingUncheckedException(builder);
    8. testConcurrentLoadingCheckedException(builder);
    9. }
    10.  
    11. @AndroidIncompatible // Bug? expected:<1> but was:<2>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt

    1. val COMPATIBLE_TLS =
    2. Builder(true)
    3. .cipherSuites(*APPROVED_CIPHER_SUITES.toTypedArray())
    4. .tlsVersions(TlsVersion.TLS_1_3, TlsVersion.TLS_1_2, TlsVersion.TLS_1_1, TlsVersion.TLS_1_0)
    5. .supportsTlsExtensions(true)
    6. .build()
    7.  
    8. /** Unencrypted, unauthenticated connections for `http:` URLs. */
    9. @JvmField
    10. val CLEARTEXT = Builder(false).build()
    11. }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CipherSuiteTest.kt

    1. socket.enabledCipherSuites = arrayOf("SSL_A", "SSL_B", "SSL_C")
    2. val connectionSpec =
    3. ConnectionSpec.Builder(true)
    4. .tlsVersions(TlsVersion.TLS_1_0)
    5. .cipherSuites("TLS_A", "TLS_C", "TLS_E")
    6. .build()
    7. applyConnectionSpec(connectionSpec, socket, false)
    8. assertArrayEquals(arrayOf("TLS_A", "TLS_C"), socket.enabledCipherSuites)
    9. }
    10.  
    11. @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultPluginManagementInjector.java

    1. public Model mergeManagedBuildPlugins(Model model) {
    2. Build build = model.getBuild();
    3. if (build != null) {
    4. PluginManagement pluginManagement = build.getPluginManagement();
    5. if (pluginManagement != null) {
    6. return model.withBuild(mergePluginContainerPlugins(build, pluginManagement));
    7. }
    8. }
    9. return model;
    10. }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

    1. @Nonnull
    2. static ModelBuilderRequest build(@Nonnull ModelBuilderRequest request, @Nonnull ModelSource source) {
    3. return builder(nonNull(request, "request cannot be null"))
    4. .source(nonNull(source, "source cannot be null"))
    5. .build();
    6. }
    7.  
    8. @Nonnull
    9. static ModelBuilderRequest build(@Nonnull Session session, @Nonnull ModelSource source) {
    10. return builder()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

    1. try {
    2. ToolchainsBuilderResult result = builder.build(ToolchainsBuilderRequest.builder()
    3. .session((Session) java.lang.reflect.Proxy.newProxyInstance(
    4. Session.class.getClassLoader(),
    5. new Class[] {Session.class},
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. android-test/src/androidTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt

    1. )
    2. }
    3.  
    4. val client = clientBuilder.build()
    5.  
    6. val request =
    7. Request.Builder()
    8. .url("https://valid-isrgrootx1.letsencrypt.org/robots.txt")
    9. .build()
    10. client.newCall(request).execute().use { response ->
    11. assertThat(response.code).isEqualTo(404)
    12. assertThat(response.protocol).isEqualTo(Protocol.HTTP_2)
    13. }
    14. }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top