- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 32 for Awaitable (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
fastapi/datastructures.py
Any next read or write will be done from that position. To be awaitable, compatible with async, this is run in threadpool. """ return await super().seek(offset) async def close(self) -> None: """ Close the file. To be awaitable, compatible with async, this is run in threadpool. """ return await super().close()Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 5.1K bytes - Click Count (0) -
tests/test_dependency_contextvars.py
from collections.abc import Awaitable from contextvars import ContextVar from typing import Any, Callable, Optional from fastapi import Depends, FastAPI, Request, Response from fastapi.testclient import TestClient legacy_request_state_context_var: ContextVar[Optional[dict[str, Any]]] = ContextVar( "legacy_request_state_context_var", default=None ) app = FastAPI() async def set_up_request_state_dependency():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.5K bytes - Click Count (0) -
fastapi/routing.py
# dependencies' AsyncExitStack def request_response( func: Callable[[Request], Union[Awaitable[Response], Response]], ) -> ASGIApp: """ Takes a function or coroutine `func(request) -> response`, and returns an ASGI application. """ f: Callable[[Request], Awaitable[Response]] = ( func if is_async_callable(func) else functools.partial(run_in_threadpool, func) # type:ignore )
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 174.6K bytes - Click Count (0) -
src/cmd/asm/internal/asm/testdata/arm64error.s
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Oct 14 19:00:00 GMT 2025 - 38.4K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java
// Test with suppression enabled and writable stack trace String message1 = "Test with suppression enabled"; CrawlerSystemException exception1 = constructor.newInstance(message1, true, true); assertNotNull(exception1); assertEquals(message1, exception1.getMessage()); assertNull(exception1.getCause()); // Test with suppression disabled and writable stack traceCreated: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Wed Sep 03 14:42:53 GMT 2025 - 20K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/CrawlerSystemException.java
* It also provides a protected constructor that allows to specify whether or not suppression is enabled or stack trace is writable. */ public class CrawlerSystemException extends RuntimeException { private static final long serialVersionUID = 1L; /**Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 3K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/ExtractException.java
* suppression enabled or disabled, and writable stack trace enabled or disabled. * * @param message the detail message. * @param enableSuppression whether or not suppression is enabled or disabled. * @param writableStackTrace whether or not the stack trace should be writable. */Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Mar 15 06:52:00 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exception/FessSystemException.java
* * @param message the detail message describing the exception * @param enableSuppression whether suppression is enabled or disabled * @param writableStackTrace whether the stack trace should be writable */ protected FessSystemException(final String message, final boolean enableSuppression, final boolean writableStackTrace) { super(message, null, enableSuppression, writableStackTrace); }Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractBehavior.java
import org.dbflute.Entity; import org.dbflute.bhv.AbstractBehaviorWritable; import org.dbflute.bhv.readable.EntityRowHandler; import org.dbflute.bhv.writable.DeleteOption; import org.dbflute.bhv.writable.InsertOption; import org.dbflute.bhv.writable.UpdateOption; import org.dbflute.cbean.ConditionBean; import org.dbflute.cbean.coption.CursorSelectOption; import org.dbflute.cbean.result.ListResultBean;
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Nov 27 07:01:25 GMT 2025 - 26.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
// Test setting attributes file.setReadOnly(); assertFalse(file.canWrite(), "Should not be writable when read-only"); file.setReadWrite(); assertTrue(file.canWrite(), "Should be writable after setReadWrite"); } @Test void testFileOverwriteWithDifferentContent() throws Exception { long timestamp = System.currentTimeMillis();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 56K bytes - Click Count (0)