Search Options

Results per page
Sort
Preferred Languages
Advance

Results 891 - 900 of 3,549 for getS (0.02 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/ConcurrencyDependencyGraphTest.java

            assertEquals(2, subsequent.size());
            assertEquals(ProjectDependencyGraphStub.B, subsequent.get(0));
            assertEquals(C, subsequent.get(1));
    
            final List<MavenProject> bDescendants = graph.markAsFinished(B);
            assertEquals(1, bDescendants.size());
            assertEquals(Y, bDescendants.get(0));
    
            final List<MavenProject> cDescendants = graph.markAsFinished(C);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. tests/test_request_params/test_path/test_required_str.py

    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/required-str/{p}")
    async def read_required_str(p: Annotated[str, Path()]):
        return {"p": p}
    
    
    @app.get("/required-alias/{p_alias}")
    async def read_required_alias(p: Annotated[str, Path(alias="p_alias")]):
        return {"p": p}
    
    
    @app.get("/required-validation-alias/{p_val_alias}")
    def read_required_validation_alias(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java

    // TODO plugins that need downloading
    // TODO project dependencies that need downloading
    // TODO unfortunately the plugins need to be downloaded in order to get the plugin.xml file. need to externalize this
    //      from the plugin archive.
    // TODO this will be the class that people get in IDEs to modify
    
    /**
     * MavenExecutionPlan
     */
    public class MavenExecutionPlan implements Iterable<ExecutionPlanItem> {
    
        /*
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

        }
    
        /**
         * Get the file path
         * @return the path
         */
        public String getPath() {
            return path;
        }
    
        /**
         * Get the create GUID
         * @return the create GUID
         */
        public HandleGuid getCreateGuid() {
            return createGuid;
        }
    
        /**
         * Get the file ID
         * @return copy of the 16-byte file ID
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        assertFalse(future.isDone());
        assertFalse(future.isCancelled());
        assertThrows(TimeoutException.class, () -> future.get(0, MILLISECONDS));
        nested.set("foo");
        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
        assertEquals("foo", future.get());
      }
    
      private static class Foo {}
    
      private static class FooChild extends Foo {}
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

      /** Tests that the {@link Future#get()} method blocks until a value is available. */
      public void testGetBlocksUntilValueAvailable() throws Throwable {
    
        assertFalse(future.isDone());
        assertFalse(future.isCancelled());
    
        ExecutorService executor = newSingleThreadExecutor();
    
        try {
          Future<Boolean> getResult = executor.submit(() -> future.get());
    
          // Release the future value.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. docs_src/path_operation_configuration/tutorial002b_py39.py

    from enum import Enum
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    class Tags(Enum):
        items = "items"
        users = "users"
    
    
    @app.get("/items/", tags=[Tags.items])
    async def get_items():
        return ["Portal gun", "Plumbus"]
    
    
    @app.get("/users/", tags=[Tags.users])
    async def read_users():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 323 bytes
    - Viewed (0)
  8. tests/test_tutorial/test_path_params_numeric_validations/test_tutorial004.py

        ],
    )
    def test_read_items(client: TestClient, path, expected_response):
        response = client.get(path)
        assert response.status_code == 200, response.text
        assert response.json() == expected_response
    
    
    def test_read_items_non_int_item_id(client: TestClient):
        response = client.get("/items/invalid_id?q=somequery")
        assert response.status_code == 422, response.text
        assert response.json() == {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_query_params_str_validations/test_tutorial006c.py

    )
    def test_query_params_str_validations_empty_str(client: TestClient):
        response = client.get("/items/?q=")
        assert response.status_code == 200
        assert response.json() == {  # pragma: no cover
            "items": [{"item_id": "Foo"}, {"item_id": "Bar"}],
        }
    
    
    def test_query_params_str_validations_q_query(client: TestClient):
        response = client.get("/items/", params={"q": "query"})
        assert response.status_code == 200
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 5K bytes
    - Viewed (0)
  10. docs_src/security/tutorial004_an_py310.py

        )
        return Token(access_token=access_token, token_type="bearer")
    
    
    @app.get("/users/me/", response_model=User)
    async def read_users_me(
        current_user: Annotated[User, Depends(get_current_active_user)],
    ):
        return current_user
    
    
    @app.get("/users/me/items/")
    async def read_own_items(
        current_user: Annotated[User, Depends(get_current_active_user)],
    ):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top