Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for buffer1 (2.79 sec)

  1. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

            /** Maximum number of lines to buffer. */
            private final int maxLineBuffer;
    
            /**
             * Constructor for InputStreamThread.
             * @param is The input stream to read from.
             * @param charset The character encoding to use.
             * @param maxOutputLineBuffer The maximum number of lines to buffer.
             */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/FileUtil.java

                }
    
                final ByteBuffer buffer = ByteBuffer.allocate((int) fileSize);
                ChannelUtil.read(channel, buffer);
                return buffer.array();
            } finally {
                CloseableUtil.close(is);
            }
        }
    
        /**
         * Reads text from a file using the default encoding.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

            return inputStream.read(b, off, len);
        }
    
        /**
         * Reads some number of bytes from the input stream and stores them into the buffer array b.
         *
         * @param b the buffer into which the data is read
         * @return the total number of bytes read into the buffer, or -1 if there is no more data
         * @throws IOException if an I/O error occurs
         */
        @Override
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/ResponseDataUtilTest.java

            assertTrue(tempFile.exists());
    
            // Read and verify content
            try (FileInputStream fis = new FileInputStream(tempFile)) {
                byte[] buffer = new byte[1024];
                int bytesRead = fis.read(buffer);
                String content = new String(buffer, 0, bytesRead);
                assertEquals("Test response body", content);
            } finally {
                // Clean up
                tempFile.delete();
            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

                        fieldName = null;
                    }
                    buffer.setLength(0);
                } else if ("list".equals(qName)) {
                    if (fieldName != null && !dataMap.containsKey(fieldName)) {
                        dataMap.put(fieldName, new ArrayList<>());
                    }
                } else if ("item".equals(qName)) {
                    buffer.setLength(0);
                }
            }
    
            @Override
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStreamTest.java

            IgnoreCloseInputStream stream = new IgnoreCloseInputStream(underlyingStream);
    
            byte[] buffer = new byte[5];
            int bytesRead = stream.read(buffer);
    
            assertEquals(5, bytesRead);
            assertEquals("Hello", new String(buffer));
        }
    
        public void test_readBytesWithOffset_delegatesToUnderlying() throws IOException {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

     * <ul>
     *   <li>Treating ISO control characters and specified space characters as spaces.</li>
     *   <li>Appending alphanumeric characters (0-9, A-Z, a-z) to the buffer.</li>
     *   <li>Appending symbol characters (!-/, :-@, [-`, {-~) to the buffer.</li>
     *   <li>Optionally removing duplicate terms based on a flag.</li>
     *   <li>Limiting the maximum size of alphanumeric and symbol terms.</li>
     * </ul>
     *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

        }
    
        /**
         * Gets the buffer size for data transfers.
         *
         * @return The buffer size
         */
        public int getBufferSize() {
            return bufferSize;
        }
    
        /**
         * Sets the buffer size for data transfers.
         *
         * @param bufferSize The buffer size
         */
        public void setBufferSize(final int bufferSize) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 40K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

        }
    
        /**
         * Appends a filter path pattern to a string buffer with appropriate wildcards.
         * Handles various pattern formats including anchored patterns and quoted patterns.
         *
         * @param buf the string buffer to append to
         * @param v the pattern value to append
         * @return the complete pattern string from the buffer
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

            }
            return tokens;
        }
    
        /**
         * Process the buffer and add analyzed tokens.
         * @param analyzer Analyzer
         * @param field Field
         * @param lang Language
         * @param useReading Whether to use reading analysis
         * @param tokens Token list to add to
         * @param buf Buffer containing text
         * @param analyzeType Type of analysis (for logging)
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 14.9K bytes
    - Viewed (0)
Back to top