Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for putLong (0.16 sec)

  1. docs/en/docs/advanced/events.md

    We create an async function `lifespan()` with `yield` like this:
    
    ```Python hl_lines="16  19"
    {!../../../docs_src/events/tutorial003.py!}
    ```
    
    Here we are simulating the expensive *startup* operation of loading the model by putting the (fake) model function in the dictionary with machine learning models before the `yield`. This code will be executed **before** the application **starts taking requests**, during the *startup*.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/admissionregistration/v1beta1/generated.proto

      // The webhook cares about an operation if it matches _any_ Rule.
      // However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks
      // from putting the cluster in a state which cannot be recovered from without completely
      // disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/admissionregistration/v1/generated.proto

      // The webhook cares about an operation if it matches _any_ Rule.
      // However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks
      // from putting the cluster in a state which cannot be recovered from without completely
      // disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/extra-models.md

        ```
    
    ### `Union` in Python 3.10
    
    In this example we pass `Union[PlaneItem, CarItem]` as the value of the argument `response_model`.
    
    Because we are passing it as a **value to an argument** instead of putting it in a **type annotation**, we have to use `Union` even in Python 3.10.
    
    If it was in a type annotation we could have used the vertical bar, as:
    
    ```Python
    some_variable: PlaneItem | CarItem
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (1)
  5. guava/src/com/google/common/base/Suppliers.java

        }
    
        @Override
        @ParametricNullness
        public T get() {
          // Another variant of Double Checked Locking.
          //
          // We use two volatile reads. We could reduce this to one by
          // putting our fields into a holder class, but (at least on x86)
          // the extra memory consumption and indirection are more
          // expensive than the extra volatile reads.
          long nanos = expirationNanos;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Suppliers.java

        }
    
        @Override
        @ParametricNullness
        public T get() {
          // Another variant of Double Checked Locking.
          //
          // We use two volatile reads. We could reduce this to one by
          // putting our fields into a holder class, but (at least on x86)
          // the extra memory consumption and indirection are more
          // expensive than the extra volatile reads.
          long nanos = expirationNanos;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  7. architecture/ambient/ztunnel.md

    * It should not be client-specific.
      * In Istio sidecars, historically we had a lot of client-specific xDS. For example, putting the xDS-client's IP back into the xDS response. This makes efficient control plane implementation (most notably, caching), extremely challenging.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 22:35:16 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  8. docs/en/docs/python-types.md

    ## Type Hints with Metadata Annotations
    
    Python also has a feature that allows putting **additional metadata** in these type hints using `Annotated`.
    
    === "Python 3.9+"
    
        In Python 3.9, `Annotated` is part of the standard library, so you can import it from `typing`.
    
        ```Python hl_lines="1  4"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  9. docs/en/docs/async.md

    Then the cashier 💁 says "I'm finished with doing the burgers" by putting your number on the counter's display, but you don't jump like crazy immediately when the displayed number changes to your turn number. You know no one will steal your burgers because you have the number of your turn, and they have theirs.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  10. cmd/erasure-sets.go

    				continue
    			}
    
    			// An online-disk means its a valid disk but it may be a re-connected disk
    			// we verify that here based on LastConn(), however we make sure to avoid
    			// putting it back into the s.erasureDisks by re-placing the disk again.
    			_, setIndex, _ := cdisk.GetDiskLoc()
    			if setIndex != -1 {
    				continue
    			}
    		}
    		if cdisk != nil {
    			// Close previous offline disk.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
Back to top