Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 1,467 for example2 (0.07 seconds)

  1. src/main/java/org/codelibs/core/lang/SystemUtil.java

         */
        public static final String PATH_SEPARATOR = System.getProperty("path.separator");
    
        /**
         * <code>os.name</code> system property. Example: <code>Mac OS X</code>
         */
        public static final String OS_NAME = System.getProperty("os.name");
    
        /**
         * <code>java.io.tmpdir</code> system property. Example: /tmp
         */
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  2. docs/en/docs/alternatives.md

    That's why, as said in the official website:
    
    > Requests is one of the most downloaded Python packages of all time
    
    The way you use it is very simple. For example, to do a `GET` request, you would write:
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    The FastAPI counterpart API *path operation* could look like:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                        .parent("com.example", "parent-project", "1.0.0")
                        .artifactId("module-a")
                        .build();
    
                String moduleBPomXml = """
                    <?xml version="1.0" encoding="UTF-8"?>
                    <project xmlns="http://maven.apache.org/POM/4.1.0">
                        <parent>
                            <groupId>com.example</groupId>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_body_nested_models/test_tutorial008.py

        data = {"url": "http://example.com/", "name": "Example"}
        response = client.post("/images/multiple", json=data)
        assert response.status_code == 422, response.text
        assert response.json() == {
            "detail": [
                {
                    "loc": ["body"],
                    "input": {
                        "name": "Example",
                        "url": "http://example.com/",
                    },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_body_nested_models/test_tutorial006.py

                "price": 35.4,
                "images": {"url": "http://example.com/image.png", "name": "example image"},
            },
        )
        assert response.status_code == 422, response.text
        assert response.json() == {
            "detail": [
                {
                    "loc": ["body", "images"],
                    "input": {
                        "url": "http://example.com/image.png",
                        "name": "example image",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullabilityChangesTest.kt

            ) {
                assertHasErrors(
                    "Field nonFinalField: Nullability breaking change.",
                    "Method com.example.Source.foo(java.lang.String[]): Parameter 0 from null accepting to non-null accepting breaking change.",
                    "Constructor com.example.Source(java.lang.String[]): Parameter 0 from null accepting to non-null accepting breaking change."
                )
                assertHasNoWarning()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu May 15 17:05:08 GMT 2025
    - 18K bytes
    - Click Count (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RequestDataTest.java

            RequestData data1 = new RequestData();
            data1.setMethod(Method.GET);
            data1.setUrl("https://example.com");
            data1.setWeight(1.0f);
    
            RequestData data2 = new RequestData();
            data2.setMethod(Method.GET);
            data2.setUrl("https://example.com");
            data2.setWeight(1.0f);
    
            // Test equality
            assertTrue(data1.equals(data2));
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 13 13:29:22 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/templates.md

    For example, with an ID of `42`, this would render:
    
    ```html
    <a href="/items/42">
    ```
    
    ## Templates and static files { #templates-and-static-files }
    
    You can also use `url_for()` inside of the template, and use it, for example, with the `StaticFiles` you mounted with the `name="static"`.
    
    ```jinja hl_lines="4"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java

            url = "http://www.example.com/";
            assertEquals("http_CLN_/www.example.com/index.html", fileTransformer.getFilePath(url));
    
            url = "http://www.example.com/action?a=1";
            assertEquals("http_CLN_/www.example.com/action_QUEST_a=1", fileTransformer.getFilePath(url));
    
            url = "http://www.example.com/action?a=1&b=2";
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  10. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/ConfiguredPublicSuffixDatabaseTest.kt

            .writeUtf8("square.com\n")
            .readByteString()
    
        assertThat(publicSuffixDatabase.getEffectiveTldPlusOne("example.com"))
          .isEqualTo("example.com")
        assertThat(publicSuffixDatabase.getEffectiveTldPlusOne("foo.example.com"))
          .isEqualTo("example.com")
        assertThat(publicSuffixDatabase.getEffectiveTldPlusOne("foo.bar.square.com"))
          .isEqualTo("bar.square.com")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.7K bytes
    - Click Count (0)
Back to Top