Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 581 for ello (0.02 seconds)

  1. docs_src/behind_a_proxy/tutorial001_py310.py

    from fastapi import FastAPI, Request
    
    app = FastAPI()
    
    
    @app.get("/app")
    def read_main(request: Request):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 189 bytes
    - Click Count (0)
  2. docs/fr/docs/advanced/json-base64-bytes.md

        "data": "aGVsbG8="
    }
    ```
    
    /// tip | Astuce
    
    `aGVsbG8=` est l'encodage base64 de `hello`.
    
    ///
    
    Pydantic décodera ensuite la chaîne base64 et vous fournira les octets originaux dans le champ `data` du modèle.
    
    Vous recevrez une réponse comme :
    
    ```json
    {
      "description": "Some data",
      "content": "hello"
    }
    ```
    
    ## Pydantic `bytes` pour les données de sortie { #pydantic-bytes-for-output-data }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:33:45 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  3. cmd/common-main_test.go

    	testCases := []struct {
    		content       string
    		expectedErr   bool
    		expectedValue string
    	}{
    		{
    			"value\n",
    			false,
    			"value",
    		},
    		{
    			" \t\n Hello, Gophers \n\t\r\n",
    			false,
    			"Hello, Gophers",
    		},
    	}
    
    	for _, testCase := range testCases {
    		t.Run("", func(t *testing.T) {
    			tmpfile, err := os.CreateTemp(t.TempDir(), "testfile")
    			if err != nil {
    				t.Error(err)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.7K bytes
    - Click Count (2)
  4. docs_src/advanced_middleware/tutorial001_py310.py

    from fastapi import FastAPI
    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)
  5. docs/ja/docs/advanced/json-base64-bytes.md

    ```json
    {
        "description": "Some data",
        "data": "aGVsbG8="
    }
    ```
    
    /// tip | 豆知識
    
    `aGVsbG8=` は `hello` の base64 エンコードです。
    
    ///
    
    その後、Pydantic は base64 文字列をデコードし、モデルの `data` フィールドに元のバイト列を渡します。
    
    次のようなレスポンスを受け取ります:
    
    ```json
    {
      "description": "Some data",
      "content": "hello"
    }
    ```
    
    ## 出力データ向けの Pydantic `bytes` { #pydantic-bytes-for-output-data }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:55:22 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  6. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        val request =
          Request(
            url = server.url("/"),
            body = "hello".toRequestBody(),
          )
        client.newCall(request).execute().use { response ->
          assertThat(response.body.string()).isEqualTo("")
        }
        val recordedRequest = server.takeRequest()
        assertThat(recordedRequest.body).isEqualTo("hello".encodeUtf8())
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Aug 03 22:38:00 GMT 2025
    - 28K bytes
    - Click Count (0)
  7. src/main/resources/fess_indices/fess/hu/protwords.txt

    Helló
    világ
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jun 11 12:51:31 GMT 2016
    - 22 bytes
    - Click Count (0)
  8. docs_src/response_headers/tutorial001_py310.py

    from fastapi import FastAPI
    from fastapi.responses import JSONResponse
    
    app = FastAPI()
    
    
    @app.get("/headers/")
    def get_headers():
        content = {"message": "Hello World"}
        headers = {"X-Cat-Dog": "alone in the world", "Content-Language": "en-US"}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 309 bytes
    - Click Count (0)
  9. internal/pubsub/pubsub_test.go

    	doneCh1 := make(chan struct{})
    	defer close(doneCh1)
    	if err := ps.Subscribe(MaskAll, ch1, doneCh1, func(entry Maskable) bool { return true }); err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	val := maskString("hello")
    	ps.Publish(val)
    	msg := <-ch1
    	if msg != val {
    		t.Fatalf("expected %s , found %s", val, msg)
    	}
    }
    
    func TestMultiPubSub(t *testing.T) {
    	ps := New[Maskable, Maskable](2)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Aug 14 17:11:51 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/llm/LlmChatResponseTest.java

            assertNull(response.getModel());
        }
    
        @Test
        public void test_constructorWithContent() {
            final LlmChatResponse response = new LlmChatResponse("Hello, World!");
            assertEquals("Hello, World!", response.getContent());
            assertNull(response.getFinishReason());
            assertNull(response.getPromptTokens());
            assertNull(response.getCompletionTokens());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 5.1K bytes
    - Click Count (0)
Back to Top