Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 148 for readings3 (4.91 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/main/java/jcifs/pac/ASN1Util.java

         * @param type the target class type
         * @param stream the ASN.1 input stream
         * @return next object from stream cast to type
         * @throws PACDecodingException if types are incompatible
         * @throws IOException if reading from stream fails
         */
        public static <T extends ASN1Primitive> T as(final Class<T> type, final ASN1InputStream stream)
                throws PACDecodingException, IOException {
            return as(type, stream.readObject());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

                assertTrue(str.contains("allocationSize=4096"));
                assertTrue(str.contains("endOfFile=2048"));
            }
        }
    
        @Nested
        @DisplayName("Data Reading Tests")
        class DataReadingTests {
    
            @Test
            @DisplayName("Should read data for basic info level")
            void testReadDataBasicInfo() {
                Trans2QueryPathInformationResponse resp =
    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. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            SmbFileOutputStream out = mock(SmbFileOutputStream.class);
            byte[] payload = new byte[] { 1, 2, 3, 4 };
    
            w.start();
    
            // Wait until writer thread signals readiness
            synchronized (w) {
                long deadline = System.currentTimeMillis() + 2000;
                while (!w.isReady() && System.currentTimeMillis() < deadline) {
                    w.wait(10);
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java

            final EditBody body = new EditBody();
            body.id = entity.getId();
            body.dictId = dictId;
            body.token = entity.getToken();
            body.reading = entity.getReading();
            body.pos = entity.getPos();
            body.segmentation = entity.getSegmentation();
            return body;
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/ResponseDataUtil.java

         *
         * @param responseData the response data containing the response body
         * @return a temporary file containing the response body
         * @throws CrawlingAccessException if an error occurs while reading the response body
         */
        public static File createResponseBodyFile(final ResponseData responseData) {
            File tempFile = null;
            try (final InputStream is = responseData.getResponseBody()) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            int bytesRead = response.readBytesWireFormat(buffer, offset);
    
            // Then
            assertEquals(4, bytesRead);
        }
    
        @Test
        @DisplayName("Should handle minimum buffer size for reading")
        void testReadBytesWireFormatMinimumBuffer() throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[4];
    
            // Write valid structure
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top