Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 148 for readings1 (0.72 sec)

  1. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            assertEquals(1, ndrBuffer.getIndex());
            assertEquals(1, ndrBuffer.getLength());
            assertEquals((byte) 0xAB, buffer[0]);
    
            ndrBuffer.setIndex(0); // Reset index for reading
            int val = ndrBuffer.dec_ndr_small();
            assertEquals(0xAB, val);
            assertEquals(1, ndrBuffer.getIndex());
        }
    
        @Test
        void testEncDecNdrShort() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

         *
         * @return the response body as an InputStream, or null if no response body is available
         * @throws IORuntimeException if an I/O error occurs while reading the response body file
         */
        public InputStream getResponseBody() {
            if (responseBodyBytes != null) {
                return new ByteArrayInputStream(responseBodyBytes);
            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

            void testDecodeWithBufferOverflow() {
                assertThrows(SMBProtocolDecodingException.class, () -> testResponse.decode(testBuffer, 250, 10),
                        "Should throw exception when reading beyond buffer bounds");
            }
    
            @Test
            @DisplayName("Should handle zero-length decode")
            void testDecodeWithZeroLength() throws SMBProtocolDecodingException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

    import org.codelibs.fess.dict.DictionaryFile;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalEntity;
    
    /**
     * Manages a dictionary file for synonyms.
     * This class handles reading, parsing, and updating files that contain
     * synonym rules. The file format supports both explicit mappings (e.g., `a => b`)
     * and equivalent synonyms (e.g., `a, b, c`).
     *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            // Wait for server to be ready - with proper error handling for CI environments
            try {
                waitForServerReady();
            } catch (RuntimeException e) {
                log.warn("SMB server readiness check failed: {}", e.getMessage());
                // In CI environments or when Docker is not properly set up, skip the tests instead of failing
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

            private final int maxLineBuffer;
    
            /**
             * Constructs a new InputStreamThread.
             * @param is The InputStream to read from.
             * @param charset The charset to use for reading.
             * @param maxOutputLineBuffer The maximum number of lines to buffer.
             */
            public InputStreamThread(final InputStream is, final String charset, final int maxOutputLineBuffer) {
                try {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            setupCountField.setAccessible(true);
            assertEquals(128, setupCountField.get(response));
        }
    
        @Test
        @DisplayName("Test reading from different buffer positions")
        void testReadFromDifferentPositions() throws Exception {
            byte[] buffer = new byte[200];
    
            // Test at various positions in the buffer
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

     *   <li>Retrying extraction without resource name or content type if the initial attempt fails</li>
     *   <li>Extracting text from metadata if the main content extraction fails</li>
     *   <li>Reading content as plain text if all other methods fail</li>
     *   <li>Applying post-extraction filters</li>
     *   <li>Handling Tika exceptions, including zip bomb exceptions</li>
     * </ul>
     *
     * <p>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 30.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/transport/Transport.java

                                continue;
                            }
    
                            if (curResp.isError()) {
                                throw new TransportException(this.name + " error reading response to " + curReq, curResp.getException());
                            }
                            if (isDisconnected() && this.state != 5) {
                                throw new TransportException(
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dfs/ReferralTest.java

                assertTrue(exception.getMessage().contains("jcifs at samba dot org"), "Exception message should contain contact info");
            }
        }
    
        // String Reading Tests
    
        @Test
        public void testOddBufferIndexAlignment() {
            // Create buffer with odd starting position
            ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top