Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 1,904 for Check (0.02 seconds)

  1. cmd/dynamic-timeouts_test.go

    	const successTimeout = 20 * time.Second
    	for range 100 {
    		for range dynamicTimeoutLogSize {
    			timeout.LogSuccess(successTimeout)
    		}
    	}
    
    	adjusted := timeout.Timeout()
    	// Check whether eventual timeout is between initial value and success timeout
    	if initial <= adjusted || adjusted <= successTimeout {
    		t.Errorf("Failure to decrease timeout appropriately")
    	}
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

        // as we cannot call it directly from the test.
        // This requires a package-private or public method in the class under test,
        // or we can just check for the prefix and suffix.
        // For this test, I'll add a helper in the response class to get super.toString()
        // Or, more simply, check the format of the string.
        @Test
        void testToStringFormat() {
            String str = response.toString();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/path-operation-configuration.md

    /// info
    
    Notice that `response_description` refers specifically to the response, the `description` refers to the *path operation* in general.
    
    ///
    
    /// check
    
    OpenAPI specifies that each *path operation* requires a response description.
    
    So, if you don't provide one, **FastAPI** will automatically generate one of "Successful response".
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  4. docs/en/docs/advanced/sub-applications.md

    In your top-level application, `app`, mount the sub-application, `subapi`.
    
    In this case, it will be mounted at the path `/subapi`:
    
    {* ../../docs_src/sub_applications/tutorial001_py310.py hl[11, 19] *}
    
    ### Check the automatic API docs { #check-the-automatic-api-docs }
    
    Now, run the `fastapi` command:
    
    <div class="termy">
    
    ```console
    $ fastapi dev
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/tutorial/path-params.md

    在這個例子裡,`item_id` 被宣告為 `int`。
    
    /// check
    
    這會在你的函式中提供編輯器支援,包括錯誤檢查、自動完成等。
    
    ///
    
    ## 資料 <dfn title="也稱為:序列化、解析、封送">轉換</dfn> { #data-conversion }
    
    如果你執行這個範例並在瀏覽器開啟 [http://127.0.0.1:8000/items/3](http://127.0.0.1:8000/items/3),你會看到這樣的回應:
    
    ```JSON
    {"item_id":3}
    ```
    
    /// check
    
    注意你的函式接收(並回傳)的值是 `3`,也就是 Python 的 `int`,而不是字串 `"3"`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

                unverifiedHandshake.peerCertificates,
                address.url.host,
              )
            }
          this.handshake = handshake
    
          // Check that the certificate pinner is satisfied by the certificates presented.
          certificatePinner.check(address.url.host) {
            handshake.peerCertificates.map { it as X509Certificate }
          }
    
          // Success! Save the handshake and the ALPN protocol.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 19.3K bytes
    - Click Count (2)
  7. docs/en/docs/tutorial/security/oauth2-jwt.md

    The important thing to keep in mind is that the `sub` key should have a unique identifier across the entire application, and it should be a string.
    
    ## Check it { #check-it }
    
    Run the server and go to the docs: [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs).
    
    You'll see the user interface like:
    
    <img src="/img/tutorial/security/image07.png">
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  8. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/InternalDistributionArchiveCheckPluginFuncTest.groovy

                include ':${projName}'
                """
    
                file("${projName}/build.gradle") << """
                    plugins {
                      id 'elasticsearch.internal-distribution-archive-check'
                    }"""
            }
            file("SomeFile.txt") << """
                some dummy txt file
            """
    
            buildFile << """
                allprojects {
                    apply plugin:'base'
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 10:22:28 GMT 2021
    - 5.9K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

                UpgradeContext context = createMockContext();
                strategy.doApply(context, pomMap);
    
                // Convert to string to check formatting
                String result = DomUtils.toXml(document);
    
                // Check that the plugin version was upgraded
                assertTrue(result.contains("<version>3.2</version>"), "Plugin version should be upgraded to 3.2");
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

            // Assert: verify interaction and returned value
            verify(renewable, times(1)).renew();
            assertSame(returned, result, "renew() should return the stubbed value");
    
            // Negative interaction check: no further interactions with the mock
            verifyNoMoreInteractions(renewable);
        }
    
        @Test
        @DisplayName("Edge: calling renew() on a null reference throws NPE")
        void renewOnNullReferenceThrowsNPE() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
Back to Top