Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 128 for Reserved1 (1.93 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                byte[] buffer = new byte[10];
                int bufferIndex = 0;
                SMBUtil.writeInt2(4, buffer, bufferIndex); // Write structure size = 4
                SMBUtil.writeInt2(0, buffer, bufferIndex + 2); // Reserved field
    
                // When
                int bytesRead = response.readBytesWireFormat(buffer, bufferIndex);
    
                // Then
                assertEquals(4, bytesRead);
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

            SMBUtil.writeInt2(this.dialects.length, dst, dstIndex + 2);
            dstIndex += 4;
    
            SMBUtil.writeInt2(this.securityMode, dst, dstIndex);
            SMBUtil.writeInt2(0, dst, dstIndex + 2); // Reserved
            dstIndex += 4;
    
            SMBUtil.writeInt4(this.capabilities, dst, dstIndex);
            dstIndex += 4;
    
            System.arraycopy(this.clientGuid, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. docs/smb3-features/02-persistent-handles-design.md

        public static final String NAME = "DHnQ";  // Durable Handle Request
        
        private static final int STRUCTURE_SIZE = 16;
        private long reserved;  // Must be zero
        
        public DurableHandleRequest() {
            super(NAME);
            this.reserved = 0;
        }
        
        @Override
        public void encode(byte[] buffer, int offset) {
            // Context header
            int nameLen = getName().length();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

            }
    
            @Test
            @DisplayName("Should not modify reserved field bytes")
            void testReservedFieldNotModified() {
                lock = new Smb2Lock(999L, 888L, 0xFF);
    
                // Fill buffer with non-zero values
                Arrays.fill(buffer, (byte) 0xFF);
    
                lock.encode(buffer, 0);
    
                // Reserved field bytes are not modified by the encode method
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java

            final int start = dstIndex;
            SMBUtil.writeInt2(24, dst, dstIndex);
            SMBUtil.writeInt2(this.closeFlags, dst, dstIndex + 2);
            dstIndex += 4;
            dstIndex += 4; // Reserved
            System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            if (log.isDebugEnabled()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java

            dstIndex += 2;
    
            SMBUtil.writeInt2(4, dst, dstIndex); // NameLength
            dstIndex += 2;
    
            SMBUtil.writeInt2(0, dst, dstIndex); // Reserved
            dstIndex += 2;
    
            SMBUtil.writeInt2(24, dst, dstIndex); // DataOffset (from start of context)
            dstIndex += 2;
    
            SMBUtil.writeInt4(STRUCTURE_SIZE, dst, dstIndex); // DataLength
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java

            System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            SMBUtil.writeInt4(this.completionFilter, dst, dstIndex);
            dstIndex += 4;
            dstIndex += 4; // Reserved
            return dstIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/DosError.java

                "The system cannot find the file specified.", "Bad password.", "The system cannot find the path specified.", "reserved",
                "The client does not have the necessary access rights to perform the requested function.", "Access is denied.",
                "The TID specified was invalid.", "The handle is invalid.", "The network name cannot be found.",
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/DosError.java

                "The system cannot find the file specified.", "Bad password.", "The system cannot find the path specified.", "reserved",
                "The client does not have the necessary access rights to perform the requested function.", "Access is denied.",
                "The TID specified was invalid.", "The handle is invalid.", "The network name cannot be found.",
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                assertEquals(targetOffset, SMBUtil.readInt8(buffer, startIndex + 8));
    
                // Verify length
                assertEquals(length, SMBUtil.readInt4(buffer, startIndex + 16));
    
                // Verify reserved bytes are zeros
                for (int i = 0; i < RESERVED_BYTES; i++) {
                    assertEquals(0, buffer[startIndex + 20 + i]);
                }
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top