Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for scope2 (0.04 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        }
    
        // TODO let the scope handler deal with this
        private static boolean isCompilePathElement(final String scope) {
            return Artifact.SCOPE_COMPILE.equals(scope)
                    || Artifact.SCOPE_PROVIDED.equals(scope)
                    || Artifact.SCOPE_SYSTEM.equals(scope);
        }
    
        // TODO let the scope handler deal with this
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:47:20 GMT 2025
    - 67K bytes
    - Click Count (0)
  2. fastapi/param_functions.py

        @app.get("/users/me/items/")
        async def read_own_items(
            current_user: Annotated[User, Security(get_current_active_user, scopes=["items"])]
        ):
            return [{"item_id": "Foo", "owner": current_user.username}]
        ```
        """
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 63K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                ModelProblemCollector problems,
                Severity severity,
                Version version,
                String scope,
                String sourceHint,
                InputLocationTracker tracker,
                boolean isDependencyManagement) {
            if (scope == null || scope.length() <= 0) {
                return true;
            }
    
            String[] validScopes;
            if (isDependencyManagement) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  4. tests/migrate_test.go

    						columnType.Name(), columnType, v)
    				}
    				if v, ok := columnType.Comment(); !ok || v != "my code2" {
    					t.Fatalf("column code comment should be correct, name: %v, column: %#v", columnType.Name(),
    						columnType)
    				}
    			case "code2":
    				// Code2 string `gorm:"comment:my code2;default:hello"`
    				if v, ok := columnType.DefaultValue(); !ok || v != "hello" {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Aug 20 04:51:17 GMT 2025
    - 65.2K bytes
    - Click Count (0)
  5. cmd/test-utils_test.go

    		signedHeaders,
    		hashedPayload,
    	}, "\n")
    
    	// Get scope.
    	scope := strings.Join([]string{
    		currTime.Format(yyyymmdd),
    		globalMinioDefaultRegion,
    		string(serviceS3),
    		"aws4_request",
    	}, SlashSeparator)
    
    	stringToSign := "AWS4-HMAC-SHA256" + "\n" + currTime.Format(iso8601Format) + "\n"
    	stringToSign += scope + "\n"
    	stringToSign += getSHA256Hash([]byte(canonicalRequest))
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 77K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                        if (Language.JAVA_FAMILY.equals(language)) {
                            ProjectScope scope = src.scope();
                            if (ProjectScope.MAIN.equals(scope)) {
                                hasMain = true;
                            } else {
                                hasTest |= ProjectScope.TEST.equals(scope);
                            }
                        } else {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 51.8K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

    import org.apache.maven.execution.MavenExecutionResult;
    import org.apache.maven.execution.ProfileActivation;
    import org.apache.maven.execution.ProjectActivation;
    import org.apache.maven.execution.scope.internal.MojoExecutionScope;
    import org.apache.maven.execution.scope.internal.MojoExecutionScopeModule;
    import org.apache.maven.extension.internal.CoreExports;
    import org.apache.maven.extension.internal.CoreExtensionEntry;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            PomTestWrapper pom = buildPom("dependency-scope-inheritance/sub");
            String scope = (String) pom.getValue("dependencies[1]/scope");
            assertEquals("compile", scope);
        }
    
        @Test
        void testDependencyScope() throws Exception {
            buildPom("dependency-scope/sub");
        }
    
        // This will fail on a validation error if incorrect
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 94.8K bytes
    - Click Count (0)
  9. tensorflow/c/c_api_test.cc

    TEST_F(CApiGradientsTest, GradientsPrefix_TwoGradientsInSameScope) {
      BuildGraphAndAddGradientsWithPrefixes("scope/gradients", "scope/gradients_1");
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    }
    
    TEST_F(CApiGradientsTest, GradientsPrefix_TwoGradientsInDifferentScopes) {
      BuildGraphAndAddGradientsWithPrefixes("scope/gradients", "scope_1/gradients");
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    }
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Nov 17 00:00:38 GMT 2025
    - 97K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

        }
    
        private Model interpolateModel(Model model, ModelBuildingRequest request, ModelProblemCollector problems) {
            // save profile activations before interpolation, since they are evaluated with limited scope
            List<Profile> originalProfiles = getProfiles(model);
    
            Model interpolatedModel =
                    modelInterpolator.interpolateModel(model, model.getProjectDirectory(), request, problems);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:08 GMT 2025
    - 55.3K bytes
    - Click Count (0)
Back to Top