Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 466 for ello (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. fastapi/.agents/skills/fastapi/references/other-tools.md

    ```python
    from asyncer import asyncify
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    def do_blocking_work(name: str) -> str:
        # Some blocking I/O operation
        return f"Hello {name}"
    
    
    @app.get("/items/")
    async def read_items():
        result = await asyncify(do_blocking_work)(name="World")
        return {"message": result}
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  2. okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt

        assertThat(Buffer().writeByte(0xc0).isProbablyUtf8(16L)).isFalse()
      }
    
      @Test fun doesNotConsumeBuffer() {
        val buffer = Buffer()
        buffer.writeUtf8("hello ".repeat(1024))
        assertThat(buffer.isProbablyUtf8(100L)).isTrue()
        assertThat(buffer.readUtf8()).isEqualTo("hello ".repeat(1024))
      }
    
      /** Confirm [isProbablyUtf8] doesn't attempt to read the entire stream. */
      @Test fun doesNotReadEntireSource() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Oct 06 22:47:06 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/spnego/SpnegoExceptionTest.java

        void testToString() {
            // Given
            SpnegoException ex = new SpnegoException("hello");
    
            // When
            String s = ex.toString();
    
            // Then
            assertTrue(s.contains("jcifs.spnego.SpnegoException"));
            assertTrue(s.contains("hello"));
        }
    
        @Test
        @DisplayName("Should serialize and deserialize preserving message and cause")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  4. 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"}
    
    
    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)
  5. samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt

        val httpClient =
          HttpClient
            .newBuilder()
            .followRedirects(NORMAL)
            .build()
    
        server.enqueue(
          MockResponse
            .Builder()
            .body("hello, Java HTTP Client")
            .build(),
        )
    
        val request =
          HttpRequest
            .newBuilder(server.url("/").toUri())
            .header("Accept", "text/plain")
            .build()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 25 13:16:02 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  6. build-tools-internal/src/integTest/java/org/elasticsearch/gradle/internal/BuildPluginIT.java

        public String projectName() {
            return "elasticsearch.build";
        }
    
        public void testPluginCanBeApplied() {
            BuildResult result = getGradleRunner().withArguments("hello", "-s").build();
            assertTaskSuccessful(result, ":hello");
            assertOutputContains("build plugin can be applied");
        }
    
        public void testCheckTask() {
            setupJarJdkClasspath(getProjectDir());
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  7. docs/fr/docs/_llm-test.md

    ////
    
    ## Blocs de code { #code-blocks }
    
    //// tab | Test
    
    Un exemple de code Bash ...
    
    ```bash
    # Afficher un message de bienvenue à l'univers
    echo "Hello universe"
    ```
    
    ... et un exemple de code console ...
    
    ```console
    $ <font color="#4E9A06">fastapi</font> run <u style="text-decoration-style:solid">main.py</u>
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  8. samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt

            .Builder()
            .body("hello, Apache HttpClient 5.x")
            .build(),
        )
    
        val request = HttpGet(server.url("/").toUri())
        request.addHeader("Accept", "text/plain")
    
        @Suppress("DEPRECATION")
        httpClient.execute(request).use { response ->
          assertThat(response.code).isEqualTo(200)
          assertThat(EntityUtils.toString(response.entity)).isEqualTo("hello, Apache HttpClient 5.x")
        }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Feb 04 20:23:14 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  9. docs/tr/docs/advanced/json-base64-bytes.md

        "data": "aGVsbG8="
    }
    ```
    
    /// tip | İpucu
    
    `aGVsbG8=` değeri, `hello` kelimesinin base64 encoding'idir.
    
    ///
    
    Sonrasında Pydantic base64 string'ini decode eder ve modelin `data` alanında size orijinal bytes'ı verir.
    
    Şöyle bir response alırsınız:
    
    ```json
    {
      "description": "Some data",
      "content": "hello"
    }
    ```
    
    ## Çıkış Verisi için Pydantic `bytes` { #pydantic-bytes-for-output-data }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:51:35 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  10. tests/default_value_test.go

    	}
    
    	DB.Migrator().DropTable(&Harumph{})
    
    	if err := DB.AutoMigrate(&Harumph{}); err != nil {
    		t.Fatalf("Failed to migrate with default value, got error: %v", err)
    	}
    
    	harumph := Harumph{Email: "hello@gorm.io"}
    	if err := DB.Create(&harumph).Error; err != nil {
    		t.Fatalf("Failed to create data with default value, got error: %v", err)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Apr 08 03:29:55 GMT 2024
    - 2.3K bytes
    - Click Count (0)
Back to Top