Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 159 of 159 for reserved2 (2.82 sec)

  1. src/test/java/jcifs/internal/AllocInfoTest.java

                // When
                long capacity = allocInfo.getCapacity();
                long free = allocInfo.getFree();
    
                // Then - values should be preserved even at boundaries
                assertEquals(Long.MAX_VALUE, capacity);
                assertEquals(Long.MAX_VALUE, free);
    
                // Note: In real implementation, free > capacity might be invalid,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NameTest.java

            assertEquals(0, name.srcHashCode); // Should remain 0
        }
    
        @Test
        void readWireFormat_withNonSpacePaddingCharacters_shouldPreserveLength() {
            // Test that non-space characters in padding are preserved in length calculation
            byte[] src = new byte[100];
            src[0] = 0x20;
    
            // Encode "AB" followed by non-space padding
            src[1] = 'E';
            src[2] = 'B'; // A
            src[3] = 'E';
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                byte[] rawMessage = originalMessage.toByteArray();
    
                // Manually set targetNameOff to a value that makes it too small for context/reserved
                Type2Message.writeULong(rawMessage, 16, 0); // targetNameOff is at byte 16
    
                // When
                Type2Message parsedMessage = new Type2Message(rawMessage);
    
                // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                digest.sign(data, 0, data.length, request, response);
    
                int flags = SMBUtil.readInt4(data, 16);
                assertEquals(initialFlags | ServerMessageBlock2.SMB2_FLAGS_SIGNED, flags, "Other flags should be preserved");
            }
    
            @Test
            @DisplayName("Should handle offset correctly")
            void testSignWithOffset() {
                byte[] largeData = new byte[256];
                int offset = 64;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  5. docs/smb3-features/03-multi-channel-design.md

            
            // InterfaceIndex (4 bytes)
            writeInt4(buffer, 0, interfaceIndex);
            
            // Capability (4 bytes)
            writeInt4(buffer, 4, capability);
            
            // Reserved (4 bytes)
            writeInt4(buffer, 8, 0);
            
            // LinkSpeed (8 bytes)
            writeInt8(buffer, 12, linkSpeed * 1000000L);  // Convert to bps
            
            // SockaddrStorage (128 bytes)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbTransport.java

             * calls doRecv() after and no one else but the transport thread
             * should call doRecv(). Therefore it is ok to expect that the data
             * in sbuf will be preserved for copying into BUF in doRecv().
             */
    
            return key;
        }
    
        @Override
        protected void doSend(final Request request) throws IOException {
            synchronized (BUF) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

             * calls doRecv() after and no one else but the transport thread
             * should call doRecv(). Therefore it is ok to expect that the data
             * in sbuf will be preserved for copying into BUF in doRecv().
             */
    
            return (long) Encdec.dec_uint16le(this.sbuf, 34) & 0xFFFF;
        }
    
        @Override
        protected void doSend(final Request request) throws IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFile.java

     * to register the SMB protocol handler.
     * <p>
     * The userinfo component of the SMB URL ({@code domain;user:pass}) must
     * be URL encoded if it contains reserved characters. According to RFC 2396
     * these characters are non US-ASCII characters and most meta characters
     * however jCIFS will work correctly with anything but '@' which is used
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * to register the SMB protocol handler.
     * <p>
     * The userinfo component of the SMB URL ({@code domain;user:pass}) must
     * be URL encoded if it contains reserved characters. According to RFC 2396
     * these characters are non US-ASCII characters and most meta characters
     * however jCIFS will work correctly with anything but '@' which is used
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top