Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 341 for READ (1.44 sec)

  1. src/main/java/jcifs/smb/NtlmAuthenticator.java

     */
    
    package jcifs.smb;
    
    /**
     * This class can be extended by applications that wish to trap authentication related exceptions and automatically
     * retry the exceptional operation with different credentials. Read <a href="../../../authhandler.html">jCIFS Exceptions
     * and NtlmAuthenticator</a> for complete details.
     */
    
    /**
     * An abstract class for NTLM authentication.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            BaseConfiguration config = new BaseConfiguration(true);
            Smb2IoctlResponse resp = new Smb2IoctlResponse(config);
    
            int read = resp.decode(packet, 0);
            assertTrue(read >= packet.length, "Decoded length should cover entire packet");
            assertNotNull(resp.getErrorData(), "Error data should be decoded");
            assertEquals(3, resp.getErrorData().length);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/s3/S3Client.java

     *   <li>secretKey - The secret key for authentication</li>
     *   <li>region - The AWS region (default: us-east-1)</li>
     *   <li>connectTimeout - Connection 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 s3://bucket-name/object-path}
     *
     * <p>Features:
     * <ul>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NetworkExplorer.java

                }
    
                try {
                    try (InputStream is = getClass().getClassLoader().getResourceAsStream("jcifs/http/ne.css");) {
                        while ((n = is.read(buf)) != -1) {
                            sb.append(new String(buf, 0, n, "ISO8859_1"));
                        }
                        this.style = sb.toString();
                    }
                } catch (final IOException ioe) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            questionNameField.set(nameQueryResponse, mockRecordName);
    
            // The method should return the number of bytes read by readResourceRecordWireFormat
            int result = nameQueryResponse.readBodyWireFormat(src, srcIndex);
            assertEquals(12 + 6, result, "readBodyWireFormat should return the total bytes read");
        }
    
        @Test
        void writeRDataWireFormat_shouldReturnZero() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                                    responseData.setResponseBody(InputStreamUtil.getBytes(contentStream));
                                } catch (final Exception e) {
                                    logger.warn("Failed to read file content: file={}, size={}", file.getAbsolutePath(), file.length(), e);
                                    responseData.setHttpStatusCode(Constants.SERVER_ERROR_STATUS_CODE);
                                }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            // Verify reserved field is zero
            assertEquals(0, SMBUtil.readInt4(buffer, offset + 28));
        }
    
        @Test
        @DisplayName("Should read empty bytes from wire format")
        void testReadBytesWireFormat() {
            // Given
            byte[] buffer = new byte[256];
            int offset = 10;
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/MimeMap.java

            int n;
    
            in = new byte[IN_SIZE];
            final InputStream is = getClass().getClassLoader().getResourceAsStream("jcifs/smb1/util/mime.map");
    
            inLen = 0;
            while ((n = is.read(in, inLen, IN_SIZE - inLen)) != -1) {
                inLen += n;
            }
            if (inLen < 100 || inLen == IN_SIZE) {
                throw new IOException("Error reading jcifs/smb1/util/mime.map resource");
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

            int bytesUsed = buf.getIndex();
            // Should be 2 bytes for the short value (alignment may add padding)
            assertTrue(bytesUsed >= 2, "Should use at least 2 bytes for short");
    
            // Reset index to read back
            buf.reset();
            NdrShort decoded = new NdrShort(0); // placeholder value
            decoded.decode(buf);
            assertEquals(expected, decoded.value, "decoded value should match original after masking");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java

     */
    
    package jcifs.smb1.smb1;
    
    /**
    This class can be extended by applications that wish to trap authentication related exceptions and automatically retry the exceptional operation with different credentials. Read <a href="../../../authhandler.html">jCIFS Exceptions and NtlmAuthenticator</a> for complete details.
     */
    
    /**
     * An abstract class for NTLM authentication in SMB1 protocol.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top