Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 1,515 for data_ (0.02 seconds)

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

  1. internal/event/name_test.go

    	}
    
    	for i, testCase := range testCases {
    		data, err := xml.Marshal(testCase.name)
    		expectErr := (err != nil)
    
    		if expectErr != testCase.expectErr {
    			t.Fatalf("test %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr)
    		}
    
    		if !testCase.expectErr {
    			if !reflect.DeepEqual(data, testCase.expectedData) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 7.4K bytes
    - Click Count (0)
  2. tests/test_dependency_contextmanager.py

        assert state["context_a"] == "finished a"
    
    
    def test_background_tasks():
        response = client.get("/context_b_bg")
        data = response.json()
        assert data["context_b"] == "started b"
        assert data["context_a"] == "started a"
        assert data["bg"] == "not set"
        middleware_state = json.loads(response.headers["x-state"])
        assert middleware_state["context_b"] == "started b"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  3. tests/test_pydantic_v1_error.py

            @app.post("/union")
            def endpoint(data: dict | ModelV1A):  # pragma: no cover
                return data
    
    
    def test_raises_pydantic_v1_model_in_sequence() -> None:
        class ModelV1A(BaseModel):
            name: str
    
        app = FastAPI()
    
        with pytest.raises(PydanticV1NotSupportedError):
    
            @app.post("/sequence")
            def endpoint(data: list[ModelV1A]):  # pragma: no cover
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/ntlmssp/av/AvPairTest.java

            int type2 = AvPair.MsvAvEOL;
            byte[] raw2 = new byte[] {};
            AvPair avPair2 = new AvPair(type2, raw2);
    
            assertEquals(type2, avPair2.getType(), "Type should match the constructor argument for empty raw data.");
            assertArrayEquals(raw2, avPair2.getRaw(), "Raw data should match the constructor argument for empty raw data.");
    
            // Test with null raw data
            int type3 = AvPair.MsvAvFlags;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. tests/test_query_cookie_header_model_extra_params.py

        model_config = {"extra": "allow"}
    
    
    @app.get("/query")
    async def query_model_with_extra(data: Model = Query()):
        return data
    
    
    @app.get("/header")
    async def header_model_with_extra(data: Model = Header()):
        return data
    
    
    @app.get("/cookie")
    async def cookies_model_with_extra(data: Model = Cookie()):
        return data
    
    
    def test_query_pass_extra_list():
        client = TestClient(app)
        resp = client.get(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  6. docs/ru/docs/advanced/json-base64-bytes.md

    Если вы откроете `/docs`, вы увидите, что поле `data` ожидает байты, закодированные в base64:
    
    <div class="screenshot">
    <img src="/img/tutorial/json-base64-bytes/image01.png">
    </div>
    
    Вы можете отправить такой HTTP-запрос:
    
    ```json
    {
        "description": "Some data",
        "data": "aGVsbG8="
    }
    ```
    
    /// tip | Совет
    
    `aGVsbG8=` — это base64-кодирование строки `hello`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  7. docs/en/docs/js/init_kapa_widget.js

      script.setAttribute("data-button-image-height", "20px");
      script.setAttribute("data-button-image-width", "20px");
      script.setAttribute("data-button-text", "Ask AI");
      script.setAttribute("data-button-text-font-size", "0.5rem");
      script.setAttribute("data-button-text-font-family", "Roboto, sans-serif");
      script.setAttribute("data-button-text-color", "#FFFFFF");
      script.setAttribute("data-modal-border-radius", "0.5rem");
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 18 15:26:13 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

        }
    
        @Test
        @DisplayName("Test decode with valid data")
        void testDecodeWithValidData() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[8];
            long expectedIndexNumber = 0x123456789ABCDEF0L;
    
            // Encode test data
            SMBUtil.writeInt8(expectedIndexNumber, buffer, 0);
    
            // Decode
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  9. docs/de/docs/tutorial/server-sent-events.md

    SSE ist ein Standard zum Streamen von Daten vom Server zum Client über HTTP.
    
    Jedes Event ist ein kleiner Textblock mit „Feldern“ wie `data`, `event`, `id` und `retry`, getrennt durch Leerzeilen.
    
    Das sieht so aus:
    
    ```
    data: {"name": "Portal Gun", "price": 999.99}
    
    data: {"name": "Plumbus", "price": 32.99}
    
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:48:21 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  10. docs/pt/docs/tutorial/server-sent-events.md

    SSE é um padrão para transmitir dados do servidor para o cliente via HTTP.
    
    Cada evento é um pequeno bloco de texto com “campos” como `data`, `event`, `id` e `retry`, separados por linhas em branco.
    
    Fica assim:
    
    ```
    data: {"name": "Portal Gun", "price": 999.99}
    
    data: {"name": "Plumbus", "price": 32.99}
    
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:13 GMT 2026
    - 4.9K bytes
    - Click Count (0)
Back to Top