Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 701 - 710 of 828 for nesting (0.04 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

            @Test
            @DisplayName("should handle large number of POMs efficiently")
            void shouldHandleLargeNumberOfPOMsEfficiently() throws Exception {
                // Create a large number of POM documents for performance testing
                Map<Path, Document> largePomMap = new HashMap<>();
    
                for (int i = 0; i < 100; i++) {
                    Path pomPath = Paths.get("module" + i + "/pom.xml");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

            excludedPackages.add("org.gradle.plugins.ide.eclipse.model");
            excludedPackages.add("org.gradle.plugins.ide.idea.model");
            excludedPackages.add("org.gradle.api.tasks.testing.logging");
    
            // TODO - rename some incubating types to remove collisions and then remove these exclusions
            excludedPackages.add("org.gradle.plugins.binaries.model");
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 04 14:26:28 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  3. cmd/erasure-server-pool-decom.go

    					break
    				}
    				setN := humanize.Ordinal(setIdx + 1)
    				retryDur := time.Duration(rand.Float64() * float64(5*time.Second))
    				decomLogOnceIf(ctx, fmt.Errorf("listing objects from %s set failed with %v, retrying in %v", setN, err, retryDur), "decom-listing-failed"+setN)
    				time.Sleep(retryDur)
    			}
    		}(setIdx)
    	}
    	wk.Wait()
    	return nil
    }
    
    //msgp:ignore decomMetrics
    type decomMetrics struct{}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 42.2K bytes
    - Click Count (1)
  4. tests/test_tutorial/test_bigger_applications/test_main.py

        response = client.post(
            "/admin/?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Admin getting schwifty"}
    
    
    def test_admin_invalid_header(client: TestClient):
        response = client.post("/admin/", headers={"X-Token": "invalid"})
        assert response.status_code == 400, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/handling-errors.md

    The exception handler will receive a `Request` and the exception.
    
    {* ../../docs_src/handling_errors/tutorial004_py39.py hl[2,14:19] *}
    
    Now, if you go to `/items/foo`, instead of getting the default JSON error with:
    
    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "path",
                    "item_id"
                ],
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java

     * between time measurements.
     * <p>
     * This implementation is singleton-based and always uses UTC timezone. The clock
     * cannot be adjusted to different timezones to maintain consistent monotonic behavior.
     * Users needing local time representation should convert the result of {@link #instant()}
     * to their desired timezone:
     * <pre>{@code
     * Instant now = MonotonicClock.now();
     * ZonedDateTime local = now.atZone(ZoneId.systemDefault());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 06:28:29 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/graph/DefaultProjectDependencyGraphTest.java

        // bProject -> cProject
        //        | -> dProject
        //        | -> eProject
        // cProject -> dProject
        //        | -> eProject
        // dProject -> eProject
        //
        // When getting the non-transitive, downstream projects of aProject with a whitelist of aProject, dProject,
        // and eProject, we expect to get dProject, and eProject with no duplicates.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

                assertTrue(result >= 0, "Should handle .mvn creation failure gracefully");
            }
        }
    
        /**
         * Testable subclass that exposes protected methods for testing.
         */
        private static class TestableAbstractUpgradeGoal extends AbstractUpgradeGoal {
    
            TestableAbstractUpgradeGoal(StrategyOrchestrator orchestrator) {
                super(orchestrator);
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java

                    <description></description>
                </project>
                """;
    
            Document doc = Document.of(pomXml);
            Element root = doc.root();
    
            // Test getting text from existing elements
            assertEquals("4.0.0", root.childText("modelVersion"), "Should get modelVersion text");
            assertEquals("test", root.childText("groupId"), "Should get groupId text");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 31.3K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

            this.standardDelegate = standardDelegate;
            this.delegates = delegates;
            this.mojoExecutionConfigurators = mojoExecutionConfigurators;
        }
    
        // Only used for testing
        public DefaultLifecycleExecutionPlanCalculator(
                BuildPluginManager pluginManager,
                DefaultLifecycles defaultLifecycles,
                MojoDescriptorCreator mojoDescriptorCreator,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 26.7K bytes
    - Click Count (0)
Back to Top