Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 163 for logic (0.04 sec)

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

    # Lifespan Events
    
    You can define logic (code) that should be executed before the application **starts up**. This means that this code will be executed **once**, **before** the application **starts receiving requests**.
    
    The same way, you can define logic (code) that should be executed when the application is **shutting down**. In this case, this code will be executed **once**, **after** having handled possibly **many requests**.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:36:22 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/custom-request-and-route.md

    # Custom Request and APIRoute class
    
    In some cases, you may want to override the logic used by the `Request` and `APIRoute` classes.
    
    In particular, this may be a good alternative to logic in a middleware.
    
    For example, if you want to read or manipulate the request body before it is processed by your application.
    
    /// danger
    
    This is an "advanced" feature.
    
    If you are just starting with **FastAPI** you might want to skip this section.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:39:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

            String adjustment = "";
    
            if (parent != null) {
                String childName = child.getArtifactId();
    
                /*
                 * This logic (using filesystem, against wanted independence from the user environment) exists only for the
                 * sake of backward-compat with 2.x (MNG-5000). In general, it is wrong to
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

                    + replacement.getVersionRange() + " to: " + newRange + " )");
        }
    
        /**
         * The logic used here used to be a copy of the logic used in the DefaultArtifactCollector, and this method was
         * called right before the actual version/artifactScope changes were done. However, a different set of conditionals
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. tensorflow/c/eager/abstract_operation.h

      // it will be compatible with it: the name will be updated by device placement
      // logic to refer to the specific device chosen.
      //
      // Example: If one calls `op->SetDeviceName("/device:GPU")`, the value
      // returned by DeviceName should be "/device:GPU:*" until a particular GPU is
      // chosen for the operation by the device placement logic in the
      // executor. After that, the value returned by DeviceName will be a full
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. compat/maven-toolchain-model/src/site/apt/index.apt

     This is the model for Maven toolchain in <<<org.apache.maven.toolchain>>> package,
     delegating content to {{{../api/maven-api-toolchain/index.html}Maven 4 API immutable toolchain}}. All the effective model
     building logic from multiple toolchains files is done in {{{../maven-toolchain-builder/}Maven Toolchain Builder}}.
    
     The following are generated from this model:
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. compat/maven-model/src/site/apt/index.apt

     This is strictly the model for Maven POM (Project Object Model) in <<<org.apache.maven.model>>> package,
     delegating content to {{{../api/maven-api-model/index.html}Maven 4 API immutable model}}. All the effective model
     building logic from multiple POMs and building context is done in {{{../maven-model-builder/}Maven Model Builder}}.
    
     The following are generated from this model:
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *       visible static factory method whose return type is {@code C} or {@code C}'s subtype.
       * </ul>
       *
       * <p>In all cases, if {@code C} needs custom logic for testing serialization, you can add an
       * explicit {@code testSerializable()} test in the corresponding {@code CTest} class, and {@code
       * C} will be excluded from automated serialization test performed by this method.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. ci/official/utilities/setup_docker.sh

    # limitations under the License.
    # ==============================================================================
    if [[ "$TFCI_DOCKER_PULL_ENABLE" == 1 ]]; then
      # Simple retry logic for docker-pull errors. Sleeps if a pull fails.
      # Pulling an already-pulled container image will finish instantly, so
      # repeating the command costs nothing.
      docker pull "$TFCI_DOCKER_IMAGE" || sleep 15
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Aug 09 16:05:18 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/RegexBasedModelInterpolator.java

    import org.codehaus.plexus.interpolation.RegexBasedInterpolator;
    
    /**
     * Use a regular expression search to find and resolve expressions within the POM.
     *
     * TODO Consolidate this logic with the PluginParameterExpressionEvaluator, minus deprecations/bans.
     */
    @Deprecated
    public class RegexBasedModelInterpolator extends AbstractStringBasedModelInterpolator {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top