Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 1,574 for example (0.87 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/project/DefaultProjectBuilderTest.java

            ModelBuilderResult mockResult = new MockModelBuilderResult(
                    null, // effectiveModel is null
                    createMockModel("com.example", "test-project", "1.0.0"), // rawModel is available
                    null // fileModel is null
                    );
    
            String projectId = (String) extractProjectIdMethod.invoke(null, mockResult);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. fastapi/exceptions.py

        errors in your code.
    
        Read more about it in the
        [FastAPI docs for Handling Errors](https://fastapi.tiangolo.com/tutorial/handling-errors/).
    
        ## Example
    
        ```python
        from fastapi import FastAPI, HTTPException
    
        app = FastAPI()
    
        items = {"foo": "The Foo Wrestlers"}
    
    
        @app.get("/items/{item_id}")
        async def read_item(item_id: str):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. docs/auditlog/auditlog-echo.md

    1. Run the tool with:
    
    ```
    go run docs/auditlog/auditlog-echo.go
    ```
    
    The listen port has a default value (8080), but can be set with the `-port` flag.
    
    2. Configure audit logging in MinIO with for example:
    
    ```
    mc admin config set myminio audit_webhook enable=on endpoint=http://localhost:8080
    ```
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 447 bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/sql-databases.md

    * PostgreSQL
    * MySQL
    * SQLite
    * Oracle
    * Microsoft SQL Server, etc.
    
    In this example, we'll use **SQLite**, because it uses a single file and Python has integrated support. So, you can copy this example and run it as is.
    
    Later, for your production application, you might want to use a database server like **PostgreSQL**.
    
    /// tip
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 05:06:56 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

            String[] sitemaps = robotsTxt.getSitemaps();
            assertEquals(2, sitemaps.length);
            assertEquals("http://www.example.com/sitmap.xml", sitemaps[0]);
            assertEquals("http://www.example.net/sitmap.xml", sitemaps[1]);
    
        }
    
        public void testParse_disable() {
            final InputStream in = RobotsTxtHelperTest.class.getResourceAsStream("robots.txt");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  6. lib/fips140/README.md

    This directory holds snapshots of the crypto/internal/fips140 tree
    that are being validated and certified for FIPS-140 use.
    The file x.txt (for example, inprocess.txt, certified.txt)
    defines the meaning of the FIPS version alias x, listing
    the exact version to use.
    
    The zip files are created by cmd/go/internal/fips140/mkzip.go.
    The fips140.sum file lists checksums for the zip files.
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Nov 20 20:28:34 UTC 2024
    - 416 bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/SerializeUtil.java

        /**
         * Creates a custom filter that allows only the specified class patterns.
         * <p>
         * Patterns can be exact class names or use wildcards with '*' at the end.
         * For example: "com.example.*" allows all classes in the com.example package.
         * </p>
         *
         * @param allowedPatterns the patterns of classes to allow
         * @return an ObjectInputFilter configured with the specified patterns
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

     * requests. It also allows for the replacement of placeholders in URLs and
     * parameters with actual credentials.
     *
     * <p>Usage example:
     * <pre>
     * {@code
     * Map<String, String> params = new HashMap<>();
     * params.put("token_url", "http://example.com/token");
     * params.put("login_url", "http://example.com/login");
     * FormScheme formScheme = new FormScheme(params);
     * formScheme.authenticate(credentials, executor);
     * }
     * </pre>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (1)
  9. src/bufio/example_test.go

    }
    
    // ExampleWriter_ReadFrom demonstrates how to use the ReadFrom method of Writer.
    func ExampleWriter_ReadFrom() {
    	var buf bytes.Buffer
    	writer := bufio.NewWriter(&buf)
    
    	data := "Hello, world!\nThis is a ReadFrom example."
    	reader := strings.NewReader(data)
    
    	n, err := writer.ReadFrom(reader)
    	if err != nil {
    		fmt.Println("ReadFrom Error:", err)
    		return
    	}
    
    	if err = writer.Flush(); err != nil {
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. docs_src/security/tutorial002_an_py39.py

        email: Union[str, None] = None
        full_name: Union[str, None] = None
        disabled: Union[bool, None] = None
    
    
    def fake_decode_token(token):
        return User(
            username=token + "fakedecoded", email="john@example.com", full_name="John Doe"
        )
    
    
    async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]):
        user = fake_decode_token(token)
        return user
    
    
    @app.get("/users/me")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 786 bytes
    - Viewed (0)
Back to top