Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 553 for smaller (0.25 sec)

  1. src/main/java/jcifs/SmbException.java

         *
         * @return retry delay or 0 if no retry
         */
        public long getRetryDelay() {
            switch (severity) {
            case RECOVERABLE:
                return 100; // Immediate retry with small delay
            case TRANSIENT:
                return 5000; // Wait 5 seconds
            default:
                return 0; // No retry
            }
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java

            bufferIndex += 4;
    
            // Validate remaining buffer size for algorithms
            if (len < 8 + (compressionCount * 2)) {
                throw new SMBProtocolDecodingException("Buffer too small for compression algorithms");
            }
    
            // Read compression algorithms
            this.compressionAlgorithms = new int[compressionCount];
            for (int i = 0; i < compressionCount; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

     * interaction with {@link NdrBuffer}.  All public behaviour is exercised.
     */
    @ExtendWith(MockitoExtension.class)
    class NdrShortTest {
    
        /**
         * A small reusable buffer for encode/decode tests.
         */
        private byte[] raw;
        private NdrBuffer buf;
    
        @BeforeEach
        void setUp() {
            // 10 bytes is more than enough for the 2-byte short
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/background-tasks.md

    But if you need to access variables and objects from the same **FastAPI** app, or you need to perform small background tasks (like sending an email notification), you can simply just use `BackgroundTasks`.
    
    ## Recap { #recap }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

            });
    
            assertThrows(CIFSException.class, () -> {
                preauthService.initializeSession("test", new byte[8], PreauthIntegrityService.HASH_ALGO_SHA512); // Too small
            });
        }
    
        @Test
        @DisplayName("Test unsupported hash algorithm")
        public void testUnsupportedHashAlgorithm() {
            byte[] salt = preauthService.generatePreauthSalt();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

            @Test
            @DisplayName("Should throw exception with insufficient buffer")
            void testReadBytesWireFormatInsufficientBuffer() {
                // Given
                byte[] buffer = new byte[1]; // Too small
    
                // When & Then
                assertThrows(ArrayIndexOutOfBoundsException.class, () -> response.readBytesWireFormat(buffer, 0));
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/generate-clients.md

    ```
    
    ... das liegt daran, dass der Client-Generator für jede *Pfadoperation* die OpenAPI-interne **Operation-ID** verwendet.
    
    OpenAPI erfordert, dass jede Operation-ID innerhalb aller *Pfadoperationen* eindeutig ist. Daher verwendet FastAPI den **Funktionsnamen**, den **Pfad** und die **HTTP-Methode/-Operation**, um diese Operation-ID zu generieren. Denn so kann sichergestellt werden, dass die Operation-IDs eindeutig sind.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Jun 17 11:53:56 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Chars.java

       * @return the same value cast to {@code char} if it is in the range of the {@code char} type,
       *     {@link Character#MAX_VALUE} if it is too large, or {@link Character#MIN_VALUE} if it is too
       *     small
       */
      public static char saturatedCast(long value) {
        if (value > Character.MAX_VALUE) {
          return Character.MAX_VALUE;
        }
        if (value < Character.MIN_VALUE) {
          return Character.MIN_VALUE;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Shorts.java

       * @param value any {@code long} value
       * @return the same value cast to {@code short} if it is in the range of the {@code short} type,
       *     {@link Short#MAX_VALUE} if it is too large, or {@link Short#MIN_VALUE} if it is too small
       */
      public static short saturatedCast(long value) {
        if (value > Short.MAX_VALUE) {
          return Short.MAX_VALUE;
        }
        if (value < Short.MIN_VALUE) {
          return Short.MIN_VALUE;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/Shorts.java

       * @param value any {@code long} value
       * @return the same value cast to {@code short} if it is in the range of the {@code short} type,
       *     {@link Short#MAX_VALUE} if it is too large, or {@link Short#MIN_VALUE} if it is too small
       */
      public static short saturatedCast(long value) {
        if (value > Short.MAX_VALUE) {
          return Short.MAX_VALUE;
        }
        if (value < Short.MIN_VALUE) {
          return Short.MIN_VALUE;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
Back to top