Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for preferGo (0.15 sec)

  1. src/net/conf.go

    //
    // Adding netdns=go to GODEBUG will prefer the go resolver.
    // Adding netdns=cgo to GODEBUG will prefer the cgo resolver.
    //
    // The Resolver struct has a PreferGo field that user code
    // may set to prefer the go resolver. It is documented as being
    // equivalent to adding netdns=go to GODEBUG.
    //
    // When deciding which resolver to use, we first check the PreferGo field.
    // If that is not set, we check the GODEBUG setting.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. src/net/lookup_test.go

    		t.Skip("skipping on plan9")
    	}
    	rDeadlineExcceeded := &Resolver{PreferGo: true, Dial: func(ctx context.Context, network, address string) (Conn, error) {
    		return nil, context.DeadlineExceeded
    	}}
    	rCancelled := &Resolver{PreferGo: true, Dial: func(ctx context.Context, network, address string) (Conn, error) {
    		return nil, context.Canceled
    	}}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

        ```
    
    === "Python 3.10+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/dependencies/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="11"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/security/oauth2-scopes.md

        ```
    
    === "Python 3.10+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="4  8  12  46  64  105  107-115  121-124  128-134  139  155"
        {!> ../../../docs_src/security/tutorial005_py310.py!}
        ```
    
    === "Python 3.9+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/query-params-str-validations.md

        ```
    
    === "Python 3.10+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/query_params_str_validations/tutorial003_py310.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="10"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/security/simple-oauth2.md

        ```
    
    === "Python 3.10+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="2  74"
        {!> ../../../docs_src/security/tutorial003_py310.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="4  76"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. pkg/workloadapi/workload.proto

    message LoadBalancing {
      enum Scope {
        UNSPECIFIED_SCOPE = 0;
        // Prefer traffic in the same region.
        REGION = 1;
        // Prefer traffic in the same zone.
        ZONE = 2;
        // Prefer traffic in the same subzone.
        SUBZONE = 3;
        // Prefer traffic on the same node.
        NODE = 4;
        // Prefer traffic in the same cluster.
        CLUSTER = 5;
        // Prefer traffic in the same network.
        NETWORK = 6;
      }
      enum Mode {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/security/oauth2-jwt.md

        ```
    
    === "Python 3.10+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="7  48  55-56  59-60  69-75"
        {!> ../../../docs_src/security/tutorial004_py310.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="8  49  56-57  60-61  70-76"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/dependencies/index.md

        ```
    
    === "Python 3.10+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="6-7"
        {!> ../../../docs_src/dependencies/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="8-11"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/schema-extra-example.md

        ```
    
    === "Python 3.10+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="18-25"
        {!> ../../../docs_src/schema_extra_example/tutorial003_py310.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="20-27"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top