Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 159 for reserved2 (1.9 sec)

  1. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            };
    
            SmbException ex = assertThrows(SmbException.class, () -> filter.accept(mockDir, "x"));
            assertEquals("boom", ex.getMessage(), "Exception message should be preserved");
            verifyNoInteractions(mockDir);
        }
    
        /**
         * Interaction with dependency: implementation can use directory's methods to make decisions.
         * Tests a filter that uses directory path information.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

                this.bufDataStart = this.totalParameterCount;
            }
            bufferIndex += 2;
            this.totalDataCount = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 4; // Reserved
            this.parameterCount = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.parameterOffset = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java

            this.leaseState = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.leaseFlags = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            // LeaseDuration (8 bytes) - reserved, skip
            bufferIndex += 8;
    
            return bufferIndex - start;
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

                // Assert
                assertNotNull(unwrapped);
                assertTrue(unwrapped instanceof DosFileFilter);
    
                // Verify fields preserved (via reflection since they are protected)
                var wildcardField = DosFileFilter.class.getDeclaredField("wildcard");
                wildcardField.setAccessible(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            assertEquals(24, SMBUtil.readInt2(buffer, offset));
    
            // Verify close flags (2 bytes at offset+2, should be 0 by default)
            assertEquals(0, SMBUtil.readInt2(buffer, offset + 2));
    
            // Verify Reserved (4 bytes at offset+4, should be 0)
            assertEquals(0, SMBUtil.readInt4(buffer, offset + 4));
    
            // Verify file ID is copied correctly (16 bytes starting at offset+8)
            byte[] copiedFileId = new byte[16];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java

            if (this.structureSize != 44) {
                throw new SMBProtocolDecodingException("Invalid lease break structure size: " + this.structureSize);
            }
            bufferIndex += 2;
    
            // Reserved (2 bytes)
            bufferIndex += 2;
    
            // Flags (4 bytes)
            this.flags = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            // LeaseKey (16 bytes)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

            // Act
            SMBSignatureValidationException ex = new SMBSignatureValidationException("msg", mocked);
    
            // Assert
            assertSame(mocked, ex.getCause(), "Mocked cause should be preserved");
            verifyNoInteractions(mocked);
        }
    
        // Reflection-based check: ensure serialVersionUID remains the declared constant
        @Test
        @DisplayName("serialVersionUID matches declared constant")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

            for (String pipeName : pipeNames) {
                TransWaitNamedPipe pipe = new TransWaitNamedPipe(pipeName);
                assertEquals(pipeName, pipe.name, "Pipe name should be preserved: " + pipeName);
                assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION, pipe.command);
                assertEquals(SmbComTransaction.TRANS_WAIT_NAMED_PIPE, pipe.subCommand);
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComSetInformation.java

            final int start = dstIndex;
            SMBUtil.writeInt2(this.fileAttributes, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeUTime(this.lastWriteTime, dst, dstIndex);
            dstIndex += 4;
            // reserved
            dstIndex += 10;
            return dstIndex - start;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/samr.java

            }
    
            /** The return value of the operation */
            public int retval;
            /** The NetBIOS name of the server to connect to */
            public String system_name;
            /** Reserved parameter, must be set to 2 */
            public int unknown;
            /** The desired access rights to the SAM server */
            public int access_mask;
            /** The returned handle to the SAM server */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
Back to top