- Sort Score
- Num 10 results
- Language All
Results 1 - 9 of 9 for is_open (0.37 seconds)
-
tests/test_dependency_yield_scope_websockets.py
await websocket.accept() await websocket.send_json({"is_open": session.open}) @app.websocket("/request-scope") async def request_scope(websocket: WebSocket, session: SessionRequestDep) -> Any: await websocket.accept() await websocket.send_json({"is_open": session.open}) @app.websocket("/two-scopes") async def get_stream_session( websocket: WebSocket,
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 6K bytes - Click Count (0) -
tests/test_dependency_yield_scope.py
@app.get("/function-scope") def function_scope(session: SessionFuncDep) -> Any: def iter_data(): yield json.dumps({"is_open": session.open}) return StreamingResponse(iter_data()) @app.get("/request-scope") def request_scope(session: SessionRequestDep) -> Any: def iter_data(): yield json.dumps({"is_open": session.open}) return StreamingResponse(iter_data()) @app.get("/two-scopes")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 6.7K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
} public String getUncPath() { return this.uncPath; } /** * {@inheritDoc} * * @see jcifs.SmbPipeHandle#isOpen() */ @Override public boolean isOpen() { return this.open && this.handle != null && this.handle.isValid(); } /** * * {@inheritDoc} *Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 10.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
/** * Generates an HTML opening or closing tag with appropriate language attribute. * * @param isOpen true to generate opening HTML tag, false for closing tag * @return HTML opening tag with language attribute or closing tag */ public static String html(final boolean isOpen) { if (isOpen) { return "<html lang=\"" + LaRequestUtil.getOptionalRequest().map(req -> {Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 25.4K bytes - Click Count (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Oct 30 13:46:58 GMT 2025 - 7.6K bytes - Click Count (0) -
cmd/os-instrumented.go
// .... add more osMetricLast ) var globalOSMetrics osMetrics func init() { // Inject metrics. ioutilx.OsOpenFile = OpenFile ioutilx.OpenFileDirectIO = OpenFileDirectIO ioutilx.OsOpen = Open } type osMetrics struct { // All fields must be accessed atomically and aligned. operations [osMetricLast]uint64 latency [osMetricLast]lockedLastMinuteLatency } // time an os action.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6.2K bytes - Click Count (0) -
docs/en/docs/management-tasks.md
question in GitHub Discussions has been answered, mark the answer by clicking "Mark as answer". You can filter discussions by <a href="https://github.com/tiangolo/fastapi/discussions/categories/questions?discussions_q=category:Questions+is:open+is:unanswered" class="external-link" target="_blank">`Questions` that are `Unanswered`</a>....
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 14.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
private volatile int tid = -1; private volatile String service = "?????"; private volatile boolean inDfs, inDomainDfs; private volatile long treeNum; // used by SmbFile.isOpen private final AtomicLong usageCount = new AtomicLong(0); private final AtomicBoolean sessionAcquired = new AtomicBoolean(true); private final boolean traceResource;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
void open(final int flags, final int access, final int attrs, final int options) throws SmbException { if (isOpen()) { return; } fid = open0(flags, access, attrs, options); opened = true; tree_num = tree.tree_num; } boolean isOpen() { return opened && isConnected() && tree_num == tree.tree_num; }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (0)