Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testPowerOfTwoValues (0.07 sec)

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

                assertEquals(4, SMBUtil.readInt4(buffer, 64));
            }
    
            @Test
            @DisplayName("Should handle power of two values")
            void testPowerOfTwoValues() {
                long powerOfTwoOffset = 1L << 32; // 2^32
                long powerOfTwoLength = 1L << 16; // 2^16
                int powerOfTwoFlags = 1 << 8; // 2^8
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                assertEquals(589824, response.getTotalBytesWritten());
            }
    
            @Test
            @DisplayName("Should handle power of 2 values")
            void testPowerOfTwoValues() throws SMBProtocolDecodingException {
                byte[] buffer = createValidCopyChunkResponse(64, // 2^6 chunks
                        1048576, // 2^20 bytes (1MB)
                        67108864 // 2^26 bytes (64MB)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
Back to top