Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,802 for tave (0.02 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt

          return@schedule -1L
        }
    
        queue.idleLatch().await(500, TimeUnit.MILLISECONDS)
    
        assertThat(log.take()).isEqualTo("failing task running")
        assertThat(log.take()).isEqualTo("uncaught exception: java.lang.RuntimeException: boom!")
        assertThat(log.take()).isEqualTo("normal task running")
        assertThat(log).isEmpty()
      }
    
      @Test fun idleLatchAfterShutdown() {
        queue.schedule("task") {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/generate-clients.md

    /// tip
    
    Notice the autocompletion for `name` and `price`, that was defined in the FastAPI application, in the `Item` model.
    
    ///
    
    You will have inline errors for the data that you send:
    
    <img src="/img/tutorial/generate-clients/image04.png">
    
    The response object will also have autocompletion:
    
    <img src="/img/tutorial/generate-clients/image05.png">
    
    ## FastAPI App with Tags { #fastapi-app-with-tags }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            assertEquals(1, stats.getRdmaReads(), "Should have 1 read operation");
            assertEquals(1, stats.getRdmaWrites(), "Should have 1 write operation");
            assertEquals(1, stats.getRdmaSends(), "Should have 1 send operation");
            assertEquals(1, stats.getRdmaReceives(), "Should have 1 receive operation");
            assertEquals(5120, stats.getBytesTransferred(), "Should have transferred 5KB total");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            assertEquals(2, pairs.size(), "Should have 2 pairs after replace");
            assertTrue(AvPairs.contains(pairs, AvPair.MsvAvFlags), "Should contain MsvAvFlags");
            assertTrue(AvPairs.contains(pairs, AvPair.MsvAvTimestamp), "Should still contain MsvAvTimestamp");
    
            AvPair result = AvPairs.get(pairs, AvPair.MsvAvFlags);
            assertEquals(newFlags, result, "Should have the new flags instance");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

            }
          }
    
          if (route.address.sslSocketFactory != null) {
            // Assume the server won't send a TLS ServerHello until we send a TLS ClientHello. If
            // that happens, then we will have buffered bytes that are needed by the SSLSocket!
            // This check is imperfect: it doesn't tell us whether a handshake will succeed, just
            // that it will almost certainly fail because the proxy has sent unexpected data.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            // When - Get a buffer
            byte[] buffer = BufferCache.getBuffer();
    
            // Then - Buffer should have expected size
            assertNotNull(buffer, "Buffer should not be null");
            assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, buffer.length, "Buffer should have TRANSACTION_BUF_SIZE");
    
            // The validation in getBuffer() ensures size is within bounds (0 < size <= 1MB)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/DialectVersionTest.java

        }
    
        @Test
        @DisplayName("Should have correct dialect codes for SMB2+ versions")
        void testDialectCodes() {
            // SMB1 should throw UnsupportedOperationException
            assertThrows(UnsupportedOperationException.class, () -> {
                DialectVersion.SMB1.getDialect();
            });
    
            // SMB2+ versions should have valid dialect codes
            assertTrue(DialectVersion.SMB202.getDialect() > 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/separate-openapi-schemas.md

    In fact, in some cases, it will even have **two JSON Schemas** in OpenAPI for the same Pydantic model, for input and output, depending on if they have **default values**.
    
    Let's see how that works and how to change it if you need to do that.
    
    ## Pydantic Models for Input and Output { #pydantic-models-for-input-and-output }
    
    Let's say you have a Pydantic model with default values, like this one:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

          try {
            new NullPointerTester().testMethodParameter(new OneArg(), method, 0);
          } catch (AssertionError unexpected) {
            throw new AssertionError("Should not have flagged method " + methodName, unexpected);
          }
        }
      }
    
      public void testStaticOneArgMethodsThatShouldFail() throws Exception {
        for (String methodName : STATIC_ONE_ARG_METHODS_SHOULD_FAIL) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/response-status-code.md

        * A special case is `204`, "No Content".  This response is used when there is no content to return to the client, and so the response must not have a body.
    * **`300 - 399`** are for "Redirection".  Responses with these status codes may or may not have a body, except for `304`, "Not Modified", which must not have one.
    * **`400 - 499`** are for "Client error" responses. These are the second type you would probably use the most.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top