Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 775 for Executed (0.07 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java

      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build();
    
        Response response = client.newCall(request).execute();
        response.body().close();
      }
    
      private static class LoggingInterceptor implements Interceptor {
        @Override public Response intercept(Chain chain) throws IOException {
          long t1 = System.nanoTime();
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jan 01 15:55:32 UTC 2016
    - 2K bytes
    - Viewed (0)
  2. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

      }
    
      private void parallelDrainQueue(int threadCount) {
        ExecutorService executor = Executors.newFixedThreadPool(threadCount);
        for (int i = 0; i < threadCount; i++) {
          executor.execute(() -> {
            try {
              drainQueue();
            } catch (Throwable e) {
              e.printStackTrace();
            }
          });
        }
        executor.shutdown();
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jul 23 00:58:06 UTC 2025
    - 5K bytes
    - Viewed (0)
  3. docs/fr/docs/project-generation.md

    * Tests du backend REST basés sur **Pytest**, intégrés dans Docker, pour que vous puissiez tester toutes les interactions de l'API indépendamment de la base de données. Étant exécutés dans Docker, les tests peuvent utiliser un nouvel entrepôt de données créé de zéro à chaque fois (vous pouvez donc utiliser ElasticSearch, MongoDB, CouchDB, etc. et juste tester que l'API fonctionne).
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt

            .build()
    
        server.enqueue(MockResponse(body = "abc1"))
        server.enqueue(MockResponse(body = "abc2"))
    
        val request = Request(server.url("/"))
    
        client.newCall(request).execute().use { response ->
          assertEquals(200, response.code)
        }
    
        client.connectionPool.evictAll()
        assertEquals(0, client.connectionPool.connectionCount())
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        /** Extended security negotiation flag */
        int FLAGS2_EXTENDED_SECURITY_NEGOTIATION = 0x0800;
        /** Resolve paths in DFS flag */
        int FLAGS2_RESOLVE_PATHS_IN_DFS = 0x1000;
        /** Permit read if execute permission flag */
        int FLAGS2_PERMIT_READ_IF_EXECUTE_PERM = 0x2000;
        /** 32-bit status codes flag */
        int FLAGS2_STATUS32 = 0x4000;
        /** Unicode strings flag */
        int FLAGS2_UNICODE = 0x8000;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. docs/debugging/README.md

    ### Installing xl-meta
    
    To install, [Go](https://golang.org/dl/) must be installed. Once installed, execute this to install the binary:
    
    ```bash
    go install github.com/minio/minio/docs/debugging/xl-meta@latest
    ```
    
    ### Using xl-meta
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. README.md

    }
    ```
    
    ### Asynchronous request
    
    ```java
    import org.codelibs.curl.Curl;
    
    Curl.post("https://api.example.com/items")
        .body("{\"name\":\"item1\"}")
        .header("Content-Type", "application/json")
        .execute(
            response -> System.out.println("Async status: " + response.getHttpStatusCode()),
            error -> error.printStackTrace());
    ```
    
    ## API Overview
    
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:11:14 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

            .build();
        Request request = new Request.Builder()
            .url(url)
            .build();
        Call call = httpClient.newCall(request);
        try (Response response = call.execute()) {
          JsonAdapter<OAuthSession> jsonAdapter = moshi.adapter(OAuthSession.class);
          return jsonAdapter.fromJson(response.body().source());
        }
      }
    
      /** See https://api.slack.com/methods/rtm.start. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jul 06 19:30:55 UTC 2018
    - 4.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/score/ScoreBooster.java

                    .setQuery(QueryBuilders.termQuery(fessConfig.getIndexFieldUrl(), url))
                    .setFetchSource(false)
                    .setSize(fessConfig.getPageScoreBoosterMaxFetchSizeAsInteger())
                    .execute()
                    .actionGet(requestTimeout);
            return Arrays.stream(response.getHits().getHits()).map(SearchHit::getId).toArray(n -> new String[n]);
        };
    
        /**
         * A function to handle requests.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. src/cmd/addr2line/addr2line_test.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"bufio"
    	"bytes"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    // TestMain executes the test binary as the addr2line command if
    // GO_ADDR2LINETEST_IS_ADDR2LINE is set, and runs the tests otherwise.
    func TestMain(m *testing.M) {
    	if os.Getenv("GO_ADDR2LINETEST_IS_ADDR2LINE") != "" {
    		main()
    		os.Exit(0)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 06 13:23:48 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top