Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for alignment (0.65 sec)

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

        /**
         * Rounds up the size to 8-byte alignment.
         *
         * @param size the size to align
         * @return the aligned size
         */
        protected static final int size8(final int size) {
            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
    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/nego/Smb2NegotiateResponseInputValidationTest.java

            int contextPos = 192;
            SMBUtil.writeInt2(1, buffer, contextPos); // Context type
            SMBUtil.writeInt2(2000, buffer, contextPos + 2); // Excessive data length (> 1024)
            // Add padding for 8-byte alignment
            SMBUtil.writeInt2(0, buffer, contextPos + 4); // Reserved
    
            // The validation logic is implemented and verified through code inspection
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            assertEquals(1, notifications.size());
            assertEquals(action, notifications.get(0).getAction());
        }
    
        @Test
        @DisplayName("Should handle notification chain with alignment")
        void testNotificationChainAlignment() throws Exception {
            // Given - notifications must be 4-byte aligned
            byte[] buffer = new byte[1024];
            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)
  4. docs/en/docs/tutorial/extra-models.md

    If it was in a type annotation we could have used the vertical bar, as:
    
    ```Python
    some_variable: PlaneItem | CarItem
    ```
    
    But if we put that in the assignment `response_model=PlaneItem | CarItem` we would get an error, because Python would try to perform an **invalid operation** between `PlaneItem` and `CarItem` instead of interpreting that as a type annotation.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. docs/en/docs/release-notes.md

    * ♻ Move internal variable for errors in `jsonable_encoder` to put related code closer. PR [#4560](https://github.com/tiangolo/fastapi/pull/4560) by [@GuilleQP](https://github.com/GuilleQP).
    * ♻ Simplify conditional assignment in `fastapi/dependencies/utils.py`. PR [#4597](https://github.com/tiangolo/fastapi/pull/4597) by [@cikay](https://github.com/cikay).
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
Back to top