Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testStats (0.03 sec)

  1. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            byte[] testMac = { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66 };
            System.arraycopy(testMac, 0, src, srcIndex + 19, 6);
    
            // Statistics (6 bytes)
            byte[] testStats = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 };
            System.arraycopy(testStats, 0, src, srcIndex + 25, 6);
    
            int result = response.readRDataWireFormat(src, srcIndex);
            assertEquals(31, result);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

        private Smb2LeaseKey testKey;
        private int testState;
    
        @BeforeEach
        void setUp() {
            byte[] keyBytes = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 };
            testKey = new Smb2LeaseKey(keyBytes);
            testState = Smb2LeaseState.SMB2_LEASE_READ_WRITE;
            leaseContext = new LeaseV1CreateContextRequest(testKey, testState);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top