Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NdrSmall (0.15 sec)

  1. src/main/java/jcifs/dcerpc/ndr/NdrSmall.java

     */
    public class NdrSmall extends NdrObject {
    
        /**
         * The small integer value (0-255)
         */
        public int value;
    
        /**
         * Constructs an NdrSmall with the specified value
         * @param value the small integer value (will be masked to 0-255 range)
         */
        public NdrSmall(final int value) {
            this.value = value & 0xFF;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/ndr/NdrSmall.java

     */
    public class NdrSmall extends NdrObject {
    
        /**
         * The small integer value (0-255)
         */
        public int value;
    
        /**
         * Constructs an NdrSmall with the specified value
         * @param value the small integer value (will be masked to 0-255 range)
         */
        public NdrSmall(final int value) {
            this.value = value & 0xFF;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java

            // Test with a value within the byte range
            NdrSmall ndrSmall = new NdrSmall(123);
            assertEquals(123, ndrSmall.value, "Value should be initialized correctly for valid input.");
        }
    
        @Test
        void testConstructor_maxValue() {
            // Test with the maximum byte value
            NdrSmall ndrSmall = new NdrSmall(255);
            assertEquals(255, ndrSmall.value, "Value should be initialized correctly for max byte value.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top