Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 602 for scope (0.18 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/Scope.java

        IMPORT("import"); // TODO: v4: remove import scope somehow
    
        private final String id;
    
        private static final Map<String, Scope> SCOPES;
    
        static {
            Map<String, Scope> scopes = new HashMap<>();
            for (Scope s : Scope.values()) {
                scopes.put(s.id, s);
            }
            SCOPES = scopes;
        }
    
        Scope(String id) {
            this.id = id;
        }
    
    Java
    - Registered: Sun Feb 04 03:35:10 GMT 2024
    - Last Modified: Fri Dec 08 08:42:44 GMT 2023
    - 1.7K bytes
    - Viewed (1)
  2. api/maven-api-di/src/main/java/org/apache/maven/api/di/Scope.java

    import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    @Target(ANNOTATION_TYPE)
    @Retention(RUNTIME)
    @Documented
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  3. 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})
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Feb 08 10:23:07 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

         *       fun foo() { // scope5  FirLocalScope - enum entry: Local
         *
         *         // Distance to scopes from <element> in the order from the closest:
         *         //   scope5 -> scope4 -> scope6 -> scope3 -> scope1 -> scope2
         *         <element>
         *
         *       }
         *       companion object {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java

                desiredScope = scope;
            } else if (Artifact.SCOPE_TEST.equals(scope) || Artifact.SCOPE_PROVIDED.equals(scope)) {
                return null;
            } else if (Artifact.SCOPE_COMPILE.equals(scope) && Artifact.SCOPE_COMPILE.equals(inheritedScope)) {
                // added to retain compile artifactScope. Remove if you want compile inherited as runtime
                desiredScope = Artifact.SCOPE_COMPILE;
            }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/security/oauth2-scopes.md

                        * No scopes required by itself.
                        * A dependency using `oauth2_scheme`.
                        * A `security_scopes` parameter of type `SecurityScopes`:
                            * This `security_scopes` parameter has a property `scopes` with a `list` containing all these scopes declared above, so:
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/security/oauth2-scopes.md

                        * Selbst keine erforderlichen Scopes.
                        * Eine Abhängigkeit, die `oauth2_scheme` verwendet.
                        * Einen `security_scopes`-Parameter vom Typ `SecurityScopes`:
                            * Dieser `security_scopes`-Parameter hat ein Attribut `scopes` mit einer `list`e, die alle oben deklarierten Scopes enthält, sprich:
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:26:08 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java

            artifact = getArtifact(project, "maven-test-test", "scope-default");
            assertEquals("test", artifact.getScope(), "Check scope");
            artifact = getArtifact(project, "maven-test-test", "scope-runtime");
            assertEquals("test", artifact.getScope(), "Check scope");
    
            // check all transitive deps of a provided dependency are provided scope, except for test
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         *
         * @param project the project
         * @param scope the scope, i.e. usually main or test
         * @return the list of resources
         */
        List<Resource> getResources(@Nonnull Project project, @Nonnull ProjectScope scope);
    
        /**
         * Add a resource set to the given project for the given scope.
         *
         * @param project the project
         * @param scope the scope, i.e. usually main or test
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Feb 09 17:13:31 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/scopes/KtFe10ScopeResolution.kt

    ) : KtFe10ScopeResolution() {
        override fun getPossibleCallableNames(): Set<Name> = withValidityAssertion {
            return scope.getFunctionNames() + scope.getVariableNames()
        }
    
        override fun getPossibleClassifierNames(): Set<Name> = withValidityAssertion {
            return scope.getClassifierNames() ?: emptySet()
        }
    
        override fun getConstructors(): Sequence<KtConstructorSymbol> = sequence {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Oct 10 13:38:00 GMT 2023
    - 5.7K bytes
    - Viewed (0)
Back to top