Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 297 for Poulter (0.14 seconds)

  1. src/cmd/asm/main.go

    	"cmd/internal/bio"
    	"cmd/internal/obj"
    	"cmd/internal/objabi"
    	"cmd/internal/telemetry/counter"
    )
    
    func main() {
    	log.SetFlags(0)
    	log.SetPrefix("asm: ")
    	counter.Open()
    
    	buildcfg.Check()
    	GOARCH := buildcfg.GOARCH
    
    	flags.Parse()
    	counter.Inc("asm/invocations")
    	counter.CountFlags("asm/flag:", *flag.CommandLine)
    
    	architecture := arch.Set(GOARCH, *flags.Shared || *flags.Dynlink)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Apr 02 17:07:18 GMT 2026
    - 3K bytes
    - Click Count (0)
  2. docs_src/custom_request_and_route/tutorial003_py310.py

            return custom_route_handler
    
    
    app = FastAPI()
    router = APIRouter(route_class=TimedRoute)
    
    
    @app.get("/")
    async def not_timed():
        return {"message": "Not timed"}
    
    
    @router.get("/timed")
    async def timed():
        return {"message": "It's the time of my life"}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 1K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i = 0; i < SIZE; i++) {
          aa.set(i, (double) COUNTDOWN);
        }
        Counter c1 = new Counter(aa);
        Counter c2 = new Counter(aa);
        Thread t1 = newStartedThread(c1);
        Thread t2 = newStartedThread(c2);
        awaitTermination(t1);
        awaitTermination(t2);
        assertEquals(SIZE * COUNTDOWN, c1.counts + c2.counts);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/bigger-applications.md

    Estamos importando el submódulo `items` directamente, en lugar de importar solo su variable `router`.
    
    Esto se debe a que también tenemos otra variable llamada `router` en el submódulo `users`.
    
    Si hubiéramos importado uno después del otro, como:
    
    ```Python
    from .routers.items import router
    from .routers.users import router
    ```
    
    el `router` de `users` sobrescribiría el de `items` y no podríamos usarlos al mismo tiempo.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 20.2K bytes
    - Click Count (0)
  5. docs/pt/docs/tutorial/bigger-applications.md

    Estamos importando o submódulo `items` diretamente, em vez de importar apenas sua variável `router`.
    
    Isso ocorre porque também temos outra variável chamada `router` no submódulo `users`.
    
    Se tivéssemos importado um após o outro, como:
    
    ```Python
    from .routers.items import router
    from .routers.users import router
    ```
    
    o `router` de `users` sobrescreveria o de `items` e não poderíamos usá-los ao mesmo tempo.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 20.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/RateLimitHelper.java

            final int maxRequests = fessConfig.getRateLimitRequestsPerWindowAsInteger();
    
            AtomicLong counter = requestCounters.getIfPresent(ip);
            if (counter == null) {
                counter = new AtomicLong(0);
                requestCounters.put(ip, counter);
            }
    
            final long count = counter.incrementAndGet();
    
            if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  7. tests/test_generate_unique_id_function.py

        app = FastAPI(generate_unique_id_function=custom_generate_unique_id)
        router = APIRouter()
    
        @app.post("/", response_model=list[Item], responses={404: {"model": list[Message]}})
        def post_root(item1: Item, item2: Item):
            return item1, item2  # pragma: nocover
    
        @router.post(
            "/router", response_model=list[Item], responses={404: {"model": list[Message]}}
        )
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 75K bytes
    - Click Count (0)
  8. tests/test_router_events.py

        sub_router = APIRouter(lifespan=subrouter_lifespan)
    
        router = APIRouter(lifespan=router_lifespan)
        router.include_router(sub_router)
    
        app = FastAPI(lifespan=lifespan)
        app.include_router(router)
    
        @app.get("/")
        def main(request: Request) -> dict[str, str]:
            assert request.state.app
            assert request.state.router
            assert request.state.sub_router
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  9. tests/test_additional_responses_router.py

        message: str
    
    
    app = FastAPI()
    router = APIRouter()
    
    
    @router.get("/a", responses={501: {"description": "Error 1"}})
    async def a():
        return "a"
    
    
    @router.get(
        "/b",
        responses={
            502: {"description": "Error 2"},
            "4XX": {"description": "Error with range, upper"},
        },
    )
    async def b():
        return "b"
    
    
    @router.get(
        "/c",
        responses={
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            }
    
            // Then - Check that counter portion has entropy
            // For SMB3-compliant nonces, the first 8 bytes are a counter (little-endian)
            // so we check that the counter bytes change as expected
            Set<String> uniqueCounters = new HashSet<>();
            for (int i = 0; i < sampleSize; i++) {
                // Extract first 8 bytes as counter
                byte[] counter = new byte[8];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 44.1K bytes
    - Click Count (0)
Back to Top