Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,634 for buildID (0.1 sec)

  1. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

            }
          }
        }
      }
    
      @Test
      fun timeoutCall() {
        runTest {
          server.enqueue(
            MockResponse.Builder()
              .bodyDelay(5, TimeUnit.SECONDS)
              .body("abc")
              .build(),
          )
    
          val call = client.newCall(request)
    
          try {
            withTimeout(1.seconds) {
              call.executeAsync().use {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt

        client =
          client.newBuilder()
            .connectionPool(ConnectionPool(0, 5, TimeUnit.SECONDS))
            .build()
        server.enqueue(
          MockResponse.Builder()
            .code(301)
            .addHeader("Location: /b")
            .bodyDelay(1, TimeUnit.SECONDS)
            .body("a")
            .build(),
        )
        server.enqueue(MockResponse(body = "b"))
        val request = Request(server.url("/"))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MultimapBuilder.java

      public abstract <K extends K0, V extends V0> Multimap<K, V> build();
    
      /**
       * Returns a {@code Multimap} with the specified implementation, initialized with the entries of
       * {@code multimap}.
       */
      public <K extends K0, V extends V0> Multimap<K, V> build(
          Multimap<? extends K, ? extends V> multimap) {
        Multimap<K, V> result = build();
        result.putAll(multimap);
        return result;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

        @Override
        protected List<String> create(String[] elements) {
          ImmutableList.Builder<String> builder = ImmutableList.<String>builder();
          for (String element : elements) {
            builder.add(element);
          }
          return builder.build();
        }
      }
    
      public static class BuilderAddAllListGenerator extends TestStringListGenerator {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt

            .build()
      }
    
      fun run() {
        showUrl("https://squareup.com/robots.txt")
        showUrl("https://publicobject.com/helloworld.txt")
      }
    
      private fun showUrl(url: String) {
        val request = Builder().url(url).build()
        client.newCall(request)
          .execute()
          .use { response ->
            if (!response.isSuccessful) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

                .<String, Integer>immutable()
                .build();
    
        assertThat(emptyNetwork.isDirected()).isTrue();
        assertThat(emptyNetwork.allowsSelfLoops()).isTrue();
        assertThat(emptyNetwork.nodeOrder()).isEqualTo(ElementOrder.<String>natural());
      }
    
      /**
       * Tests that the ImmutableNetwork.Builder doesn't change when the creating NetworkBuilder
       * changes.
       */
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun May 05 18:02:35 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsWebConfigCB.java

        //                                                                               =====
    
        @Override
        public SearchRequestBuilder build(SearchRequestBuilder builder) {
            if (_conditionQuery != null) {
                QueryBuilder queryBuilder = _conditionQuery.getQuery();
                if (queryBuilder != null) {
                    builder.setQuery(queryBuilder);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/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)
  9. container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt

        testRequest {
          it.withProxyConfiguration(ProxyConfiguration.proxyConfiguration(ProxyConfiguration.Type.HTTP, it.remoteAddress()))
    
          val client =
            OkHttpClient.Builder()
              .proxy(Proxy(Proxy.Type.HTTP, it.remoteAddress()))
              .build()
    
          val response =
            client.newCall(
              Request((mockServer.endpoint + "/person?name=peter").toHttpUrl()),
            ).execute()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

            () -> builder.build(CacheLoader.from(Suppliers.ofInstance(null))));
      }
    
      @SuppressWarnings("ReturnValueIgnored")
      public void testMaximumSize_withWeigher() {
        CacheBuilder<Object, Object> builder = CacheBuilder.from(parse("maximumSize=9000"));
        builder.weigher(constantWeigher(42)).build(CacheLoader.from(Suppliers.ofInstance(null)));
      }
    
      @SuppressWarnings("ReturnValueIgnored")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
Back to top