Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 1,002 for Builder (0.27 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android-test/src/androidDeviceTest/java/okhttp/android/test/StrictModeTest.kt

    @Isolated
    @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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 26 07:38:51 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  2. 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)
  3. 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>>> package
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Nov 16 18:16:44 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

                @Nonnull ProtoSession session,
                @Nullable Source installationSettingsSource,
                @Nullable Source projectSettingsSource,
                @Nullable Source userSettingsSource) {
            return builder()
                    .session(requireNonNull(session, "session cannot be null"))
                    .installationSettingsSource(installationSettingsSource)
                    .projectSettingsSource(projectSettingsSource)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/graph/StandardMutableValueGraph.java

      private final ElementOrder<N> incidentEdgeOrder;
    
      /** Constructs a mutable graph with the properties specified in {@code builder}. */
      StandardMutableValueGraph(AbstractGraphBuilder<? super N> builder) {
        super(builder);
        incidentEdgeOrder = builder.incidentEdgeOrder.cast();
      }
    
      @Override
      public ElementOrder<N> incidentEdgeOrder() {
        return incidentEdgeOrder;
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.3K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/OpenJSSETest.kt

        // can't use TlsUtil.localhost with a non OpenJSSE trust manager
        val heldCertificate =
          HeldCertificate
            .Builder()
            .commonName("localhost")
            .addSubjectAlternativeName("localhost")
            .build()
        val handshakeCertificates =
          HandshakeCertificates
            .Builder()
            .heldCertificate(heldCertificate)
            .addTrustedCertificate(heldCertificate.certificate)
            .build()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

      }
    
      @Test
      fun interruptWritingRequestBody() {
        server.enqueue(MockResponse())
        server.start()
        val call =
          client.newCall(
            Request
              .Builder()
              .url(server.url("/"))
              .post(
                object : RequestBody() {
                  override fun contentType() = null
    
                  override fun writeTo(sink: BufferedSink) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 18:33:48 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. 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)
Back to Top