Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 93 for 0x0001 (0.03 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            // Write Status (little-endian) at offset 8 in the SMB2 header
            SMBUtil.writeInt4(status, hdr, 8);
            // Write Command = SMB2_IOCTL (0x000B) at offset 12
            SMBUtil.writeInt2(0x000B, hdr, 12);
            // Mark as server response to be realistic (optional)
            SMBUtil.writeInt4(0x00000001, hdr, 16); // Flags = SMB2_FLAGS_SERVER_TO_REDIR
            return hdr;
        }
    
    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/util/SMBUtilTest.java

                    (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF,
                    // 0x0000000000000000L
                    (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 };
    
            assertEquals(0x123456789ABCDEF0L, SMBUtil.readInt8(src, 0));
            assertEquals(0xFFFFFFFFFFFFFFFFL, SMBUtil.readInt8(src, 8));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/Hexdump.java

            while (size > 0) {
                final int i = dstIndex + size - 1;
                if (i < dst.length) {
                    dst[i] = HEX_DIGITS[val & 0x000F];
                }
                if (val != 0) {
                    val >>>= 4;
                }
                size--;
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

            assertEquals((byte) 0x08, SmbComTransaction.TRANS2_SET_FILE_INFORMATION);
    
            // Test NET subcommands
            assertEquals(0x0000, SmbComTransaction.NET_SHARE_ENUM);
            assertEquals(0x0068, SmbComTransaction.NET_SERVER_ENUM2);
            assertEquals(0x00D7, SmbComTransaction.NET_SERVER_ENUM3);
    
            // Test TRANS subcommands
            assertEquals((byte) 0x23, SmbComTransaction.TRANS_PEEK_NAMED_PIPE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/Utf8Test.java

        }
      }
    
      // 128 - [chars 0x0000 to 0x007f]
      private static final long ONE_BYTE_ROUNDTRIPPABLE_CHARACTERS = 0x007f - 0x0000 + 1;
    
      // 128
      private static final long EXPECTED_ONE_BYTE_ROUNDTRIPPABLE_COUNT =
          ONE_BYTE_ROUNDTRIPPABLE_CHARACTERS;
    
      // 1920 [chars 0x0080 to 0x07FF]
      private static final long TWO_BYTE_ROUNDTRIPPABLE_CHARACTERS = 0x07FF - 0x0080 + 1;
    
      // 18,304
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            // Credit charge
            SMBUtil.writeInt2(1, buffer, headerStart + 6);
            // Status
            SMBUtil.writeInt4(0, buffer, headerStart + 8);
            // Command (READ = 0x0008)
            SMBUtil.writeInt2(0x0008, buffer, headerStart + 12);
            // Credit request/response
            SMBUtil.writeInt2(1, buffer, headerStart + 14);
            // Flags
            SMBUtil.writeInt4(0, buffer, headerStart + 16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java

            assertEquals(0, new BigDecimal("0.001").compareTo(BigDecimalConversionUtil.toBigDecimal(Double.valueOf(0.001D))));
            assertEquals(0, new BigDecimal("0.0001").compareTo(BigDecimalConversionUtil.toBigDecimal(Double.valueOf(0.0001D))));
            assertEquals(0, new BigDecimal("0.00001").compareTo(BigDecimalConversionUtil.toBigDecimal(Double.valueOf(0.00001D))));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

                dstIndex++;
                dst[dstIndex++] = (byte) 0x00; // Reserved1
                writeInt2(flags, dst, dstIndex);
                dstIndex += 2;
                writeInt4(timeout, dst, dstIndex);
                dstIndex += 4;
                dst[dstIndex++] = (byte) 0x00; // Reserved2
                dst[dstIndex++] = (byte) 0x00;
            }
            writeInt2(parameterCount, dst, dstIndex);
            dstIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

        @DisplayName("Should support AES-256 cipher constants")
        void testAES256CipherConstants() {
            // Verify AES-256 constants are defined
            assertEquals(0x0003, Smb2EncryptionContext.CIPHER_AES_256_CCM, "AES-256-CCM constant should be defined");
            assertEquals(0x0004, Smb2EncryptionContext.CIPHER_AES_256_GCM, "AES-256-GCM constant should be defined");
    
            // Test creating context with AES-256 cipher IDs
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            assertNotNull(result);
            assertTrue(result.contains("FileNotifyInformation"));
            assertTrue(result.contains("nextEntry=0"));
            assertTrue(result.contains("action=0x0000")); // Hexdump.toHexString produces 4-char padded hex
            assertTrue(result.contains("file=null"));
        }
    
        @ParameterizedTest
        @DisplayName("Test decode with aligned next entry offsets")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top