Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 1,092 for Execute (0.05 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/Goal.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker.mvnenc;
    
    /**
     * The mvnenc tool goal.
     */
    public interface Goal {
        int execute(EncryptContext context) throws Exception;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Nov 13 14:14:56 GMT 2024
    - 973 bytes
    - Click Count (0)
  2. 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 Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/job/PurgeDocJob.java

         */
        public PurgeDocJob() {
            // Default constructor
        }
    
        /**
         * Executes the document purging job.
         * Removes all documents from the search index that have expired based on their expires field.
         *
         * @return a string containing the execution result and any error messages
         */
        public String execute() {
            final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  4. regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java

      private void sendRequest(OkHttpClient client, String url) throws IOException {
        Request request = new Request.Builder()
                .url(url)
                .build();
        try (Response response = client.newCall(request).execute()) {
          assertTrue(response.code() == 200 || response.code() == 404);
          assertEquals(Protocol.HTTP_2, response.protocol());
    
          for (Certificate c: response.handshake().peerCertificates()) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 26 06:37:08 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

       * case of an error.
       *
       * @param event the callback to execute on {@link #dispatch}
       */
      public void enqueue(Event<L> event) {
        enqueueHelper(event, event);
      }
    
      /**
       * Enqueues an event to be run on currently known listeners, with a label.
       *
       * @param event the callback to execute on {@link #dispatch}
       * @param label a description of the event to use in the case of an error
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  6. 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();
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jan 01 15:55:32 GMT 2016
    - 2K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java

        @Nested
        @DisplayName("Strategy Ordering")
        class StrategyOrderingTests {
    
            @Test
            @DisplayName("should execute strategies in priority order")
            void shouldExecuteStrategiesInPriorityOrder() throws Exception {
                // This test verifies that strategies are executed in the order they are provided
                // The actual priority ordering is handled by dependency injection
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            }
        }
    
        @Test
        public void test_exceptionThrownWithCause() {
            // Test that the exception with cause can be thrown and caught properly
            String expectedMessage = "Command failed to execute";
            Throwable expectedCause = new IllegalStateException("Invalid command state");
    
            try {
                throw new CommandExecutionException(expectedMessage, expectedCause);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/job/AggregateLogJob.java

        public AggregateLogJob() {
            // Default constructor
        }
    
        /**
         * Executes the search log aggregation job.
         * Stores search logs using the SearchLogHelper and returns execution results.
         *
         * @return execution result message, empty if successful or error message if failed
         */
        public String execute() {
            final SearchLogHelper searchLogHelper = ComponentUtil.getSearchLogHelper();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/testfixtures/TestFixturesPlugin.java

                TaskProvider<Task> preProcessFixture = project.getTasks().register("preProcessFixture", t -> {
                    t.doFirst(new Action<Task>() {
                        @Override
                        public void execute(Task task) {
                            try {
                                Files.createDirectories(testfixturesDir.toPath());
                            } catch (IOException e) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 29 15:07:50 GMT 2021
    - 10.7K bytes
    - Click Count (0)
Back to Top