Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 99 for starp (0.02 seconds)

  1. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            InputStream is = new ByteArrayInputStream(input.getBytes(StandardCharsets.UTF_8));
    
            InputStreamThread thread = new InputStreamThread(is, StandardCharsets.UTF_8, 5, null);
            thread.start();
            thread.join(1000);
    
            String output = thread.getOutput();
            assertTrue(output.contains("line1"));
            assertTrue(output.contains("line2"));
            assertTrue(output.contains("line3"));
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

                    }
                } catch (Exception e) {
                    exceptions[readerCount] = e;
                }
            });
    
            // Start all threads
            for (Thread reader : readers) {
                reader.start();
            }
            writer.start();
    
            // Wait for completion
            for (Thread reader : readers) {
                reader.join();
            }
            writer.join();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (1)
  3. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

            long start = System.currentTimeMillis();
            helper.checkCrawlerStatus();
            long end = System.currentTimeMillis();
            assertTrue(end - start < 100); // Should return quickly
    
            // Test when crawler is not running
            helper.setCrawlerRunning(false);
            assertFalse(helper.isCrawlerRunning());
    
            // Start a thread to set crawler running after a delay
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/util/QueryResponseList.java

         *
         * @param documentList the list of documents to wrap
         * @param start the starting position of the current page
         * @param pageSize the number of records per page
         * @param offset the offset value for pagination
         */
        protected QueryResponseList(final List<Map<String, Object>> documentList, final int start, final int pageSize, final int offset) {
            parent = documentList;
            this.offset = offset;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

         *
         * @param id the ID of the scheduled job to start
         * @return JSON response with {@code jobLogId} (nullable) and status
         */
        // PUT /api/admin/scheduler/{id}/start
        @Execute(urlPattern = "{}/@word")
        public JsonResponse<ApiResult> put$start(final String id) {
            final String[] jobLogId = { null };
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorConcurrencyTest.java

            protected SearchResult search(String query, SearchRequestParams params, OptionalThing<FessUserBean> userBean) {
                int start = params.getStartPosition();
                int size = params.getPageSize();
                SearchResultBuilder builder = SearchResult.create();
                for (int i = start; i < start + size && i < allRecordCount; i++) {
                    Map<String, Object> doc = new HashMap<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                    offset = windowSize / 2;
                }
                int start = startPosition - offset;
                if (start < 0) {
                    start = 0;
                }
                if (logger.isDebugEnabled()) {
                    logger.debug("Adjusted start position: original={}, adjusted={}, offset={}", startPosition, start, offset);
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 25 02:13:14 GMT 2025
    - 28K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

            if (oldProcess != null) {
                destroyProcess(sessionId, oldProcess);
            }
    
            // Start the new process and add it to the map
            try {
                final JobProcess jobProcess = new JobProcess(pb.start(), bufferSize, outputCallback);
                runningProcessMap.put(sessionId, jobProcess);
                return jobProcess;
            } catch (final IOException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 06:54:47 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            logger.info("start crawlingInfoDeleteAllTest");
            testDeleteAllCrawlingInfo();
        }
    
        @Test
        @Order(4)
        void failureUrlTest() {
            logger.info("start failureUrlTest");
            testReadFailureUrl();
            testDeleteFailureUrl();
        }
    
        @Test
        @Order(5)
        void searchListTest() {
            logger.info("start searchListTest");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:01:34 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  10. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/runtimes/CheckTargetRuntimes.kt

            val lines = buildFile.readText().lines()
    
            val start = lines.indexOfFirst {
                Regex("\\s+computedRuntimes\\s+\\{").matches(it)
            }
            if (start == -1) {
                return BuildFileMutation.Failure("Missing computedRuntimes block for $projectPath: ${buildFile.asClickableFileUrl()}")
            }
    
            val end = lines.indexOfFirst(start + 1) {
                Regex("\\s+}").matches(it)
            }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:40:18 GMT 2026
    - 13.8K bytes
    - Click Count (0)
Back to Top