Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for BOUNDARY (1.15 sec)

  1. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            return size8(size, 0);
        }
    
        /**
         * Rounds up the size to the specified alignment.
         *
         * @param size the size to align
         * @param align the alignment boundary
         * @return the aligned size
         */
        protected static final int size8(final int size, final int align) {
    
            int rem = size % 8 - align;
            if (rem == 0) {
                return size;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            assertEquals("abc", notifications.get(0).getFileName());
            assertEquals("test", notifications.get(1).getFileName());
        }
    
        @Test
        @DisplayName("Should handle buffer boundary conditions")
        void testBufferBoundaryConditions() throws Exception {
            // Given - notification exactly at buffer end
            byte[] buffer = new byte[104]; // Exact size needed
            int offset = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top