- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 1,940 for buildA (0.07 sec)
-
okhttp/src/test/java/okhttp3/OpenJSSETest.kt
- val heldCertificate =
- HeldCertificate.Builder()
- .commonName("localhost")
- .addSubjectAlternativeName("localhost")
- .build()
- val handshakeCertificates =
- HandshakeCertificates.Builder()
- .heldCertificate(heldCertificate)
- .addTrustedCertificate(heldCertificate.certificate)
- .build()
- client =
- 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) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
- val onlyIfCached =
- CacheControl.Builder()
- .onlyIfCached()
- .build()
- var cacheUrl = request.url
- val cacheRequest =
- request.newBuilder()
- .cacheControl(onlyIfCached)
- .cacheUrlOverride(cacheUrl)
- .build()
- 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) -
guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java
- ValueGraph<String, Integer> graph2 = ImmutableValueGraph.copyOf(graph1);
- assertThat(graph2).isSameInstanceAs(graph1);
- }
- @Test
- public void incidentEdgeOrder_stable() {
- ImmutableValueGraph<String, Integer> immutableValueGraph =
- 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) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
- }
- private static void testConcurrentLoading(CacheBuilder<Object, Object> builder)
- throws InterruptedException {
- testConcurrentLoadingDefault(builder);
- testConcurrentLoadingNull(builder);
- testConcurrentLoadingUncheckedException(builder);
- testConcurrentLoadingCheckedException(builder);
- }
- @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) -
okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt
- val COMPATIBLE_TLS =
- Builder(true)
- .cipherSuites(*APPROVED_CIPHER_SUITES.toTypedArray())
- .tlsVersions(TlsVersion.TLS_1_3, TlsVersion.TLS_1_2, TlsVersion.TLS_1_1, TlsVersion.TLS_1_0)
- .supportsTlsExtensions(true)
- .build()
- /** Unencrypted, unauthenticated connections for `http:` URLs. */
- @JvmField
- val CLEARTEXT = Builder(false).build()
- }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 13.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CipherSuiteTest.kt
- socket.enabledCipherSuites = arrayOf("SSL_A", "SSL_B", "SSL_C")
- val connectionSpec =
- ConnectionSpec.Builder(true)
- .tlsVersions(TlsVersion.TLS_1_0)
- .cipherSuites("TLS_A", "TLS_C", "TLS_E")
- .build()
- applyConnectionSpec(connectionSpec, socket, false)
- assertArrayEquals(arrayOf("TLS_A", "TLS_C"), socket.enabledCipherSuites)
- }
- @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) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultPluginManagementInjector.java
- public Model mergeManagedBuildPlugins(Model model) {
- Build build = model.getBuild();
- if (build != null) {
- PluginManagement pluginManagement = build.getPluginManagement();
- if (pluginManagement != null) {
- return model.withBuild(mergePluginContainerPlugins(build, pluginManagement));
- }
- }
- return model;
- }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java
- @Nonnull
- static ModelBuilderRequest build(@Nonnull ModelBuilderRequest request, @Nonnull ModelSource source) {
- return builder(nonNull(request, "request cannot be null"))
- .source(nonNull(source, "source cannot be null"))
- .build();
- }
- @Nonnull
- static ModelBuilderRequest build(@Nonnull Session session, @Nonnull ModelSource source) {
- 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) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java
- try {
- ToolchainsBuilderResult result = builder.build(ToolchainsBuilderRequest.builder()
- .session((Session) java.lang.reflect.Proxy.newProxyInstance(
- Session.class.getClassLoader(),
- 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) -
android-test/src/androidTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt
- )
- }
- val client = clientBuilder.build()
- val request =
- Request.Builder()
- .url("https://valid-isrgrootx1.letsencrypt.org/robots.txt")
- .build()
- client.newCall(request).execute().use { response ->
- assertThat(response.code).isEqualTo(404)
- assertThat(response.protocol).isEqualTo(Protocol.HTTP_2)
- }
- }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.4K bytes - Viewed (0)