- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 612 for slope (0.02 seconds)
-
tests/test_route_scope.py
@app.get("/users/{user_id}") async def get_user(user_id: str, request: Request): route: APIRoute = request.scope["route"] return {"user_id": user_id, "path": route.path} @app.websocket("/items/{item_id}") async def websocket_item(item_id: str, websocket: WebSocket): route: APIWebSocketRoute = websocket.scope["route"] await websocket.accept() await websocket.send_json({"item_id": item_id, "path": route.path})
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Sep 29 03:29:38 GMT 2025 - 1.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java
public ClasspathContainer transform(MetadataGraph dirtyGraph, ArtifactScopeEnum scope, boolean resolve) throws MetadataGraphTransformationException { try { if (dirtyGraph == null || dirtyGraph.isEmpty()) { return null; } MetadataGraph cleanGraph = conflictResolver.resolveConflicts(dirtyGraph, scope); if (cleanGraph == null || cleanGraph.isEmpty()) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 5.1K bytes - Click Count (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/SessionScoped.java
* and discarded after session execution completes. * <p> * A {@code org.apache.maven.api.Session} object is available in the scope of this annotation. * * @since 4.0.0 */ @Scope @Documented @Retention(RUNTIME) @Target({TYPE, METHOD})Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 12 06:14:46 GMT 2024 - 1.5K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/time/DateFormatterFromBenchmark.java
import org.openjdk.jmh.annotations.Scope; import org.openjdk.jmh.annotations.State; import org.openjdk.jmh.annotations.Warmup; import java.time.temporal.TemporalAccessor; import java.util.concurrent.TimeUnit; @Fork(3) @Warmup(iterations = 10) @Measurement(iterations = 10) @BenchmarkMode(Mode.AverageTime) @OutputTimeUnit(TimeUnit.NANOSECONDS) @State(Scope.Benchmark)
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Feb 03 00:10:53 GMT 2021 - 1.6K bytes - Click Count (0) -
build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle-api.xml
<module name="JavadocType"> <property name="scope" value="protected"/> <!-- Allow the use of unrecognized tags like @apiNote --> <property name="allowUnknownTags" value="true"/> </module> <!-- TODO - switch this on --> <!--<module name="JavadocMethod">--> <!--<property name="scope" value="package"/>--> <!--</module>--> </module>Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Nov 17 23:20:14 GMT 2022 - 1.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeCoreModule.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.execution.scope.internal; import javax.inject.Inject; import javax.inject.Named; import org.apache.maven.execution.MojoExecutionListener; /** * MojoExecutionScopeCoreModule */ @Named
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java
Collections.addAll(result, "system", "compile", "provided", "runtime", "test"); for (String scope : scopes) { if ("compile".equals(scope)) { result.remove("compile"); result.remove("system"); result.remove("provided"); } else if ("runtime".equals(scope)) { result.remove("compile"); result.remove("runtime");
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 15.6K bytes - Click Count (0) -
docs/zh/docs/advanced/advanced-dependencies.md
带 `yield` 的依赖项随着时间演进以覆盖不同用例并修复一些问题,下面是变更摘要。 ### 带 `yield` 的依赖项与 `scope` { #dependencies-with-yield-and-scope } 在 0.121.0 版本中,FastAPI 为带 `yield` 的依赖项新增了 `Depends(scope="function")` 的支持。 使用 `Depends(scope="function")` 时,`yield` 之后的退出代码会在*路径操作函数*结束后、响应发送给客户端之前立即执行。 而当使用默认的 `Depends(scope="request")` 时,`yield` 之后的退出代码会在响应发送之后执行。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
* * @param directoryPath directory path * @param requestedState requested lease state * @param scope cache scope * @return lease key */ public Smb2LeaseKey requestDirectoryLease(String directoryPath, int requestedState, DirectoryCacheScope scope) { // Directory leasing requires SMB 3.0 or higherCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 12.3K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 03 15:06:05 GMT 2025 - 66.8K bytes - Click Count (0)