- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for Conn (0.03 sec)
-
tests/connpool_test.go
}, } defer func() { if !reflect.DeepEqual(conn.got, conn.expect) { t.Errorf("expect %#v but got %#v", conn.expect, conn.got) } }() db, err := gorm.Open(mysql.New(mysql.Config{Conn: conn, DisableWithReturning: true})) db.Logger = DB.Logger if err != nil { t.Fatalf("Should open db success, but got %v", err) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 5.5K bytes - Viewed (0) -
cmd/peer-s3-client.go
defer cancel() resp, err := healBucketRPC.Call(ctx, conn, mss) return resp.ValueOrZero(), toStorageErr(err) } // GetBucketInfo returns bucket stat info from a peer func (client *remotePeerS3Client) GetBucketInfo(ctx context.Context, bucket string, opts BucketOptions) (BucketInfo, error) { conn := client.gridConn() if conn == nil { return BucketInfo{}, nil }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 15.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
for (final SmbTransportImpl conn : this.connections) { if (conn.matches(address, port, localAddr, localPort, hostName) && (tc.getConfig().getSessionLimit() == 0 || conn.getNumSessions() < tc.getConfig().getSessionLimit())) { try { if (conn.isFailed() || connectedOnly && conn.isDisconnected()) { continue;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt
path: String, responseCode: AtomicInteger, ): Thread = Thread { val url = mockWebServer.url(path).toUrl() val conn: HttpURLConnection try { conn = url.openConnection() as HttpURLConnection responseCode.set(conn.responseCode) // Force the connection to hit the "server". } catch (ignored: IOException) { } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 3.2K bytes - Viewed (0) -
api/go1.9.txt
pkg database/sql, method (*Conn) BeginTx(context.Context, *TxOptions) (*Tx, error) pkg database/sql, method (*Conn) Close() error pkg database/sql, method (*Conn) ExecContext(context.Context, string, ...interface{}) (Result, error) pkg database/sql, method (*Conn) PingContext(context.Context) error pkg database/sql, method (*Conn) PrepareContext(context.Context, string) (*Stmt, error)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Oct 04 20:20:20 UTC 2021 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
*/ private void mockResponse(HttpURLConnection conn, int code, String message, Map<String, List<String>> headers, InputStream stream) throws IOException { if (conn == null) return; String statusLine = "HTTP/1.1 " + code + " " + message; when(conn.getResponseCode()).thenReturn(code); when(conn.getResponseMessage()).thenReturn(message);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/JarURLConnectionUtil.java
* * @param conn * {@link JarURLConnection}. Must not be {@literal null}. * @return {@link JarFile} */ public static JarFile getJarFile(final JarURLConnection conn) { assertArgumentNotNull("conn", conn); try { return conn.getJarFile(); } catch (final IOException e) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 1.6K bytes - Viewed (0) -
cmd/peer-rest-client.go
func (client *peerRESTClient) ReloadPoolMeta(ctx context.Context) error { conn := client.gridConn() if conn == nil { return nil } _, err := reloadPoolMetaRPC.Call(ctx, conn, grid.NewMSSWith(map[string]string{})) return err } func (client *peerRESTClient) DeleteUploadID(ctx context.Context, uploadID string) error { conn := client.gridConn() if conn == nil { return nil }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 26.1K bytes - Viewed (0) -
tests/prepared_stmt_test.go
// If the conversion is successful, ok will be true and conn will be the converted object; // otherwise, ok will be false and conn will be nil. conn, ok := tx.ConnPool.(*gorm.PreparedStmtDB) // Get the number of statement keys stored in the PreparedStmtDB. lens := len(conn.Stmts.Keys()) // Check if the number of stored statement keys is 0. if lens == 0 {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/smb/HandlerTest.java
URL url = new URL(null, "smb://example-host/share/", new Handler()); // Act URLConnection conn = handler.openConnection(url); // Assert assertNotNull(conn); assertTrue(conn instanceof SmbFile, "Connection should be an instance of SmbFile"); SmbFile file = (SmbFile) conn; assertEquals(url, file.getURL(), "Returned SmbFile should wrap the given URL");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0)