Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for NdrSmall (0.18 seconds)

  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;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.7K bytes
    - Click Count (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;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.7K bytes
    - Click Count (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.");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.2K bytes
    - Click Count (0)
Back to Top