Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,587 for findall (0.04 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

        private void importFessJson(final String fileName, final File tempFile) {
            try (final InputStream in = new FileInputStream(tempFile); final OutputStream out = Files.newOutputStream(getFessJsonPath())) {
                CopyUtil.copy(in, out);
            } catch (final IOException e) {
                logger.warn("Failed to process fess.json file: {}", fileName, e);
            } finally {
                deleteTempFile(tempFile);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            } finally {
                cbWithTracking.close();
            }
        }
    
        @Test
        public void testRollingWindowMetrics() throws Exception {
            SmbCircuitBreaker cbWithWindow = new SmbCircuitBreaker("window-test");
    
            try {
                // Execute mixed operations
                for (int i = 0; i < 10; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractBehavior.java

        }
    
        @Override
        protected int delegateUpdate(final Entity entity, final UpdateOption<? extends ConditionBean> option) {
            final EsAbstractEntity esEntity = (EsAbstractEntity) entity;
            final IndexRequestBuilder builder = createUpdateRequest(esEntity);
    
            final IndexResponse response = builder.execute().actionGet(indexTimeout);
            final long seqNo = response.getSeqNo();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java

         */
        @Override
        public ExtractData getText(final InputStream in, final Map<String, String> params) {
            if (in == null) {
                throw new CrawlerSystemException("The inputstream is null.");
            }
    
            final MimeTypeHelper mimeTypeHelper = getMimeTypeHelper();
            final ExtractorFactory extractorFactory = getExtractorFactory();
            final StringBuilder buf = new StringBuilder(1000);
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/FileUtil.java

         * @return A byte array containing the contents of the file.
         */
        public static byte[] readBytes(final File file) {
            assertArgumentNotNull("file", file);
    
            final FileInputStream is = InputStreamUtil.create(file);
            try {
                final FileChannel channel = is.getChannel();
                final ByteBuffer buffer = ByteBuffer.allocate((int) ChannelUtil.size(channel));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/SipHashFunction.java

     * @author Daniel J. Bernstein
     */
    @Immutable
    final class SipHashFunction extends AbstractHashFunction implements Serializable {
      static final HashFunction SIP_HASH_24 =
          new SipHashFunction(2, 4, 0x0706050403020100L, 0x0f0e0d0c0b0a0908L);
    
      // The number of compression rounds.
      private final int c;
      // The number of finalization rounds.
      private final int d;
      // Two 64-bit keys (represent a single 128-bit key).
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java

            super();
        }
    
        private static final Logger logger = LogManager.getLogger(ScriptExecutorJob.class);
    
        @Override
        public void run(final LaJobRuntime runtime) {
            final JobHelper jobHelper = ComponentUtil.getJobHelper();
            try {
                jobHelper.setJobRuntime(runtime);
                process(runtime);
            } finally {
                jobHelper.setJobRuntime(null);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java

     * is deleted when the stream is closed.
     */
    public class TemporaryFileInputStream extends InputStream {
        private static final Logger logger = LogManager.getLogger(TemporaryFileInputStream.class);
    
        private final File tempFile;
    
        private final FileInputStream fileInputStream;
    
        /**
         * A class that provides an input stream for reading from a temporary file.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

            try {
                System.setProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS, "thread-test");
    
                final String[] results = new String[10];
                Thread[] threads = new Thread[10];
    
                for (int i = 0; i < 10; i++) {
                    final int index = i;
                    threads[i] = new Thread(() -> {
                        results[index] = SystemUtil.getSearchEngineHttpAddress();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

        public void test_getCurrentTime() {
            final Date currentTime = systemHelper.getCurrentTime();
            assertNotNull(currentTime);
            final long now = System.currentTimeMillis();
            assertTrue(Math.abs(currentTime.getTime() - now) < 1000);
        }
    
        public void test_getCurrentTimeAsLong() {
            final long currentTime = systemHelper.getCurrentTimeAsLong();
            final long now = System.currentTimeMillis();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.9K bytes
    - Viewed (0)
Back to top