Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 785 for executes (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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. */
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jul 06 19:30:55 GMT 2018
    - 4.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildStep.java

    import org.apache.maven.project.MavenProject;
    
    public class BuildStep {
        public static final int CREATED = 0;
        public static final int PLANNING = 1;
        public static final int SCHEDULED = 2;
        public static final int EXECUTED = 3;
        public static final int FAILED = 4;
        public static final int SKIPPED = 5;
    
        public static final String PLAN = "$plan$";
        public static final String SETUP = "$setup$";
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Apr 30 16:21:08 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        assertFalse(future.isCancelled());
    
        ExecutorService executor = newSingleThreadExecutor();
    
        try {
          Future<Boolean> getResult = executor.submit(() -> future.get());
    
          // Release the future value.
          latch.countDown();
    
          assertTrue(getResult.get(10, SECONDS));
        } finally {
          executor.shutdownNow();
        }
    
        assertTrue(future.isDone());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  4. samples/guide/src/main/java/okhttp3/recipes/PostForm.java

            .build();
        Request request = new Request.Builder()
            .url("https://en.wikipedia.org/w/index.php")
            .post(formBody)
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.4K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultMojosExecutionStrategy.java

     */
    @Named
    @Singleton
    public class DefaultMojosExecutionStrategy implements MojosExecutionStrategy {
        @Override
        public void execute(List<MojoExecution> mojos, MavenSession session, MojoExecutionRunner mojoRunner)
                throws LifecycleExecutionException {
            for (MojoExecution mojoExecution : mojos) {
                mojoRunner.run(mojoExecution);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

              public String get(long time, TimeUnit unit) {
                throw new CancellationException(); // BAD!!
              }
    
              @Override
              public void addListener(Runnable runnable, Executor executor) {
                executor.execute(runnable);
              }
            };
        future.setFuture(badFuture);
        ExecutionException expected = getExpectingExecutionException(future);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 46.8K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptInvoker.java

            if (context.goals == null) {
                super.lookup(context);
                context.goals = context.lookup.lookupMap(Goal.class);
            }
        }
    
        @Override
        protected int execute(EncryptContext context) throws Exception {
            try {
                context.header = new ArrayList<>();
                context.style = new AttributedStyle();
                context.addInHeader(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeInvoker.java

            if (context.goals == null) {
                super.lookup(context);
                context.goals = context.lookup.lookupMap(Goal.class);
            }
        }
    
        @Override
        protected int execute(UpgradeContext context) throws Exception {
            try {
                context.header = new ArrayList<>();
                context.style = new AttributedStyle();
                context.addInHeader(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRulePostProcess.java

    import java.util.HashSet;
    import java.util.Set;
    
    public class AcceptedRegressionsRulePostProcess implements PostProcessViolationsRule {
    
        @Override
        @SuppressWarnings("unchecked")
        public void execute(ViolationCheckContextWithViolations context) {
            Set<ApiChange> acceptedApiChanges = (Set<ApiChange>) context.getUserData().get("acceptedApiChanges");
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jun 09 08:16:49 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt

     * so that they are alphabetically sorted (by type, then member).
     */
    @CacheableTask
    abstract class SortAcceptedApiChangesTask : AbstractAcceptedApiChangesMaintenanceTask() {
    
        @TaskAction
        fun execute() {
            val gson: Gson = GsonBuilder().setFormattingStyle(FormattingStyle.PRETTY.withIndent("    ")).create()
            loadChanges().mapValues {
                gson.toJson(AcceptedApiChanges(sortChanges(it.value)))
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Apr 09 14:09:16 GMT 2025
    - 1.5K bytes
    - Click Count (0)
Back to Top