Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for assignments (0.08 sec)

  1. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

       * SES.schedule is called. Therefore Fire.run has to check for null. However, it should be visible
       * if Fire.run is called by delegate.addListener since addListener is called after the assignment
       * to timer, and importantly this is the main situation in which we need to be able to see the
       * write.
       *
       * 2. visibility of the writes to an afterDone() call triggered by cancel():
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java

          throwable = t;
        }
    
        if (throwable == null) {
          /*
           * The cast is safe: There was no exception, so the assignment from getDone must have
           * succeeded.
           */
          set(uncheckedCastNullableTToT(sourceResult));
          return;
        }
    
        if (!isInstanceOfThrowableClass(throwable, localExceptionType)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/extra-models.md

    If it was in a type annotation we could have used the vertical bar, as:
    
    ```Python
    some_variable: PlaneItem | CarItem
    ```
    
    But if we put that in the assignment `response_model=PlaneItem | CarItem` we would get an error, because Python would try to perform an **invalid operation** between `PlaneItem` and `CarItem` instead of interpreting that as a type annotation.
    
    ## List of models
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top