Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 367 for Execute (0.04 sec)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          if (executeImmediate) {
            new RunnableExecutorPair(runnable, executor).execute();
          }
        }
    
        void execute() {
          synchronized (runnables) {
            if (executed) {
              return;
            }
            executed = true;
          }
    
          while (!runnables.isEmpty()) {
            runnables.poll().execute();
          }
        }
    
        private static class RunnableExecutorPair {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            // Test execute method with null query
            QueryContext context = new QueryContext("*:*", false);
            float boost = 1.0f;
    
            QueryBuilder result = matchAllQueryCommand.execute(context, null, boost);
    
            assertNotNull(result);
            assertTrue(result instanceof MatchAllQueryBuilder);
        }
    
        public void test_execute_withZeroBoost() {
            // Test execute method with zero boost
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

            String result1 = aggregateLogJob.execute();
            assertEquals("", result1);
    
            // Second call (even) should fail
            String result2 = aggregateLogJob.execute();
            assertTrue(result2.contains("Even call error"));
    
            // Third call (odd) should succeed
            String result3 = aggregateLogJob.execute();
            assertEquals("", result3);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

            // Execute the job
            String result = purgeDocJob.execute();
    
            // Assert error message is in the result
            assertTrue(result.contains("Invalid argument provided"));
        }
    
        public void test_execute_queryBuilderCreation() {
            // Execute the job
            purgeDocJob.execute();
    
            // Verify the query builder was created correctly
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

            scriptEngineFactory.add("type2", engine2);
    
            // Execute with first engine
            Object result1 = scriptExecutor.execute("type1", "script for engine1");
            assertEquals("engine1:processed: script for engine1", result1);
    
            // Execute with second engine
            Object result2 = scriptExecutor.execute("type2", "script for engine2");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. cmd/bucket-handlers_test.go

    	if err != nil {
    		t.Fatalf("Test %s: Failed to create HTTP request for RemoveBucketHandler: <ERROR> %v", instanceType, err)
    	}
    	// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    	// Call the ServeHTTP to execute the handler.
    	apiRouter.ServeHTTP(rec, req)
    	switch rec.Code {
    	case http.StatusOK, http.StatusCreated, http.StatusAccepted, http.StatusNoContent:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

            try {
                crawlJob.execute();
                fail("Should throw JobProcessingException");
            } catch (JobProcessingException e) {
                assertTrue(e.getMessage().contains("Failed to execute a crawl job"));
                assertNotNull(e.getCause());
                assertEquals("Test exception", e.getCause().getMessage());
            }
        }
    
        // Test execute with JobProcessingException in executeCrawler
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt

      @Test fun singleQueueIsSerial() {
        redQueue.execute("task one", 100.µs) {
          log += "one:run@${taskFaker.nanoTime} parallel=${taskFaker.isParallel}"
        }
    
        redQueue.execute("task two", 100.µs) {
          log += "two:run@${taskFaker.nanoTime} parallel=${taskFaker.isParallel}"
        }
    
        redQueue.execute("task three", 100.µs) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 23K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

    import java.util.logging.Level;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Executor ensuring that all Runnables submitted are executed in order, using the provided
     * Executor, and sequentially such that no two will ever be running at the same time.
     *
     * <p>Tasks submitted to {@link #execute(Runnable)} are executed in FIFO order.
     *
     * <p>The execution of tasks is done by one thread as long as there are tasks left in the queue.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

        //                                                                      Search Execute
        //                                                                      ==============
        /**
         * Display the stopwords index page.
         *
         * @param form the search form
         * @return HTML response for the index page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index(final SearchForm form) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.3K bytes
    - Viewed (0)
Back to top