Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 790 for CUSTOM (0.04 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

      /*
       * Under Android, MyError propagates up and fails the test?
       *
       * TODO(b/218700094): Does this matter to prod users, or is it just a feature of our testing
       * environment? If the latter, maybe write a custom Executor that avoids failing the test when it
       * sees an Error?
       */
      @AndroidIncompatible
      public void testTaskThrowsError() throws Exception {
        class MyError extends Error {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  2. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     * fragile because they assume that only certain methods will be called and because they often
     * implement subtleties of the API improperly.
     *
     * <p><b>Custom implementation</b>: Avoid implementing {@code ListenableFuture} from scratch. If you
     * can't get by with the standard implementations, prefer to derive a new {@code Future} instance
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

            // Note: getType() method does not exist in Type1Message
            assertTrue(type1.getFlags() != 0); // Should have some flags set
        }
    
        @Test
        @DisplayName("Should create Type 1 message with custom flags")
        void testType1MessageWithFlags() {
            // Given
            int flags =
                    NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE | NtlmFlags.NTLMSSP_NEGOTIATE_NTLM | NtlmFlags.NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt

     *
     * Not supported by choice on JDK9+ due to access checks.
     *
     * ### Android Cleartext Permit Detection
     *
     * Supported on Android 6.0+ via `NetworkSecurityPolicy`.
     */
    open class Platform {
      /** Prefix used on custom headers. */
      fun getPrefix() = "OkHttp"
    
      open fun newSSLContext(): SSLContext = SSLContext.getInstance("TLS")
    
      open fun platformTrustManager(): X509TrustManager {
        val factory =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  5. src/main/webapp/js/suggestor.js

              $boxElement.addClass("suggestorBox");
              $boxElement.attr({
                role: "listbox",
                "aria-label": "Search suggestions"
              });
    
              // Apply default or custom CSS styles
              $boxElement.css({
                display: "none",
                position: "absolute",
                "text-align": "left",
                "font-size": $element.css("font-size")
              });
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 11:04:08 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            LeaseEntry entry = leaseManager.getLease(key);
            assertNotNull(entry);
            assertEquals(newState, entry.getLeaseState());
        }
    
        @Test
        @DisplayName("Should clean up expired leases with custom timeout")
        void testCleanupExpiredLeasesWithCustomTimeout() throws InterruptedException {
            String path1 = "/share/expired1.txt";
            String path2 = "/share/expired2.txt";
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  7. CHANGELOG/CHANGELOG-1.11.md

        * Custom apiservers built with the latest apiserver library will have the 100MB limit on the body of resource requests as well. The limit can be altered via ServerRunOptions.MaxRequestBodyBytes.
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Feb 06 06:04:15 GMT 2020
    - 328.4K bytes
    - Click Count (0)
  8. fastapi/encoders.py

        custom_encoder: Annotated[
            dict[Any, Callable[[Any], Any]] | None,
            Doc(
                """
                Pydantic's `custom_encoder` parameter, passed to Pydantic models to define
                a custom encoder.
                """
            ),
        ] = None,
        sqlalchemy_safe: Annotated[
            bool,
            Doc(
                """
                Exclude from the output any fields that start with the name `_sa`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  9. docs/zh/docs/advanced/stream-data.md

    ### 流式传输字节 { #stream-bytes }
    
    主要的用例之一是流式传输 `bytes` 而不是字符串,这当然可以做到。
    
    {* ../../docs_src/stream_data/tutorial001_py310.py ln[44:47] hl[47] *}
    
    ## 自定义 `PNGStreamingResponse` { #a-custom-pngstreamingresponse }
    
    在上面的示例中,虽然按字节流式传输了数据,但响应没有 `Content-Type` 头,因此客户端不知道接收到的数据类型。
    
    你可以创建 `StreamingResponse` 的自定义子类,将 `Content-Type` 头设置为你要流式传输的数据类型。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  10. internal/config/identity/openid/jwt.go

    	ErrTokenExpired = errors.New("token expired")
    )
    
    func updateClaimsExpiry(dsecs string, claims map[string]any) error {
    	expStr := claims["exp"]
    	if expStr == "" {
    		return ErrTokenExpired
    	}
    
    	// No custom duration requested, the claims can be used as is.
    	if dsecs == "" {
    		return nil
    	}
    
    	if _, err := auth.ExpToInt64(expStr); err != nil {
    		return err
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.4K bytes
    - Click Count (0)
Back to Top