Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 941 for builder_ (0.16 sec)

  1. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

        context.cacheDir.resolve("httpEngine").also {
          it.mkdirs()
        }
      val engine =
        HttpEngine.Builder(context)
          .setEnableBrotli(true)
          .setStoragePath(cacheDir.path)
          .setEnableHttpCache(HttpEngine.Builder.HTTP_CACHE_DISK, 10_000_000)
          .setConnectionMigrationOptions(
            ConnectionMigrationOptions.Builder()
              .setDefaultNetworkMigration(ConnectionMigrationOptions.MIGRATION_OPTION_ENABLED)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 24 13:19:43 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/query/QueryProcessorTest.java

                    calledFirst.set(true);
                    assertFalse(called.get());
                    QueryBuilder builder = chain.execute(context, query, boost);
                    assertTrue(called.get());
                    return builder;
                }
            });
            queryBuilder = queryProcessor.execute(context, query, 1.0f);
            assertTrue(called.get());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

            QueryBuilder builder = queryCommand.convertTermQuery(queryContext, (TermQuery) query, 1.0f);
            if (text.startsWith("sort:")) {
                assertNull(builder);
            } else {
                logger.info("{} => {}", text, builder.toString());
                assertEquals(expectedClass, builder.getClass());
                assertEquals(expectedQuery, builder.toString().replaceAll("[\s\n]", ""));
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CipherSuiteTest.kt

        socket.supportedCipherSuites = arrayOf("SSL_A", "SSL_B", "SSL_C", "SSL_D", "SSL_E")
        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)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java

        }
    
        private static final ExtensionDescriptorBuilder BUILDER = new ExtensionDescriptorBuilder();
    
        public static CoreExtensionEntry discoverFrom(ClassRealm loader) {
            Set<String> artifacts = new LinkedHashSet<>();
            Set<String> packages = new LinkedHashSet<>();
    
            try {
                Enumeration<URL> urls = loader.getResources(BUILDER.getExtensionDescriptorLocation());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CookiesTest.kt

        val redirectTarget = MockWebServer()
        redirectTarget.enqueue(MockResponse.Builder().body("A").build())
        redirectTarget.start()
        val redirectTargetUrl = urlWithIpAddress(redirectTarget, "/")
        val redirectSource = MockWebServer()
        redirectSource.enqueue(
          MockResponse.Builder()
            .code(HttpURLConnection.HTTP_MOVED_TEMP)
            .addHeader("Location: $redirectTargetUrl")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13K bytes
    - Viewed (0)
  7. mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt

       * Host header).
       */
      @Test
      fun domainFronting() {
        val heldCertificate =
          HeldCertificate.Builder()
            .commonName("server name")
            .addSubjectAlternativeName("url-host.com")
            .build()
        val handshakeCertificates =
          HandshakeCertificates.Builder()
            .heldCertificate(heldCertificate)
            .addTrustedCertificate(heldCertificate.certificate)
            .build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/ResponseCommonTest.kt

        val response = newResponse(responseBody("set status code 0"), 0)
        assertThat(response.code).isEqualTo(0)
      }
    
      @Test fun defaultResponseBodyIsEmpty() {
        val response =
          Response.Builder()
            .request(
              Request.Builder()
                .url("https://example.com/")
                .build(),
            )
            .protocol(Protocol.HTTP_1_1)
            .code(200)
            .message("OK")
            .build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. 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));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactoryTest.java

            SettingsBuilder builder = new DefaultSettingsBuilderFactory().newInstance();
            assertNotNull(builder);
    
            DefaultSettingsBuildingRequest request = new DefaultSettingsBuildingRequest();
            request.setSystemProperties(System.getProperties());
            request.setUserSettingsFile(getSettings("simple"));
    
            SettingsBuildingResult result = builder.build(request);
            assertNotNull(result);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top