Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 368 for World (0.06 seconds)

  1. tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py

    async def get_token(token: Annotated[str, Depends(oauth2_scheme)]) -> str:
        return token
    
    
    app = FastAPI(dependencies=[Depends(get_token)])
    
    
    @app.get("/")
    async def root():
        return {"message": "Hello World"}
    
    
    @app.get(
        "/with-oauth2-scheme",
        dependencies=[Security(oauth2_scheme, scopes=["read", "write"])],
    )
    async def read_with_oauth2_scheme():
        return {"message": "Admin Access"}
    
    
    @app.get(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/util/CryptoTest.java

    @DisplayName("Crypto Utility Tests")
    class CryptoTest extends BaseTest {
    
        @Test
        @DisplayName("Should calculate MD4 hash correctly")
        void testMD4Hash() {
            // Given
            String input = "Hello World";
            byte[] data = input.getBytes();
    
            // When
            MessageDigest md4 = Crypto.getMD4();
            byte[] hash = md4.digest(data);
    
            // Then
            assertNotNull(hash);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/environment-variables.md

    例如,你可以建立一個名為 `main.py` 的檔案,其中包含以下內容:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip
    
    第二個參數是 [`os.getenv()`](https://docs.python.org/3.8/library/os.html#os.getenv) 的預設回傳值。
    
    如果沒有提供,預設值為 `None`,這裡我們提供 `"World"` 作為預設值。
    
    ///
    
    然後你可以呼叫這個 Python 程式:
    
    //// tab | Linux, macOS, Windows Bash
    
    <div class="termy">
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

        /** */
        public int intField;
    
        /** */
        public String stringField;
    
        /** */
        public static final int INT_DATA = 987654321;
    
        /** */
        public static final String STRING_DATA = "Hello World!";
    
        /**
         * @throws Exception
         */
        @Test
        public void testGet() throws Exception {
            final Field field = getClass().getField("objectField");
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

                    SmbConstants.DEFAULT_SHARING);
    
            byte[] data = "Hello World".getBytes();
    
            // When
            outputStream.write(data, 6, 5); // Write "World"
    
            // Then
            verify(mockTreeHandle, atLeastOnce()).send(any(Smb2WriteRequest.class), any());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  6. docs_src/advanced_middleware/tutorial001_py310.py

    from fastapi.middleware.httpsredirect import HTTPSRedirectMiddleware
    
    app = FastAPI()
    
    app.add_middleware(HTTPSRedirectMiddleware)
    
    
    @app.get("/")
    async def main():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 231 bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/util/StringUtilTest.java

        }
    
        @Test
        @DisplayName("Should join two elements with delimiter")
        void testJoinTwoElements() {
            String result = StringUtil.join(",", "hello", "world");
            assertEquals("hello,world", result);
        }
    
        @Test
        @DisplayName("Should join multiple elements with delimiter")
        void testJoinMultipleElements() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 9K bytes
    - Click Count (0)
  8. docs/fr/llm-prompt.md

    - Do not convert quotes inside code blocks, inline code, paths, URLs, or anything wrapped in backticks.
    
    Examples:
    
    Source (English):
    
    ```
    "Hello world"
    “Hello Universe”
    "He said: 'Hello'"
    "The module is `__main__`"
    ```
    
    Result (French):
    
    ```
    "Hello world"
    “Hello Universe”
    "He said: 'Hello'"
    "The module is `__main__`"
    ```
    
    ### Ellipsis
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jan 16 11:57:08 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  9. internal/s3select/json/testdata/2.json

    {"text": "hello world\\n2nd line"}...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 35 bytes
    - Click Count (0)
  10. src/archive/zip/testdata/unix.zip

    hello world dir/bar foo readonly important...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Sep 08 04:08:51 GMT 2014
    - 620 bytes
    - Click Count (0)
Back to Top