Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 635 for exec_me (0.07 sec)

  1. android/guava-testlib/src/com/google/common/testing/TearDownStack.java

      }
    
      @Override
      public final void addTearDown(TearDown tearDown) {
        synchronized (lock) {
          stack.addFirst(checkNotNull(tearDown));
        }
      }
    
      /** Causes teardown to execute. */
      public final void runTearDown() {
        List<Throwable> exceptions = new ArrayList<>();
        List<TearDown> stackCopy;
        synchronized (lock) {
          stackCopy = Lists.newArrayList(stack);
          stack.clear();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 10:19:29 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. container-tests/src/test/java/okhttp3/containers/SocksProxyTest.kt

              .build()
    
          val response =
            client.newCall(
              Request("http://mockserver:1080/person?name=peter".toHttpUrl()),
            ).execute()
    
          assertThat(response.body.string()).contains("Peter the person")
        }
      }
    
      companion object {
        val SOCKS5_PROXY: DockerImageName =
          DockerImageName
            .parse("serjs/go-socks5-proxy")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/TearDownStack.java

      }
    
      @Override
      public final void addTearDown(TearDown tearDown) {
        synchronized (lock) {
          stack.addFirst(checkNotNull(tearDown));
        }
      }
    
      /** Causes teardown to execute. */
      public final void runTearDown() {
        List<Throwable> exceptions = new ArrayList<>();
        List<TearDown> stackCopy;
        synchronized (lock) {
          stackCopy = Lists.newArrayList(stack);
          stack.clear();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 10:19:29 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt

        val client = HttpAsyncClients.createHttp2Default()
    
        client.use { client ->
          client.start()
          val request = SimpleHttpRequests.get("https://google.com/robots.txt")
          val response = client.execute(request, LoggingCallback).get()
    
          println("Protocol ${response.version}")
          println("Response ${response.code}")
          println("${response.body.bodyText.substring(0, 20)}...")
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. samples/compare/src/test/kotlin/okhttp3/compare/OkHttpClientTest.kt

        val client = OkHttpClient()
    
        val request =
          Request.Builder()
            .url(server.url("/"))
            .header("Accept", "text/plain")
            .build()
        val response = client.newCall(request).execute()
        assertThat(response.code).isEqualTo(200)
        assertThat(response.body.string()).isEqualTo("hello, OkHttp")
    
        val recorded = server.takeRequest()
        assertThat(recorded.headers["Accept"]).isEqualTo("text/plain")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java

      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://api.github.com/gists/c2a7c39532239ff261be")
            .build();
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          Gist gist = gistJsonAdapter.fromJson(response.body().source());
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.8K bytes
    - Viewed (0)
  7. tensorflow/c/eager/parallel_device/parallel_device.cc

        } else {
          parallel_inputs.push_back(absl::get<ParallelTensor*>(input));
        }
      }
      absl::optional<std::vector<std::unique_ptr<ParallelTensor>>>
          maybe_parallel_results(
              parallel_device.Execute(context, parallel_inputs, operation_name,
                                      attributes, expected_max_outputs, status));
      if (!maybe_parallel_results.has_value()) return result;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  8. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

            .build();
    
        Request request = new Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          System.out.println(response.body().string());
        }
    
        server.shutdown();
        socketFile.delete();
      }
    
      public static void main(String... args) throws Exception {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Dec 24 03:46:30 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/UrlNormalizingPostProcessor.java

        }
    
        private UrlNormalizer normalizer;
    
        UrlNormalizingPostProcessor(UrlNormalizer normalizer) {
            this.normalizer = normalizer;
        }
    
        @Override
        public Object execute(String expression, Object value) {
            if (value != null && URL_EXPRESSIONS.contains(expression)) {
                return normalizer.normalize(value.toString());
            }
    
            return null;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

      private Thread executionThread;
      private Throwable thrownByExecutionThread;
      private final Executor exceptionCatchingExecutor =
          new Executor() {
            @Override
            public void execute(Runnable command) {
              executionThread = new Thread(command);
              executionThread.setUncaughtExceptionHandler(
                  new UncaughtExceptionHandler() {
                    @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top