Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 412 for scope (0.13 sec)

  1. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  2. .idea/scopes/scope_settings.xml

    Maxim Shafirov <******@****.***> 1308913888 +0400
    XML
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Fri Jun 24 11:11:28 GMT 2011
    - 139 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 May 05 07:19:11 GMT 2024
    - Last Modified: Wed Feb 08 10:23:07 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  4. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  5. maven-compat/src/test/resources/projects/scope/project-with-scoped-dependencies.xml

        </dependency>
    
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>scope-compile</artifactId>
          <version>1.0</version>
          <scope>compile</scope>
        </dependency>
    
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>scope-provided</artifactId>
          <version>1.0</version>
          <scope>provided</scope>
        </dependency>
    
        <dependency>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Oct 26 20:16:00 GMT 2009
    - 2.7K bytes
    - Viewed (0)
  6. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  7. 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)
  8. maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilterTest.java

            assertTrue(filter.include(newArtifact(Artifact.SCOPE_PROVIDED)));
            assertTrue(filter.include(newArtifact(Artifact.SCOPE_RUNTIME)));
            assertFalse(filter.include(newArtifact(Artifact.SCOPE_TEST)));
        }
    
        @Test
        void testInclude_Runtime() {
            ScopeArtifactFilter filter = new ScopeArtifactFilter(Artifact.SCOPE_RUNTIME);
    
            assertTrue(filter.include(newArtifact(Artifact.SCOPE_COMPILE)));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java

         * Helper method to simplify null processing
         *
         * @param scope a scope or {@code null}
         * @return the provided scope or DEFAULT_SCOPE
         */
        public static ArtifactScopeEnum checkScope(ArtifactScopeEnum scope) {
            return scope == null ? DEFAULT_SCOPE : scope;
        }
    
        /**
         *
         * @return unsafe String representation of this scope.
         */
        public String getScope() {
            if (id == 1) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  10. maven-compat/src/test/resources/projects/scope/transitive-test-dep.xml

        <dependency>
          <groupId>maven-test-test</groupId>
          <artifactId>scope-runtime</artifactId>
          <version>1.0</version>
          <scope>runtime</scope>
        </dependency>
    
        <dependency>
          <groupId>maven-test-test</groupId>
          <artifactId>scope-compile</artifactId>
          <version>1.0</version>
          <scope>compile</scope>
        </dependency>
    
      </dependencies>
    
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Oct 26 20:16:00 GMT 2009
    - 1.6K bytes
    - Viewed (0)
Back to top