Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 133 for headings (1.3 sec)

  1. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                    String token = null;
                    String segmentation = null;
                    String reading = null;
                    String pos = null;
                    switch (values.length) {
                    case 4:
                        pos = values[3];
                    case 3:
                        reading = values[2];
                    case 2:
                        segmentation = values[1];
                    case 1:
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            int written = trans2FindNext2.writeDataWireFormat(buffer, 0);
    
            assertEquals(0, written);
        }
    
        @Test
        void testReadSetupWireFormat() {
            // Test setup wire format reading (should return 0)
            trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, TEST_FILENAME, TEST_BATCH_COUNT, TEST_BATCH_SIZE);
    
            byte[] buffer = new byte[10];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/DictionaryException.java

    import org.codelibs.fess.exception.FessSystemException;
    
    /**
     * Exception thrown when dictionary operations encounter errors.
     * This exception is typically used for issues during dictionary file
     * reading, writing, parsing, or other dictionary-related operations.
     */
    public class DictionaryException extends FessSystemException {
    
        /** Serial version UID for serialization. */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

                }, this::asEditHtml);
            }
            if (form.segmentation != null && form.reading != null && form.segmentation.split(" ").length != form.reading.split(" ").length) {
                throwValidationError(messages -> {
                    messages.addErrorsInvalidKuromojiSegmentation("segmentation", form.segmentation, form.reading);
                }, this::asEditHtml);
            }
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            assertEquals(expectedTime, response.getLastWriteTime());
            assertEquals(expectedTime, response.getLastAccessTime());
        }
    
        @Test
        void testReadParameterWordsWireFormatWithData() {
            // Test reading parameter words from wire format
            response = new SmbComQueryInformationResponse(mockConfig, 0L);
    
            // Prepare test data
            byte[] buffer = new byte[256];
            int bufferIndex = 0;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            SessionRequestPacket packet = new SessionRequestPacket(mockConfig);
            packet.length = 100; // Expect more data than available
    
            // Create a larger buffer for reading to avoid IndexOutOfBoundsException
            byte[] readBuffer = new byte[100];
            assertThrows(IOException.class, () -> {
                packet.readTrailerWireFormat(bais, readBuffer, 0);
            });
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java

         * Test that extraction error includes encoding information in the error message.
         */
        public void test_getText_extractionError_includesEncodingInMessage() {
            // Create a stream that will cause an error during reading
            final InputStream errorStream = new InputStream() {
                @Override
                public int read() throws IOException {
                    throw new IOException("Simulated read error");
                }
            };
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

         *            the readLength to set
         */
        public void setReadLength(final int readLength) {
            this.readLength = readLength;
        }
    
        /**
         * Sets the file offset from which to start reading
         *
         * @param offset
         *            the offset to set
         */
        public void setOffset(final long offset) {
            this.offset = offset;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/SessionRetargetResponsePacket.java

        int readTrailerWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) throws IOException {
            if (in.read(buffer, bufferIndex, length) != length) {
                throw new IOException("unexpected EOF reading netbios retarget session response");
            }
            final int addr = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            retargetAddress = new NbtAddress(null, addr, false, NbtAddress.B_NODE);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            assertArrayEquals(secondData, secondResult);
        }
    
        @Test
        void testReadDataWireFormatWithOffset() throws SMBProtocolDecodingException {
            // Test reading data from different buffer offsets
            byte[] testData = "Test data with offset".getBytes();
            byte[] buffer = new byte[200];
            int offset = 50;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top