Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for readN (0.01 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                    BufferedOutputStream out = new BufferedOutputStream(new FileOutputStream(dest))) {
                final byte[] buf = new byte[1024];
                int length;
                while (-1 < (length = in.read(buf))) {
                    out.write(buf, 0, length);
                    out.flush();
                }
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

                        logger.debug("BOM: {}", bomIn.getBOMCharsetName());
                    }
                    return bomIn.getBOMCharsetName();
                }
                final int c = bomIn.read(b);
    
                if (c == -1) {
                    return encoding;
                }
    
                final String head = new String(b, 0, c, encoding);
                if (StringUtil.isBlank(head)) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

                    .withExposedPorts(port)//
                    .withCommand("server /data")//
                    .waitingFor(new HttpWaitStrategy()//
                            .forPath("/minio/health/ready")//
                            .forPort(port)//
                            .withStartupTimeout(Duration.ofSeconds(30)));
            logger.info("Starting {}", IMAGE_NAME);
            minioServer.start();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

                return false;
            }
            return true;
        }
    
        int readCharFromBuffer() throws IOException {
            if (readBufferIndex >= readBufferLen) {
                readBufferLen = input.read(readBuffer);
                if (readBufferLen == -1) {
                    return -1;
                }
                readBufferIndex = 0;
            }
            final int c = readBuffer[readBufferIndex++];
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 17K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

                    public void run() {
                        try {
                            startLatch.await();
                            for (int j = 0; j < operationsPerThread; j++) {
                                // Read name
                                String name = testTransformer.getName();
                                if (!"concurrentName".equals(name)) {
                                    errorCount.incrementAndGet();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                    BufferedOutputStream out = new BufferedOutputStream(new FileOutputStream(dest))) {
                final byte[] buf = new byte[1024];
                int length;
                while (-1 < (length = in.read(buf))) {
                    out.write(buf, 0, length);
                    out.flush();
                }
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 22.5K bytes
    - Viewed (3)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

                    public void run() {
                        try {
                            startLatch.await();
                            for (int j = 0; j < iterationsPerThread; j++) {
                                // Read properties
                                String ruleId = testRule.getRuleId();
                                ResponseProcessor proc = testRule.getResponseProcessor();
    
                                // Verify consistency
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

     *   <li>connectTimeout - Connection timeout in milliseconds (default: 10000)</li>
     *   <li>writeTimeout - Write timeout in milliseconds (default: 10000)</li>
     *   <li>readTimeout - Read timeout in milliseconds (default: 10000)</li>
     * </ul>
     *
     * <p>The client supports URLs in the format: {@code storage://bucket-name/object-path}
     *
     * <p>Features:
     * <ul>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17.9K bytes
    - Viewed (2)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

         * It handles SSL/TLS configuration, authentication, and various FTP client settings.
         *
         * @param info The FTP information containing host, port, and other connection details
         * @return A configured FTP client ready for use
         * @throws IOException If the FTP client cannot be created or connected
         */
        protected FTPClient getClient(final FtpInfo info) throws IOException {
            FTPClient ftpClient = ftpClientQueue.poll();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

                AtomicInteger count = new AtomicInteger();
                String[] queryLogs = new String[] { field + ":検索", field + ":fess", field + ":検索エンジン" };
    
                @Override
                public QueryLog read() {
                    if (count.get() >= queryLogs.length) {
                        return null;
                    }
                    return new QueryLog(queryLogs[count.getAndIncrement()], null);
                }
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 37.2K bytes
    - Viewed (0)
Back to top