Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4441 - 4450 of 4,820 for IF (0.01 sec)

  1. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

                    this.exception = e;
                }
    
                @Override
                public int decode(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
                    if (buffer == null || buffer.length < bufferIndex + 4) {
                        throw new SMBProtocolDecodingException("Buffer too small");
                    }
                    return 4;
                }
    
                @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/schema-extra-example.md

    With `openapi_examples` added to `Body()` the `/docs` would look like:
    
    <img src="/img/tutorial/body-fields/image02.png">
    
    ## Technical Details { #technical-details }
    
    /// tip
    
    If you are already using **FastAPI** version **0.99.0 or above**, you can probably **skip** these details.
    
    They are more relevant for older versions, before OpenAPI 3.1.0 was available.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

        server.enqueue(MockResponse.Builder().body("b").build()) // Fetched directly.
        client =
          client
            .newBuilder()
            .addInterceptor(
              Interceptor { chain: Interceptor.Chain ->
                if (chain.request().url.encodedPath == "/b") {
                  val requestA =
                    Request
                      .Builder()
                      .url(server.url("/a"))
                      .build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  4. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        val redirect = server.takeRequest()
        assertThat(redirect.requestLine).isEqualTo("GET /new-path HTTP/1.1")
      }
    
      /**
       * Test that MockWebServer blocks for a call to enqueue() if a request is made before a mock
       * response is ready.
       */
      @Test
      fun dispatchBlocksWaitingForEnqueue() {
        Thread {
          try {
            Thread.sleep(1000)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            // Given
            setPrivateField(response, "supportsEncryption", false);
    
            // Then
            assertFalse(response.isEncryptionSupported());
        }
    
        @Test
        @DisplayName("Should check if can reuse")
        void testCanReuse() {
            // When same config
            assertTrue(response.canReuse(mockContext, false));
    
            // When different config
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFileTest.java

                doReturn(true).when(smbFile).exists();
                doReturn(true).when(smbFile).isDirectory();
                doNothing().when(smbFile).mkdir();
    
                // Act & Assert - mkdir should succeed silently if directory already exists
                smbFile.mkdir();
            }
    
            @Test
            void testRenameToSameFile() throws MalformedURLException, SmbException {
                // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/first-steps.md

    #### Check the `openapi.json` { #check-the-openapi-json }
    
    If you are curious about how the raw OpenAPI schema looks like, FastAPI automatically generates a JSON (schema) with the descriptions of all your API.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt

      }
    
      fun assertFailure(vararg allowedExceptionTypes: Class<*>) =
        apply {
          var found = false
          for (expectedClass in allowedExceptionTypes) {
            if (expectedClass.isInstance(failure)) {
              found = true
              break
            }
          }
          assertThat(
            found,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/DfsImplTest.java

            dfsImpl = new DfsImpl(mockContext);
        }
    
        // Test for the constructor
        @Test
        void testDfsImplConstructor() {
            // The constructor is called in setUp(), so if no exception is thrown, this test passes.
            assertNotNull(dfsImpl);
        }
    
        // Tests for isTrustedDomain
        @Test
        void testIsTrustedDomain_DfsDisabled() throws SmbAuthException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

            LabelTypeHelper mockLabelTypeHelper = new LabelTypeHelper() {
                @Override
                public Set<String> getMatchedLabelValueSet(String url) {
                    Set<String> labels = new HashSet<>();
                    if (url != null && url.contains("test")) {
                        labels.add("label1");
                        labels.add("label2");
                    }
                    return labels;
                }
            };
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top