Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 342 for READ (1.93 sec)

  1. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

        @Test
        void testTimeReadWriteZero() {
            byte[] buffer = new byte[8];
            ServerMessageBlock.writeTime(0, buffer, 0);
            // When zero is written, it stays as zero in buffer
            // When read back, it converts to negative Unix time due to Windows FileTime conversion
            long expectedTime = -SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601;
            assertEquals(expectedTime, ServerMessageBlock.readTime(buffer, 0));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            // Test excessive maxTransactSize (> 16MB)
            SMBUtil.writeInt4(20 * 1024 * 1024, buffer, 28); // 20MB
            SMBUtil.writeInt4(1024 * 1024, buffer, 32); // 1MB read size - valid
            SMBUtil.writeInt4(1024 * 1024, buffer, 36); // 1MB write size - valid
    
            SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java

     *
     * This class implements the TRANS_TRANSACT_NAMED_PIPE transaction which
     * combines writing data to a pipe and reading the response in a single operation.
     * This is more efficient than separate write and read operations.
     */
    public class TransTransactNamedPipe extends SmbComTransaction {
    
        private static final Logger log = LoggerFactory.getLogger(TransTransactNamedPipe.class);
    
        private final byte[] pipeData;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. docs/SMB3_IMPLEMENTATION_PLAN.md

    - [ ] Implement RDMA transport layer
    - [ ] Add RDMA buffer registration
    - [ ] Create RDMA read/write operations
    - [ ] Implement RDMA credits management
    - [ ] Add fallback to TCP when RDMA unavailable
    
    #### 5.3 Integration Points
    - Create new transport type alongside TCP
    - Modify negotiation to include RDMA contexts
    - Update read/write operations for RDMA
    
    ---
    
    ### Phase 6: Witness Protocol
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            // Replace info field
            Field infoField = msrpcShareGetInfo.getClass().getSuperclass().getDeclaredField("info");
            infoField.setAccessible(true);
            infoField.set(msrpcShareGetInfo, info502);
    
            // This should throw an ArrayIndexOutOfBoundsException when trying to read beyond array
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

     *       to extract child URLs.</li>
     *   <li><b>defaultEncoding:</b> The default character encoding to use if none is
     *       specified in the HTML content.</li>
     *   <li><b>preloadSizeForCharset:</b> The number of bytes to read from the input
     *       stream to determine the character set encoding.</li>
     *   <li><b>invalidUrlPattern:</b> A regular expression pattern used to identify
     *       invalid URLs.</li>
     * </ul>
     *
     * <p>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 29 07:42:33 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

     * credentials are retrieved from the {@code jcifs.smb.client.domain},
     * {@code jcifs.smb.client.username}, and {@code jcifs.smb.client.password}
     * properties.
     * <p>
     * Read <a href="../../../authhandler.html">jCIFS Exceptions and
     * NtlmAuthenticator</a> for related information.
     *
     * @deprecated use {@link NtlmPasswordAuthenticator} instead
     */
    @Deprecated
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top