Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 2,076 for builds (0.1 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-ResponseCommon.kt

    fun Response.Builder.commonRequest(request: Request) =
      apply {
        this.request = request
      }
    
    fun Response.Builder.commonProtocol(protocol: Protocol) =
      apply {
        this.protocol = protocol
      }
    
    fun Response.Builder.commonCode(code: Int) =
      apply {
        this.code = code
      }
    
    fun Response.Builder.commonMessage(message: String) =
      apply {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableCollection.java

          }
          return newCapacity;
        }
    
        Builder() {}
    
        /**
         * Adds {@code element} to the {@code ImmutableCollection} being built.
         *
         * <p>Note that each builder class covariantly returns its own type from this method.
         *
         * @param element the element to add
         * @return this {@code Builder} instance
         * @throws NullPointerException if {@code element} is null
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 16:59:15 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  3. okhttp-android/src/test/kotlin/okhttp3/android/RobolectricOkHttpClientTest.kt

        client =
          OkHttpClient.Builder()
            .cache(Cache(FakeFileSystem(), "/cache".toPath(), 10_000_000))
            .build()
      }
    
      @Test
      fun testRequestExternal() {
        assumeNetwork()
    
        val request = Request("https://www.google.com/robots.txt".toHttpUrl())
    
        val networkRequest =
          request.newBuilder()
            .build()
    
        val call = client.newCall(networkRequest)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/ConscryptTest.kt

        assumeNetwork()
    
        val request = Request.Builder().url("https://mozilla.org/robots.txt").build()
    
        client.newCall(request).execute().use {
          assertThat(it.protocol).isEqualTo(Protocol.HTTP_2)
          assertThat(it.handshake!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
        }
      }
    
      @Test
      @Disabled
      fun testGoogle() {
        assumeNetwork()
    
        val request = Request.Builder().url("https://google.com/robots.txt").build()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/RenderMarkdown.java

            MutableDataSet options = new MutableDataSet();
            options.set(Parser.EXTENSIONS, Collections.singletonList(TablesExtension.create()));
            Parser parser = Parser.builder(options).build();
            HtmlRenderer renderer = HtmlRenderer.builder(options).build();
            File markdownFile = getMarkdownFile().get().getAsFile();
            Charset inputEncoding = Charset.forName(getInputEncoding().get());
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.2K bytes
    - Viewed (0)
  6. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

        if (previous != null) hostnameCount = previous;
        if (hostnameCount.incrementAndGet() > 100) return;
    
        Request request = new Request.Builder()
            .url(url)
            .build();
        try (Response response = client.newCall(request).execute()) {
          String responseSource = response.networkResponse() != null ? ("(network: "
              + response.networkResponse().code()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

                RemoteRepository.Builder builder = new RemoteRepository.Builder(remoteRepo);
                builder.setAuthentication(session.getAuthenticationSelector().getAuthentication(remoteRepo));
                builder.setProxy(session.getProxySelector().getProxy(remoteRepo));
                remoteRepo = builder.build();
            }
            request.setRepository(remoteRepo);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/builder/RequestDataBuilder.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.builder;
    
    import org.codelibs.fess.crawler.Constants;
    import org.codelibs.fess.crawler.entity.RequestData;
    import org.codelibs.fess.crawler.entity.RequestData.Method;
    
    /**
     * Builder class to create a request.
     *
     * @author shinsuke
     *
     */
    public final class RequestDataBuilder {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            }
    
            return request;
        }
    
        // layer the creation of a project builder configuration with a request, but this will need to be
        // a Maven subclass because we don't want to couple maven to the project builder which we need to
        // separate.
        protected MavenSession createMavenSession(File pom) throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionBean.java

            private int terminateAfter = 0;
    
            public void build(SearchRequestBuilder builder) {
                if (explain != null) {
                    builder.setExplain(explain);
                }
                if (minScore != null) {
                    builder.setMinScore(minScore);
                }
                if (preference != null) {
                    builder.setPreference(preference);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 17.8K bytes
    - Viewed (0)
Back to top