- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 448 for unclosed (0.08 seconds)
-
docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md
operation ->> dep_func: Return from path operation Note over dep_func: Run code after yield Note over dep_func: ✅ Dependency closed dep_func ->> client: Send response to client Note over client: Response sent Note over dep_req: Run code after yield Note over dep_req: ✅ Dependency closed ``` ## 包含 `yield`、`HTTPException`、`except` 和后台任务的依赖项 { #dependencies-with-yield-httpexception-except-and-background-tasks }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 12.1K bytes - Click Count (0) -
cmd/untar.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 6K bytes - Click Count (2) -
internal/http/server.go
} // Close underneath HTTP listener. srv.listenerMutex.Lock() err := srv.listener.Close() srv.listenerMutex.Unlock() if err != nil { return err } // Wait for opened connection to be closed up to Shutdown timeout. return nil } // UseIdleTimeout configure idle connection timeout func (srv *Server) UseIdleTimeout(d time.Duration) *Server { srv.IdleTimeout = d return srv }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 6.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt
for (i in 0..9) { sink.writeByte(0) sink.flush() sleep(100) } fail("Expected connection to be closed") } }, ).build(), ) interruptLater(500) assertFailsWith<IOException> { call.execute() } } @Test
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 18:33:48 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
assertEquals(handle, closeCaptor.getValue().handle); // Verify correct handle is passed } @Test void testClose_AlreadyClosed() throws IOException { // Test case: close() when already closed, should do nothing String server = "testServer"; int access = 123; // Setup for successful constructor doNothing().when(mockHandle).sendrecv(any(MsrpcSamrConnect4.class));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (0) -
tests/transaction_test.go
return nil }); err == nil { t.Errorf("should returns error when commit with closed conn, got error %v", err) } if err := DB.Session(&gorm.Session{PrepareStmt: true}).Transaction(func(tx *gorm.DB) error { return nil }); err == nil { t.Errorf("should returns error when commit with closed conn, got error %v", err) } } func TestTransactionWithHooks(t *testing.T) {Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Sep 08 09:19:22 GMT 2025 - 13.3K bytes - Click Count (0) -
docs/es/docs/tutorial/dependencies/dependencies-with-yield.md
operation ->> dep_func: Return from path operation Note over dep_func: Run code after yield Note over dep_func: ✅ Dependency closed dep_func ->> client: Send response to client Note over client: Response sent Note over dep_req: Run code after yield Note over dep_req: ✅ Dependency closed ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 13.3K bytes - Click Count (0) -
internal/grid/grid_test.go
time.Sleep(time.Millisecond) } cancel() <-serverCanceled local.debugMsg(debugIsOutgoingClosed, st.muxID, func(closed bool) { if !closed { t.Error("expected outgoing closed") } else { t.Log("outgoing was closed") } }) // Drain responses and check if error propagated. err = st.Results(func(b []byte) error { return nil })
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 36.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableMultiset.java
bucketLength++; if (bucketLength > MAX_HASH_BUCKET_LENGTH) { return true; } } } return false; } /** * Closed addressing tends to perform well even with high load factors. Being conservative here * ensures that the table is still likely to be relatively sparse (hence it misses fast) while * saving space. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 6.8K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java
throws IOException; /** * Calculates checksums for specified stream. Upon this method returns, the stream will be depleted (fully read) * but not closed. * * @param stream The stream for which to calculate checksums, must not be {@code null}. * @param algorithms The checksum algorithms to use, must not be {@code null}.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 10 20:52:34 GMT 2024 - 6.4K bytes - Click Count (0)