Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getTailSpace (0.13 sec)

  1. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            return buf.length - start;
        }
    
        /**
         * Returns the available space at the tail of the buffer.
         *
         * @return the available tail space
         */
        public int getTailSpace() {
            return buf.length - index;
        }
    
        /**
         * Returns the underlying byte buffer.
         *
         * @return the byte buffer
         */
        public byte[] getBuffer() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            return this.buf.length - this.start;
        }
    
        /**
         * Returns the available space at the tail of the buffer.
         *
         * @return the available tail space
         */
        public int getTailSpace() {
            return this.buf.length - this.index;
        }
    
        /**
         * Returns the underlying byte buffer.
         *
         * @return the byte buffer
         */
        public byte[] getBuffer() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            assertEquals(buffer.length - 100, offsetBuffer.getCapacity());
        }
    
        @Test
        void testGetTailSpace() {
            ndrBuffer.setIndex(100);
            assertEquals(buffer.length - 100, ndrBuffer.getTailSpace());
        }
    
        @Test
        void testGetBuffer() {
            assertSame(buffer, ndrBuffer.getBuffer());
        }
    
        @Test
        void testAlignWithValue() {
            // Align to 4-byte boundary with a fill value
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top