Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 139 for logic (0.02 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-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)
  4. 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)
  5. 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)
  6. 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)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Header.kt

      @JvmField val name: ByteString,
      /** Value in UTF-8 encoding. */
      @JvmField val value: ByteString,
    ) {
      @JvmField val hpackSize = 32 + name.size + value.size
    
      // TODO: search for toLowerCase and consider moving logic here.
      constructor(name: String, value: String) : this(name.encodeUtf8(), value.encodeUtf8())
    
      constructor(name: ByteString, value: String) : this(name, value.encodeUtf8())
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/main/java/org/codelibs/fess/app/logic/AccessContextLogic.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.logic;
    
    import org.codelibs.fess.mylasta.action.FessUserBean;
    import org.dbflute.hook.AccessContext;
    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.core.time.TimeManager;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top