Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 814 for thrice (0.05 seconds)

  1. docs/en/docs/reference/fastapi.md

                - websocket
                - include_router
                - get
                - put
                - post
                - delete
                - options
                - head
                - patch
                - trace
                - on_event
                - middleware
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 701 bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

                assertTrue(result.contains(message));
                assertFalse(result.contains("\n"));
            }
    
            @Test
            @DisplayName("Should include stack trace when root cause exists")
            void testToStringWithRootCause() {
                String message = "Transport error";
                String rootMessage = "Root cause error";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java

            assertEquals("Query parsing failed", cause.getMessage());
        }
    
        @Test
        public void test_stackTrace() {
            // Test that stack trace is properly set
            ParseException parseException = new ParseException("Stack trace test");
            QueryParseException queryParseException = new QueryParseException(parseException);
    
            StackTraceElement[] stackTrace = queryParseException.getStackTrace();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  4. docs_src/body_multiple_params/tutorial001_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Path
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)],
        q: str | None = None,
        item: Item | None = None,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 579 bytes
    - Click Count (0)
  5. android-test/src/androidDeviceTest/java/okhttp/android/test/sni/SniOverrideTest.kt

                true
              } catch (e: Exception) {
                false
              }
            }.build()
    
        val request =
          Request
            .Builder()
            .url("https://sni.cloudflaressl.com/cdn-cgi/trace")
            .header("Host", "cloudflare-dns.com")
            .build()
        client.newCall(request).execute().use { response ->
          assertThat(response.code).isEqualTo(200)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 26 07:38:51 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/eventbus/AsyncEventBus.java

     * the License.
     */
    
    package com.google.common.eventbus;
    
    import java.util.concurrent.Executor;
    
    /**
     * An {@link EventBus} that takes the Executor of your choice and uses it to dispatch events,
     * allowing dispatch to occur asynchronously.
     *
     * @author Cliff Biffle
     * @since 10.0
     */
    public class AsyncEventBus extends EventBus {
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  7. guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

          tmp += UnsignedLongs.remainder(longs[j], divisors[j]);
        }
        return tmp;
      }
    
      @Benchmark
      long parseUnsignedLong(int reps) {
        long tmp = 0;
        // Given that we make three calls per pass, we scale reps down in order
        // to do a comparable amount of work to other measurements.
        int scaledReps = reps / 3 + 1;
        for (int i = 0; i < scaledReps; i++) {
          int j = i & ARRAY_MASK;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  8. docs_src/body_multiple_params/tutorial004_an_py310.py

    from typing import Annotated
    
    from fastapi import Body, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    class User(BaseModel):
        username: str
        full_name: str | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Item,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 643 bytes
    - Click Count (0)
  9. tests/test_operations_signatures.py

    import inspect
    
    from fastapi import APIRouter, FastAPI
    
    method_names = ["get", "put", "post", "delete", "options", "head", "patch", "trace"]
    
    
    def test_signatures_consistency():
        base_sig = inspect.signature(APIRouter.get)
        for method_name in method_names:
            router_method = getattr(APIRouter, method_name)
            app_method = getattr(FastAPI, method_name)
            router_sig = inspect.signature(router_method)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon May 27 12:08:13 GMT 2019
    - 934 bytes
    - Click Count (0)
  10. docs/es/docs/tutorial/server-sent-events.md

    Cada evento es un pequeño bloque de texto con “campos” como `data`, `event`, `id` y `retry`, separados por líneas en blanco.
    
    Se ve así:
    
    ```
    data: {"name": "Portal Gun", "price": 999.99}
    
    data: {"name": "Plumbus", "price": 32.99}
    
    ```
    
    SSE se usa comúnmente para streaming de chat de IA, notificaciones en vivo, logs y observabilidad, y otros casos donde el servidor envía actualizaciones al cliente.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:12:26 GMT 2026
    - 5K bytes
    - Click Count (0)
Back to Top