- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 354 for unclosed (0.06 sec)
-
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) {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 13.3K bytes - Viewed (0) -
tests/prepared_stmt_test.go
return err.Error() == "sql: statement is closed" } // TestPreparedStmtConcurrentClose test calling close and executing SQL concurrently // this test making sure that the gorm would not get a Segmentation Fault, and the only error cause by this is using a closed Stmt func TestPreparedStmtConcurrentClose(t *testing.T) { name := "prepared_stmt_concurrent_close"
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SocketInputStream.java
public synchronized int read(final byte[] b) throws IOException { return read(b, 0, b.length); } /* This method will not return until len bytes have been read * or the stream has been closed. */ @Override public synchronized int read(final byte[] b, int off, int len) throws IOException { if (len == 0) { return 0; } int tot = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponse.java
* Named pipe status indicating the connection is established and operational. */ public static final int STATUS_CONNECTION_OK = 3; /** * Named pipe status indicating the server end of the pipe is closed. */ public static final int STATUS_SERVER_END_CLOSED = 4; private int available; /** * Constructs a TransPeekNamedPipeResponse with the specified configuration. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.3K bytes - Viewed (0) -
okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt
} } } assertThat(call.canceled).isTrue() assertThat(call.responseClosed).isTrue() } } /** A call that keeps track of whether its response body is closed. */ private class ClosableCall : FailingCall() { private val response = Response .Builder() .request(Request("https://example.com/".toHttpUrl())) .protocol(Protocol.HTTP_1_1)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java
* * @param config * The configuration to use * @param fileId * The file ID to close * @param fileName * The name of the file being closed */ public Smb2CloseRequest(final Configuration config, final byte[] fileId, final String fileName) { super(config, SMB2_CLOSE); this.fileId = fileId; this.fileName = fileName; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (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}.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 10 20:52:34 UTC 2024 - 6.4K bytes - Viewed (0) -
cmd/storage-interface.go
IsLocal() bool // Returns hostname if disk is remote. Hostname() string // Returns the entire endpoint. Endpoint() Endpoint // Close the disk, mark it purposefully closed, only implemented for remote disks. Close() error // Returns the unique 'uuid' of this disk. GetDiskID() (string, error) // Set a unique 'uuid' for this disk, only used when // disk is replaced and formatted.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 25 05:41:04 UTC 2025 - 5.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
// Before blocking, confirm that the stream we're writing is still open. It's possible // that the stream has since been closed (such as if this write timed out.) if (!streams.containsKey(streamId)) { throw IOException("stream closed") } wait() // Wait until we receive a WINDOW_UPDATE. } } catch (e: InterruptedException) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 31.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ReaderUtil.java
} catch (final IOException e) { throw new IORuntimeException(e); } } /** * Reads text from the given {@link Reader}. * <p> * The {@link Reader} is not closed by this method. * </p> * * @param reader * the character input stream to read from (must not be {@literal null}) * @return the text read from the reader */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.3K bytes - Viewed (0)