Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 342 for too (0.02 sec)

  1. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

        }
    
        @Test
        @DisplayName("Should handle parsing invalid message bytes")
        void testInvalidMessageBytes() {
            // Given
            byte[] invalidBytes = { 1, 2, 3, 4, 5 }; // Too short and invalid
    
            // When/Then
            assertThrows(IOException.class, () -> {
                new Type3Message(invalidBytes);
            });
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

            }
    
            response.body.closeQuietly()
    
            if (++followUpCount > MAX_FOLLOW_UPS) {
              call.eventListener.followUpDecision(call, response, null)
              throw ProtocolException("Too many follow-up requests: $followUpCount")
            }
    
            call.eventListener.followUpDecision(call, response, followUp)
            request = followUp
            priorResponse = response
          } finally {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/custom-response.md

    By returning the result of calling `generate_html_response()`, you are already returning a `Response` that will override the default **FastAPI** behavior.
    
    But as you passed the `HTMLResponse` in the `response_class` too, **FastAPI** will know how to document it in OpenAPI and the interactive docs as HTML with `text/html`:
    
    <img src="/img/tutorial/custom-response/image01.png">
    
    ## Available responses { #available-responses }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        char[][] arrays = new char[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        char[] sharedArray = new char[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Chars.concat(arrays);
          fail();
        } catch (IllegalArgumentException expected) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            // Iterate through connections without synchronization - ConcurrentLinkedQueue is thread-safe
            for (SmbTransportImpl transport : connections) {
                try {
                    // Check if connection has been idle too long
                    // Note: getLastUseTime() method would need to be added to SmbTransportImpl
                    // For now, we'll use a simple disconnected check
                    if (transport.isDisconnected()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeConnection.java

                    request.setFullUNCPath(session.getTargetDomain(), session.getTargetHost(), rfullpath);
                }
    
                // for standalone DFS we could be checking for a referral here, too
                DfsReferralData dr = this.ctx.getDfs().resolve(this.ctx, loc.getServer(), loc.getShare(), loc.getUNCPath());
                if (dr != null) {
                    if (log.isDebugEnabled()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSet.java

       * worry that we might trigger the fallback to the JDK-backed implementation? (The varargs one
       * _could_, so we could keep it as it is. Or we could convince ourselves that hash flooding is
       * unlikely in practice there, too.)
       */
    
      /**
       * Returns an immutable set containing the given elements, minus duplicates, in the order each was
       * first specified. That is, if multiple elements are {@linkplain Object#equals equal}, all except
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/security/oauth2-jwt.md

    Many packages that simplify it a lot have to make many compromises with the data model, database, and available features. And some of these packages that simplify things too much actually have security flaws underneath.
    
    ---
    
    **FastAPI** doesn't make any compromise with any database, data model or tool.
    
    It gives you all the flexibility to choose the ones that fit your project the best.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle maximum path length")
            void testMaximumPathLength() {
                // Create a very long path (but not too long to cause memory issues)
                StringBuilder sb = new StringBuilder("\\\\server");
                for (int i = 0; i < 1000; i++) {
                    sb.append("\\segment");
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            }
    
            @Test
            @DisplayName("Should reject when signature field exceeds buffer size in sign method")
            void testSignSignatureExceedsBuffer() {
                byte[] data = new byte[50]; // Too small for signature field
                assertThrows(IllegalArgumentException.class, () -> digest.sign(data, 0, 50, request, response),
                        "Should throw IllegalArgumentException when signature field exceeds buffer");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
Back to top