- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 1,103 for builder (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android-test/src/androidDeviceTest/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) } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 26 07:38:51 GMT 2026 - 4.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/InternersTest.java
public void testConcurrencyLevel_zero() { Interners.InternerBuilder builder = Interners.newBuilder(); assertThrows(IllegalArgumentException.class, () -> builder.concurrencyLevel(0)); } public void testConcurrencyLevel_negative() { Interners.InternerBuilder builder = Interners.newBuilder(); assertThrows(IllegalArgumentException.class, () -> builder.concurrencyLevel(-42)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 4.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java
@Override protected List<String> create(String[] elements) { ImmutableList.Builder<String> builder = ImmutableList.builder(); for (String element : elements) { builder.add(element); } return builder.build(); } } public static class BuilderAddAllListGenerator extends TestStringListGenerator { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 4.9K bytes - Click Count (0) -
compat/maven-settings/src/site/apt/index.apt
delegating content to {{{../../api/maven-api-settings/index.html}Maven 4 API immutable settings}}. All the effective model building logic from multiple settings files is done in {{{../maven-settings-builder/}Maven Settings Builder}}. The following are generated from this model: * {{{./apidocs/index.html}Java sources}} with Reader and Writers for the Xpp3 XML parser, <<<ToAPiV3()>>> and <<<ToApiV4()>>> transformers, and <<<v4>>> packageCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Nov 16 18:16:44 GMT 2025 - 2.1K bytes - Click Count (0) -
android-test/src/androidDeviceTest/java/okhttp/android/test/StrictModeTest.kt
@SdkSuppress(minSdkVersion = 28) class StrictModeTest { private val violations = mutableListOf<Violation>() @AfterEach fun cleanup() { StrictMode.setThreadPolicy( ThreadPolicy .Builder() .permitAll() .build(), ) } @Test fun testInit() { Platform.resetForTests() applyStrictMode() // Not currently safe // See https://github.com/square/okhttp/pull/8248Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 26 07:38:51 GMT 2026 - 2.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/PluginHelperTest.java
try { javax.xml.parsers.DocumentBuilderFactory factory = javax.xml.parsers.DocumentBuilderFactory.newInstance(); javax.xml.parsers.DocumentBuilder builder = factory.newDocumentBuilder(); String result = testHelper.getSnapshotActualVersion(builder, "test-url/", "1.0.0-SNAPSHOT"); assertEquals("20180814.210714-10", result); } catch (Exception e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 22.6K bytes - Click Count (0) -
compat/maven-toolchain-model/src/site/apt/index.apt
delegating content to {{{../../api/maven-api-toolchain/index.html}Maven 4 API immutable toolchain}}. All the effective model building logic from multiple toolchains files is done in {{{../maven-toolchain-builder/}Maven Toolchain Builder}}. The following are generated from this model: * {{{./apidocs/index.html}Java sources}} with Reader and Writers for the Xpp3 XML parser, <<<ToAPiV3()>>> and <<<ToApiV4()>>> transformers, and <<<v4>>> packageCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Nov 16 18:16:44 GMT 2025 - 1.6K bytes - Click Count (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/GenerateIdnaMappingTableCode.kt
val packageName = "okhttp3.internal.idn" val idnaMappingTable = ClassName(packageName, "IdnaMappingTable") return FileSpec .builder(packageName, "IdnaMappingTableInstance") .addProperty( PropertySpec .builder("IDNA_MAPPING_TABLE", idnaMappingTable) .addModifiers(KModifier.INTERNAL) .initializer( """ |%T(⇥ |sections = "%L",
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.8K bytes - Click Count (1) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingResult.java
* under the License. */ package org.apache.maven.settings.building; import java.util.List; import org.apache.maven.settings.Settings; /** * Collects the output of the settings builder. * * @deprecated since 4.0.0, use {@link org.apache.maven.api.services.SettingsBuilder} instead */ @Deprecated(since = "4.0.0") public interface SettingsBuildingResult { /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.8K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/Authenticate.kt
.newBuilder() .header("Authorization", credential) .build() } }, ).build() fun run() { val request = Request .Builder() .url("http://publicobject.com/secrets/hellosecret.txt") .build() client.newCall(request).execute().use { response ->
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2K bytes - Click Count (0)